summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Add back code removed in r11553 and fix logic to avoid IndexError.v2.2_rc10Zac Medico2008-09-261-1/+5
| | | | svn path=/main/trunk/; revision=11556
* Handle possible CacheError inside mirror_cache().Zac Medico2008-09-261-1/+1
| | | | svn path=/main/trunk/; revision=11555
* Direct EOutput.eerror() and ewarn() output to stderr.Zac Medico2008-09-261-2/+2
| | | | svn path=/main/trunk/; revision=11554
* Fix a potential IndexError inside display_preserved_libs().Zac Medico2008-09-261-3/+1
| | | | svn path=/main/trunk/; revision=11553
* Make flat_hash write keys in alphabetical order.Zac Medico2008-09-262-7/+11
| | | | svn path=/main/trunk/; revision=11552
* Bump to EAPI 2.Zac Medico2008-09-261-1/+1
| | | | svn path=/main/trunk/; revision=11550
* Add PROPERTIES to portage.auxdbkeys since it's been approved by the council.Zac Medico2008-09-251-2/+2
| | | | svn path=/main/trunk/; revision=11549
* Fix mirror_cache() so it won't silently swallow a KeyError if _mtime_ orZac Medico2008-09-251-5/+9
| | | | | | _eclass_ happens to be missing from the cache data for some reason. svn path=/main/trunk/; revision=11548
* Ensure that cache modules always return a dict containing the _eclasses_Zac Medico2008-09-255-0/+12
| | | | | | key. svn path=/main/trunk/; revision=11547
* Fix message: s/One or packages/One or more packages/. Thanks to MarijnZac Medico2008-09-251-2/+2
| | | | | | Schouten <hkBst@g.o> for reporting. svn path=/main/trunk/; revision=11546
* change set expression syntax: operators now have a @ suffix (IOW: all ↵Marius Mauch2008-09-251-6/+9
| | | | | | operands must be prefixed with @) to maintain compability with existing set names containing hyphens svn path=/main/trunk/; revision=11544
* implement simple expression logic for apckage sets to generate unions, ↵Marius Mauch2008-09-251-18/+58
| | | | | | intersections and differences of two or more package sets svn path=/main/trunk/; revision=11543
* 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