summaryrefslogtreecommitdiffstats
path: root/bin
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(). (trunk r10471) svn path=/main/branches/2.1.2/; revision=10473
* 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. (trunk r10470) svn path=/main/branches/2.1.2/; revision=10472
* * Update the fix from bug #220341 to protect USE deps from being neglected.Zac Medico2008-05-281-5/+13
| | | | | | | * Skip redundant Atom construction in select_package(). (trunk r10466:10468) svn path=/main/branches/2.1.2/; revision=10469
* 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. (trunk r10465) svn path=/main/branches/2.1.2/; revision=10466
* Convert doman to use bash's =~ operator instead of calling egrep.Zac Medico2008-05-281-1/+1
| | | | | | (trunk r10460) svn path=/main/branches/2.1.2/; revision=10463
* Fix breakage due to frozenset being immutable. (trunk r10455)Zac Medico2008-05-271-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=10456
* Fix a typo from the previous commit. (trunk r10450)Zac Medico2008-05-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10451
* Use new Package.use and iuse attributes to avoid extra split() calls.Zac Medico2008-05-271-22/+13
| | | | | | (trunk r10448) svn path=/main/branches/2.1.2/; revision=10449
* Fix breakage in the BlockerDB constructor. (trunk r10443)Zac Medico2008-05-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10444
* Merge code for the Package.root_config attribute from trunk r10440,Zac Medico2008-05-271-50/+83
| | | | | | excluding USE deps code. svn path=/main/branches/2.1.2/; revision=10442
* Bug #223685 - Use the finally clause to collect elog messages justZac Medico2008-05-271-3/+1
| | | | | | | before releasing the build dir lock, so they never get missed. (trunk r10438) svn path=/main/branches/2.1.2/; revision=10439
* Add some debug output for arguments and their associated atoms, to help inZac Medico2008-05-271-1/+8
| | | | | | debugging problems similar to bug #223735. (trunk r10436) svn path=/main/branches/2.1.2/; revision=10437
* Don't silently swallow instances of UnpicklingError since they are easilyZac Medico2008-05-261-2/+5
| | | | | | | triggered by storing instances of custom classes in a pickle. (trunk r10432:10434) svn path=/main/branches/2.1.2/; revision=10435
* 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. (trunk r10431) svn path=/main/branches/2.1.2/; revision=10432
* Skip source_all_bashrcs() when $EBUILD_PHASE is not set. (trunk r10429)Zac Medico2008-05-261-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=10430
* * 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. (trunk r10427) svn path=/main/branches/2.1.2/; revision=10428
* * Add support for Package instances in match_from_list().Zac Medico2008-05-251-21/+47
| | | | | | | * Remove the Package.cpv_slot attribute. (trunk r10418:10423) svn path=/main/branches/2.1.2/; revision=10424
* * Fix PackageSet.findAtomForPackage() to take a Package instance asZac Medico2008-05-251-35/+18
| | | | | | | | | an argument. * Simplify PackageSet.findAtomForPackage() by implementing it on top of iterAtomsForPackage(). (trunk r10415) svn path=/main/branches/2.1.2/; revision=10416
* Facilitate creation of Atom instances in a few obvious places:Zac Medico2008-05-251-4/+14
| | | | | | | | * PackageSet._setAtoms() * AtomArg and PackageArg constructors. (trunk r10413) svn path=/main/branches/2.1.2/; revision=10414
* Bug #223417 - Make the vardbapi.cpv_all() use_cache parameter usefulZac Medico2008-05-251-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). (trunk r10390) svn path=/main/branches/2.1.2/; revision=10406
* Merge the Atom class and dbapi._iter_match() from trunk r10387 and r10394.Zac Medico2008-05-252-1/+3
| | | | | | Everything related to USE deps has been omitted for now. svn path=/main/branches/2.1.2/; revision=10403
* When using vecho or eqawarn it comes in handy when isolated-functionsZac Medico2008-05-251-0/+2
| | | | | | have been sourced. (trunk r10381) svn path=/main/branches/2.1.2/; revision=10402
* In unmerge(), flush the vardbapi aux_get() cache to disk before releasingZac Medico2008-05-181-0/+1
| | | | | | the vardb lock. (trunk r10361) svn path=/main/branches/2.1.2/; revision=10363
* Fix th logic from the previous commit. (trunk r10350)Zac Medico2008-05-171-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=10355
* Add back the "install new portage asap" behavior that got lost when thatZac Medico2008-05-171-0/+1
| | | | | | area of code was rewritten. (trunk r10349) svn path=/main/branches/2.1.2/; revision=10354
* Add dev-util/ftjam to the RDEPEND.suspect list as per bug #221537, comment #3.Zac Medico2008-05-171-0/+1
| | | | | | Leaving dev-util/jam in place, in case it revives somehow. (trunk r10344) svn path=/main/branches/2.1.2/; revision=10352
* Skip blocker atoms for the RDEPEND.suspect check. (trunk r10335)Zac Medico2008-05-141-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=10336
* Bug #221537 - Add a new "RDEPEND.suspect" check for packages in RDEPEND thatZac Medico2008-05-141-0/+41
| | | | | | usually only belong in DEPEND. (trunk r10333) svn path=/main/branches/2.1.2/; revision=10334
* Remove 'eselect compiler' references (trunk r10328)Zac Medico2008-05-131-6/+0
| | | | svn path=/main/branches/2.1.2/; revision=10331
* Prefer deb2tgz over ar for unpacking .deb files when installed (patch byZac Medico2008-05-131-1/+14
| | | | | | | Fabian Groffen, http://archives.gentoo.org/gentoo-portage-dev/msg_2f9c8543016f1a96f9122aca0ec35ded.xml) (trunk r10327) svn path=/main/branches/2.1.2/; revision=10330
* 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. (trunk r10310) svn path=/main/branches/2.1.2/; revision=10311
* If the uninstall task did not need to be executed becauseZac Medico2008-05-101-2/+13
| | | | | | | | of an upgrade, display Blocker -> Upgrade edges since the corresponding Blocker -> Uninstall edges will not be shown. (trunk r10286) svn path=/main/branches/2.1.2/; revision=10287
* Always include satisfied blockers as an indicator that blockingZac Medico2008-05-101-6/+8
| | | | | | packages will be temporarily installed simultaneously. (trunk r10281) svn path=/main/branches/2.1.2/; revision=10282
* 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. (trunk r10279) svn path=/main/branches/2.1.2/; revision=10280
* 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. (trunk r10277) svn path=/main/branches/2.1.2/; revision=10278
* 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. (trunk r10275) svn path=/main/branches/2.1.2/; revision=10276
* Bug #221071 - Prevent display_problems() from redundantly displayingZac Medico2008-05-091-1/+9
| | | | | | the exact same merge list a second time. (trunk r10273) svn path=/main/branches/2.1.2/; revision=10274
* 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. (trunk r10271) svn path=/main/branches/2.1.2/; revision=10272
* Simplify code for derived Package attributes. (trunk r10266)Zac Medico2008-05-091-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=10267
* 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. (trunk r10264) svn path=/main/branches/2.1.2/; revision=10265
* If an uninstall task fails inside MergeTask.merge(), use an UninstallFailureZac Medico2008-05-091-5/+24
| | | | | | | exception to handle it instead of allowing unmerge() to call exit(). (trunk r10262) svn path=/main/branches/2.1.2/; revision=10263
* Use set.instersection() instead of a for loop. (trunk r10260)Zac Medico2008-05-091-4/+7
| | | | svn path=/main/branches/2.1.2/; revision=10261
* Allow scheduled uninstalls to be selected the same way as other leaf nodes.Zac Medico2008-05-091-8/+3
| | | | | | (trunk r10258) svn path=/main/branches/2.1.2/; revision=10259
* 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. (trunk r10256) svn path=/main/branches/2.1.2/; revision=10257
* 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. (trunk r10254) svn path=/main/branches/2.1.2/; revision=10255
* 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>. (trunk r10252) svn path=/main/branches/2.1.2/; revision=10253
* Remove stale uninstall tasks from scheduled_uninstalls when necessary.Zac Medico2008-05-081-0/+2
| | | | | | (trunk r10246) svn path=/main/branches/2.1.2/; revision=10247
* Remove unnecessary BlockerDB and BlockerCache _installed_pkgs attributes.Zac Medico2008-05-081-6/+4
| | | | | | (trunk r10241) svn path=/main/branches/2.1.2/; revision=10242
* Don't save "uninstall" tasks in the resume list since they'll be regeneratedZac Medico2008-05-081-4/+2
| | | | | | by dependency calculations upon resume. (trunk r10239) svn path=/main/branches/2.1.2/; revision=10240
* Bug #220341 - USE=multislot can make an installed package appear as ifZac Medico2008-05-081-0/+12
| | | | | | | | | | it doesn't satisfy a slot dependency. Rebuilding the ebuild won't do any good as long as USE=multislot is enabled since the newly built package still won't have the expected slot. Therefore, assume that such SLOT dependencies are already satisfied rather than forcing a rebuild. (trunk r10237) svn path=/main/branches/2.1.2/; revision=10238