summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* move set expansion code into its own functionMarius Mauch2008-09-251-56/+65
| | | | svn path=/main/trunk/; revision=11542
* relocate the post_emerge call so it gets called in more situations.Marius Mauch2008-09-251-18/+30
| | | | svn path=/main/trunk/; revision=11541
* Add a new AgeSet class to select installed packages that have been installed ↵Marius Mauch2008-09-251-0/+31
| | | | | | more/less than n days ago svn path=/main/trunk/; revision=11540
* Fix fetch() mirror:// handling in to comply with section 9.2.8 of PMS.Zac Medico2008-09-241-2/+11
| | | | svn path=/main/trunk/; revision=11537
* Import cPickle as pickle instead of vice versa. Eases 2to3's job becauseZac Medico2008-09-235-32/+32
| | | | | | | cPickle won't exist in py3k and 2to3 does s/cPickle/pickle. Thanks to Ali Polatel <hawking@g.o> for this patch. svn path=/main/trunk/; revision=11536
* Bug #230975 - Rename the portage.selinux module to portage._selinux in orderZac Medico2008-09-222-1/+1
| | | | | | | | to avoid a relative import issue which caused portage.selinux to attempt to import itself instead of the real 'selinux' module. Thanks to Michael Edenfield for this patch. svn path=/main/trunk/; revision=11535
* remove deprecation warnings and compat code for 2.1 changes to rsync and ↵Marius Mauch2008-09-221-52/+2
| | | | | | action argument syntax svn path=/main/trunk/; revision=11534
* don't attempt to unmerge a set that doesn't exist anymoreMarius Mauch2008-09-221-0/+2
| | | | svn path=/main/trunk/; revision=11533
* Add a new --list-sets action, as requested by jmbsvicetto.v2.2_rc9Zac Medico2008-09-212-7/+16
| | | | svn path=/main/trunk/; revision=11531
* Fix erroneous variable references in the multiset 'Redefinition of set'Zac Medico2008-09-211-1/+1
| | | | | | message. svn path=/main/trunk/; revision=11528
* As requested by jmbsvicetto, add support to StaticFileSet for sets withinZac Medico2008-09-201-7/+13
| | | | | | | | | subdirectories. This makes it possible to create a set name foo/bar by placing a file named bar inside a directory named foo. By allowing sets to be organized in subdirectories, it will allow us to avoid overcrowding as the number of sets grows. svn path=/main/trunk/; revision=11527
* More SRC_URI validation.Zac Medico2008-09-202-0/+7
| | | | svn path=/main/trunk/; revision=11526
* Fix some broken logic inside portdbapi.getFetchMap().Zac Medico2008-09-201-13/+5
| | | | svn path=/main/trunk/; revision=11525
* Add test cases for SRC_URI validation.Zac Medico2008-09-202-9/+37
| | | | svn path=/main/trunk/; revision=11524
* Implement SRC_URI arrows for EAPI 2. The portdbapi.getfetchlist() methodZac Medico2008-09-203-67/+160
| | | | | | | | | | is now deprecated and there is a new getFetchMap() method that returns a dict which maps each file name to a set of alternative URIs. The portage.fetch() function uses introspection to detect when such a dict is passed in and handles it appropriately, while maintaining backward compatibility if a list of uris is passed in. svn path=/main/trunk/; revision=11522
* Define __all__ and clean up unused imports found by pyflakes.Zac Medico2008-09-191-8/+8
| | | | svn path=/main/trunk/; revision=11519
* Implement the new EAPI 2 blocker behavior, including !!atom sytax whichZac Medico2008-09-192-21/+61
| | | | | | forbids temporary simultaneous installation of conflicting packages. svn path=/main/trunk/; revision=11517
* Fix broken reference to self.files inside SpawnProcess._start().Zac Medico2008-09-151-1/+1
| | | | svn path=/main/trunk/; revision=11514
* Improve error messages for issues with the SYNC variable inside action_sync().Zac Medico2008-09-151-4/+11
| | | | svn path=/main/trunk/; revision=11513
* Bug #237526 - Use portage.util.grablines() for exception handling whenZac Medico2008-09-131-14/+5
| | | | | | reading the unread file. svn path=/main/trunk/; revision=11510
* Define __all__ and remove unused imports found by pyflakes.Zac Medico2008-09-131-3/+6
| | | | svn path=/main/trunk/; revision=11509
* Move the world file update code out of update_config_files() since it shouldZac Medico2008-09-132-14/+16
| | | | | | not be relative to PORTAGE_CONFIGROOT. Thanks to grobian for reporting. svn path=/main/trunk/; revision=11508
* Adjust StaticFileSet._validate() to allow set tokens, so that sets can containZac Medico2008-09-031-1/+1
| | | | | | other sets. svn path=/main/trunk/; revision=11486
* Adjust EMakeParallelDisabled.re to require at least one space after emake.Zac Medico2008-09-011-1/+1
| | | | svn path=/main/trunk/; revision=11482
* Check for calls to the deprecated bindnow-flags function. Thanks to DiegoZac Medico2008-08-312-1/+8
| | | | | | "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11481
* Add a warning for emake -j1 calls which disable parallelization. Thanks toZac Medico2008-08-312-1/+9
| | | | | | Diego "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11480
* Add support for FEATURES="protect-owned" which is identical to theZac Medico2008-08-301-4/+10
| | | | | | | | | | | | | | | | | | collision-protect feature except that files may be overwritten if they are not explicitly listed in the contents of a currently installed package. This is particularly useful on systems that have lots of orphan files that have been left behind by older versions of portage that did not support the unmerge-orphans feature. The additional tolerance makes this feature more suitable than collision-protect for being enabled by default. In order to ensure smooth operation of protect-owned in all cases, we also have to set COLLISION_IGNORE="/lib/modules" since files inside this directory are never unmerge. By enabling protect-owned by default, users are protected from problems that may occur due interactions with file collisions and the unmerge-orphans feature which is also enabled by default. svn path=/main/trunk/; revision=11479
* In dep_zapdeps(), add a new choice category for choices that have packagesZac Medico2008-08-301-2/+4
| | | | | | | | | | | | | | | | | that aren't yet installed but have been added to the graph. This category is given lower priority that the category for packages that are already installed. This helps dep_zapdeps() avoid making choices in some cases that would result in an unsolvable circular dependency. Thanks to Diego "Flameeyes" Pettenò for reporting a circular dependency issue involving that java overlay which is solved by this patch. The particular issue was triggered when attempting to install dev-java/icedtea6 for the first time. A circular dependency between dev-java/eclipse-ecj-3.2.2-r1 and dev-java/icedtea6-1.2 occured since icedtea6 was chosen to satisfy the jdk dependency of eclipse-ecj, even though sun-jdk-1.6.0.07 was already installed and capable of satisfying the dependency. This patch solves the issue by causing sun-jdk to be properly selected to satisfy the jdk dependency of eclipse-ecj. svn path=/main/trunk/; revision=11478
* When reloading the emerge config due to global updates in action_sync(),Zac Medico2008-08-271-0/+1
| | | | | | | | correctly update the local root_config reference. This should fix a KeyError: 'porttree' exception that's been reported to be triggered after --sync. svn path=/main/trunk/; revision=11475
* Revert recent changes to _ObjectKey.__eq__() since it's probably a bug ifZac Medico2008-08-251-5/+0
| | | | | | the wrong type is compared for equality anyway. svn path=/main/trunk/; revision=11474
* Fix _ObjectKey.__eq__() to account for potential hash collisions that wouldZac Medico2008-08-241-5/+6
| | | | | | break dict behavior. Thanks to Lucian Poston for spotting this. svn path=/main/trunk/; revision=11473
* Prevent [None] in repo display. Thanks to grobian.Zac Medico2008-08-241-1/+1
| | | | svn path=/main/trunk/; revision=11470
* * Fix broken _ObjectKey.__eq__() logic from previous commit.Zac Medico2008-08-241-3/+7
| | | | | | * Define _ObjectKey.__slots__ to save memory. svn path=/main/trunk/; revision=11467
* Avoid possible AttributeError raised from _ObjectKey.__eq__().Zac Medico2008-08-241-0/+2
| | | | svn path=/main/trunk/; revision=11466
* More LinkageMap enhancments from Lucian Poston:Zac Medico2008-08-231-58/+93
| | | | | | | * Added _ObjectKey helper class to LinkageMap. (commit eac5528887656abec65fc3a825506187397482e4) * Minor change to docstrings. (commit adde422145d81f25b4024eac1e78b80e1b4a4531) svn path=/main/trunk/; revision=11455
* Add a new src_prepare phase function which is called in-between src_unpackZac Medico2008-08-233-8/+19
| | | | | | | and src_configure (and bump EAPI to 2_pre3). Thanks to Ciaran McCreesh for the suggestion. svn path=/main/trunk/; revision=11454
* Fix isprotected() call in dblink._collision_protect() to properly accountZac Medico2008-08-221-1/+2
| | | | | | for $ROOT. svn path=/main/trunk/; revision=11452
* Use shlex.split() to split CONFIG_PROTECT and CONFIG_PROTECT_MASK.Zac Medico2008-08-221-2/+2
| | | | svn path=/main/trunk/; revision=11450
* For consistency, show [0] in the repo display instead of suppressing it. NowZac Medico2008-08-221-16/+38
| | | | | | | | the repo display and [0] will only be suppressed when [0] is all that would show for every package. Thanks to Joe Peterson <lavajoe@g.o> for the suggestion. svn path=/main/trunk/; revision=11449
* Update comment, from Lucian Poston's git repo.Zac Medico2008-08-221-1/+4
| | | | svn path=/main/trunk/; revision=11448
* Optimize LinkageMap to use tuples of device and inode numbers from statZac Medico2008-08-221-166/+264
| | | | | | | | | | | | | | calls, instead of paths from realpath, as unique keys for identification of files. This is the same approach used by dblink.isowner() for cases in which path comparison fails due to symlinks. Thanks to Lucian Poston <lucianposton@gmail.com> for submitting this patch (along with the missing-rebuild package set which I haven't merged yet). These patches are hosted in the following location: http://repo.or.cz/w/revdep-rebuild-reimplementation.git?a=tree;h=refs/heads/rc3;hb=refs/heads/rc3 svn path=/main/trunk/; revision=11447
* Fix typo in "directory" spelling. Thanks to Ofer Wald in bug #219957.Zac Medico2008-08-211-1/+1
| | | | svn path=/main/trunk/; revision=11446
* Fix spelling of overriding for bug #235250.Zac Medico2008-08-201-1/+1
| | | | svn path=/main/trunk/; revision=11443
* Fix dep_wordreduce() so that it doesn't cancel out blocker atoms that happenZac Medico2008-08-201-1/+3
| | | | | | to be matched by package.provided. svn path=/main/trunk/; revision=11442
* Make dblink call back to the scheduler for "clean" and "cleanrm" phases, toZac Medico2008-08-202-7/+18
| | | | | | handle output redirection. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11441
* Make sure EBUILD_PHASE is properly unset when calling misc-functions.sh.Zac Medico2008-08-202-0/+3
| | | | svn path=/main/trunk/; revision=11440
* When in background mode, redirect "adjusting permissions" messages forZac Medico2008-08-192-26/+67
| | | | | | | features directories like CCACHE_DIR and DISTCC_DIR. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11439
* The following error is known to occur with Linux kernel versionsZac Medico2008-08-181-1/+19
| | | | | | | | | | | | | | | less than 2.6.24: select.error: (4, 'Interrupted system call') This error has been observed after a SIGSTOP, followed by SIGCONT. Treat it similar to EAGAIN if timeout is None, otherwise just return without any events. Thanks to Jeremy Olexa <darkside@g.o> for reporting and testing this patch. svn path=/main/trunk/; revision=11436
* * Truncate status display output when necessary to avoid line overflow andZac Medico2008-08-181-3/+24
| | | | | | | | unwanted terminal scroll. * When the load average goes above 10, save space by showing fewer decimal places in the output. svn path=/main/trunk/; revision=11434
* Don't assume that the "world" set is an instance of WorldSet, allowing theZac Medico2008-08-181-13/+33
| | | | | | user to substitute some other set type if desired. svn path=/main/trunk/; revision=11433