summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* Filter out installed keyword masked packages when populatingZac Medico2008-05-291-1/+3
| | | | | | | RootConfig.visible_pkgs since otherwise such packages can trigger undesireable results inside depgraph._iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10471
* Fix the code from bug #220341 so that it matches the atom against theZac Medico2008-05-291-2/+12
| | | | | | installed package, like it's supposed to. svn path=/main/trunk/; revision=10470
* Skip redundant Atom construction in select_package().Zac Medico2008-05-281-1/+2
| | | | svn path=/main/trunk/; revision=10468
* Update the fix from bug #220341 to protect USE deps from being neglected.Zac Medico2008-05-281-4/+13
| | | | svn path=/main/trunk/; revision=10467
* Bug #223447 - Adjust the "installed packages are masked" display to recognizeZac Medico2008-05-281-9/+44
| | | | | | | | | | packages that are masked by keywords and are eligible for uninstallation by depclean. This is a workaround for the fact that depclean may fail to recognize that the package is eligible for uninstall due to differences in visibility filtering which can lead to differences in || dep evaluation. TODO: Share visibility code to fix this inconsistency. svn path=/main/trunk/; revision=10465
* Fix breakage due to frozenset being immutable.Zac Medico2008-05-271-2/+2
| | | | svn path=/main/trunk/; revision=10455
* Fix a typo from the previous commit.Zac Medico2008-05-271-1/+1
| | | | svn path=/main/trunk/; revision=10450
* Use new Package.use and iuse attributes to avoid extra split() calls.Zac Medico2008-05-271-26/+16
| | | | svn path=/main/trunk/; revision=10448
* Fix breakage in the BlockerDB constructor.Zac Medico2008-05-271-1/+1
| | | | svn path=/main/trunk/; revision=10443
* Fix USE dep matching support in match_from_list() so that it checksZac Medico2008-05-271-42/+89
| | | | | | | | | to make sure the package supports all specified IUSE. This involves updating all Package, FakeVartree, and BlockerDB constructor arguments to implement a Package.root_config attribute that's used to access implicit IUSE. svn path=/main/trunk/; revision=10440
* Bug #223685 - Use the finally clause to collect elog messages justZac Medico2008-05-271-3/+2
| | | | | | before releasing the build dir lock, so they never get missed. svn path=/main/trunk/; revision=10438
* Add some debug output for arguments and their associated atoms, to help inZac Medico2008-05-271-1/+8
| | | | | | debugging problems similar to bug #223735. svn path=/main/trunk/; revision=10436
* Don't silently swallow instances of UnpicklingError since they are easilyZac Medico2008-05-261-2/+6
| | | | | | triggered by storing instances of custom classes in a pickle. svn path=/main/trunk/; revision=10433
* Avoid triggering "cPickle.UnpicklingError: Global and instance picklesZac Medico2008-05-261-3/+13
| | | | | | | are not supported." errors that are triggered when the pickle contains custom classes. svn path=/main/trunk/; revision=10431
* * Enable config.setcpv() to use a Package instance in place of a cpv.Zac Medico2008-05-261-24/+26
| | | | | | | * Make depgraph._select_package() pass Package instances into setcpv() calls. * Enable the Package constructor to use an iterable for metadata items. svn path=/main/trunk/; revision=10427
* Fix breakage in Package constructor attribute initialization.Zac Medico2008-05-251-1/+3
| | | | svn path=/main/trunk/; revision=10423
* Remove unused code.Zac Medico2008-05-251-5/+0
| | | | svn path=/main/trunk/; revision=10422
* Use the metadata wrapper to initialize Package slot and use attributes.Zac Medico2008-05-251-5/+3
| | | | svn path=/main/trunk/; revision=10421
* Remove the Package.cpv_slot attribute.Zac Medico2008-05-251-9/+2
| | | | svn path=/main/trunk/; revision=10420
* * Add support for Package instances and USE deps in match_from_list().Zac Medico2008-05-251-16/+54
| | | | | | * Add USE dep matching support to depgraph._iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10419
* * Fix PackageSet.findAtomForPackage() to take a Package instance asZac Medico2008-05-251-14/+13
| | | | | | | | an argument. * Simplify PackageSet.findAtomForPackage() by implementing it on top of iterAtomsForPackage(). svn path=/main/trunk/; revision=10415
* Facilitate creation of Atom instances in a few obvious places:Zac Medico2008-05-251-1/+3
| | | | | | | * PackageSet._setAtoms() * AtomArg and PackageArg constructors. svn path=/main/trunk/; revision=10413
* Bug #223417 - Make the vardbapi.cpv_all() use_cache parameter usefulZac Medico2008-05-241-1/+1
| | | | | | | | for forcing direct os.listdir() calls. This is more of an issue now that these listdir() calls are frequently triggered when merging packages (due to things like blocker and preserve-libs handling). svn path=/main/trunk/; revision=10390
* Bug #2272 - Extend dependency atom sytax to specify enabled or disabledZac Medico2008-05-231-8/+67
| | | | | | | | states of USE flags. Matching with the new syntax is currently only supported in the dbapi classes and dependency resolver (use matching does not work yet in config files such as package.mask). svn path=/main/trunk/; revision=10387
* In unmerge(), flush the vardbapi aux_get() cache to disk before releasingZac Medico2008-05-181-0/+1
| | | | | | the vardb lock. svn path=/main/trunk/; revision=10361
* Fix th logic from the previous commit.Zac Medico2008-05-171-1/+4
| | | | svn path=/main/trunk/; revision=10350
* Add back the "install new portage asap" behavior that got lost when thatZac Medico2008-05-171-0/+1
| | | | | | area of code was rewritten. svn path=/main/trunk/; revision=10349
* Remove 'eselect compiler' referencesMarius Mauch2008-05-131-6/+0
| | | | svn path=/main/trunk/; revision=10328
* Define the world_candidates variable earlier to make sure it's in scope.Zac Medico2008-05-121-0/+1
| | | | svn path=/main/trunk/; revision=10313
* Filter sets that are not "world candidates" from the favorites list atZac Medico2008-05-121-4/+14
| | | | | | | the last moment since the favorites list needs to be complete for depgraph.loadResumeCommand() to operate correctly. svn path=/main/trunk/; revision=10312
* In the warning about eclasses in overlay overriding eclasses from PORTDIR,Zac Medico2008-05-121-1/+2
| | | | | | also advise the user to add FEATURES="metadata-transfer" to make.conf. svn path=/main/trunk/; revision=10310
* don't add package sets to 'world' that have world-candidate=FalseMarius Mauch2008-05-121-1/+2
| | | | svn path=/main/trunk/; revision=10303
* If the uninstall task did not need to be executed becauseZac Medico2008-05-101-0/+14
| | | | | | | of an upgrade, display Blocker -> Upgrade edges since the corresponding Blocker -> Uninstall edges will not be shown. svn path=/main/trunk/; revision=10286
* Always include satisfied blockers as an indicator that blockingZac Medico2008-05-101-6/+8
| | | | | | packages will be temporarily installed simultaneously. svn path=/main/trunk/; revision=10281
* When selecting leaf nodes, if there is a mix of merge and uninstallZac Medico2008-05-101-2/+12
| | | | | | | | nodes, save the uninstall nodes from later since sometimes a merge node will render an install node unnecessary, and we want to avoid doing a separate uninstall task in that case. svn path=/main/trunk/; revision=10279
* Fix another KeyError, reported in Bug #221107, comment #4. There's no needZac Medico2008-05-101-2/+0
| | | | | | | to remove uninstall tasks from scheduled_uninstalls, so just keep them in there. svn path=/main/trunk/; revision=10277
* Bug #221053 - Save the resume list before verifying the ebuild ManifestsZac Medico2008-05-091-4/+7
| | | | | | | since it might be possible for the user to use --resume --skipfirst get past a non-essential package with a broken digest. svn path=/main/trunk/; revision=10275
* Bug #221071 - Prevent display_problems() from redundantly displayingZac Medico2008-05-091-1/+9
| | | | | | the exact same merge list a second time. svn path=/main/trunk/; revision=10273
* Bug #221107 - Fix depgraph._serialize_tasks() so that it doesn'tZac Medico2008-05-091-0/+6
| | | | | | | | try to schedule an uninstall task that's already been scheduled but hasn't been executed yet due to dependence on installation of blocking packages. svn path=/main/trunk/; revision=10271
* Simplify code for derived Package attributes.Zac Medico2008-05-091-4/+2
| | | | svn path=/main/trunk/; revision=10266
* For the "blockers" parameter that's passed into the dblink constructorZac Medico2008-05-091-5/+17
| | | | | | | now, make it a callable since it really shouldn't be called until the vdb lock has been acquired. svn path=/main/trunk/; revision=10264
* If an uninstall task fails inside MergeTask.merge(), use an UninstallFailureZac Medico2008-05-091-3/+22
| | | | | | exception to handle it instead of allowing unmerge() to call exit(). svn path=/main/trunk/; revision=10262
* Use set.instersection() instead of a for loop.Zac Medico2008-05-091-4/+7
| | | | svn path=/main/trunk/; revision=10260
* Allow scheduled uninstalls to be selected the same way as other leaf nodes.Zac Medico2008-05-091-8/+3
| | | | svn path=/main/trunk/; revision=10258
* Make the fix for bug #220341 better by checking all selected packages forZac Medico2008-05-091-3/+5
| | | | | | matching cpv rather than just the last one. svn path=/main/trunk/; revision=10256
* Optimize BlockerDB.findInstalledBlockers() so that it doesn't unnecessarilyZac Medico2008-05-091-7/+8
| | | | | | try to match packages against an empty set of blocker atoms. svn path=/main/trunk/; revision=10254
* Bug #220987 - Fix UnboundLocalError for 'skip' that only occurs whenZac Medico2008-05-081-0/+1
| | | | | | using alternate ROOT. Thanks to Ryan Tandy <tarpman@gmail.com>. svn path=/main/trunk/; revision=10252
* Remove stale uninstall tasks from scheduled_uninstalls when necessary.Zac Medico2008-05-081-0/+2
| | | | svn path=/main/trunk/; revision=10246
* Remove unnecessary BlockerDB and BlockerCache _installed_pkgs attributes.Zac Medico2008-05-081-6/+4
| | | | svn path=/main/trunk/; revision=10241
* Don't save "uninstall" tasks in the resume list since they'll be regeneratedZac Medico2008-05-081-4/+2
| | | | | | by dependency calculations upon resume. svn path=/main/trunk/; revision=10239