summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Exclude "env" from use in variable substitution since we want to avoidZac Medico2008-05-191-3/+5
| | | | | | | any interaction with the calling environment that might lead to unexpected results. svn path=/main/trunk/; revision=10364
* 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
* Tweak vardbapi.aux_get() cache logic a bit.Zac Medico2008-05-181-1/+3
| | | | svn path=/main/trunk/; revision=10360
* * To avoid excessive IO on each call to LinkageMap.rebuild(), cacheZac Medico2008-05-181-8/+29
| | | | | | | | | NEEDED.* files via vardbapi.aux_get(). * Make vardbapi.aux_get() preserve newlines in multi-line metadata such as NEEDED.* and CONTENTS. svn path=/main/trunk/; revision=10359
* Add the environment and some more files to the existing make.defaultsZac Medico2008-05-171-34/+55
| | | | | | | | | | | | | | variable substitution support. Variable substitution occurs in the following order: * env.d * env * make.globals * make.defaults * make.conf svn path=/main/trunk/; revision=10351
* 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
* Detect and filter ebuilds that have invalid versions in portdbapi.cp_list().Zac Medico2008-05-161-1/+6
| | | | svn path=/main/trunk/; revision=10346
* add xterm-color and interix to list of valid terminalsMarius Mauch2008-05-131-1/+1
| | | | svn path=/main/trunk/; revision=10329
* Remove 'eselect compiler' referencesMarius Mauch2008-05-131-6/+0
| | | | svn path=/main/trunk/; revision=10328
* make debug mode configurableMarius Mauch2008-05-131-1/+3
| | | | svn path=/main/trunk/; revision=10326
* Add subversion support for repoman (patch by Fabien Groffen, ↵Marius Mauch2008-05-132-8/+21
| | | | | | http://archives.gentoo.org/gentoo-portage-dev/msg_b7080f212c3eb09c943a1ce5a7356f01.xml) svn path=/main/trunk/; revision=10325
* ignore consumers from the current package instance when checking if a ↵Marius Mauch2008-05-131-2/+11
| | | | | | preserved library can be removed svn path=/main/trunk/; revision=10324
* Check vercmp() return value to avoid arbitrary results in case it returns NoneMarius Mauch2008-05-131-2/+4
| | | | svn path=/main/trunk/; revision=10322
* 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
* Simplify the code for bug #221755 now that the substitution map is updatedZac Medico2008-05-111-6/+2
| | | | | | automatically by getconfig(). svn path=/main/trunk/; revision=10297
* Make the variable substitution code for bug #221755 slightly more efficientZac Medico2008-05-112-2/+1
| | | | | | | by allowing getconfig() to directly update the map that's used for substitutions. svn path=/main/trunk/; revision=10296
* Fix the variable subsitution code from bug #221755 so that variableZac Medico2008-05-112-4/+8
| | | | | | | assignments from earlier files don't leak into variable assignments from later files (except through substitution). svn path=/main/trunk/; revision=10295
* Bug #221755 - Enable variable substitution in make.defaults to work accrossZac Medico2008-05-112-3/+14
| | | | | | | | multiple files instead of being confined to a single file. This allows profiles to create incremental-like behavior with non-incremental variables when desired. svn path=/main/trunk/; revision=10293
* 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-092-6/+22
| | | | | | | 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
* Make some confmem behavior modifications in order to try and make itZac Medico2008-05-081-1/+23
| | | | | | | | | | | | | less confusing for people who have forgotten about the --noconfmem option or are completely unaware of it. Thanks to Joe Peterson <lavajoe@gentoo.org> for suggesting these: * Always behave like --noconfmem is enabled for downgrades. * Purge confmem entries when a package is unmerged rather than replaced. svn path=/main/trunk/; revision=10250
* 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
* 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. svn path=/main/trunk/; revision=10237
* Bug #220689 - Fix package selection logic so that it doesn't trigger theZac Medico2008-05-081-10/+0
| | | | | | code path from bug 219369 in some unwanted cases. svn path=/main/trunk/; revision=10233
* Don't use try/finally to close atomic_ofstream since we don't want toZac Medico2008-05-081-18/+16
| | | | | | call close() on this stream if an error occurs. svn path=/main/trunk/; revision=10231
* Fix findInstalledBlockers() to check for blockers in both directions.Zac Medico2008-05-081-16/+40
| | | | svn path=/main/trunk/; revision=10229
* Instead of doing automatic uninstalls in advance, install conflictingZac Medico2008-05-083-43/+222
| | | | | | | | | | | | | | | packages first and then do the uninstall afterwards. This requires special handling for file collisions occur, but it's preferred because it ensures that package files remain installed in a usable state whenever possible. When file collisions occur between conflicting packages, the contents entries for those files are removed from the packages that are scheduled for uninstallation. This prevents uninstallation operations from removing overlapping files that have been claimed by conflicting packages. svn path=/main/trunk/; revision=10225
* Tolerate InvalidDependString exceptions when checking visibility ofZac Medico2008-05-071-1/+2
| | | | | | installed packages. svn path=/main/trunk/; revision=10224
* Make satisfied blockers "darkblue" by default.Zac Medico2008-05-061-1/+1
| | | | svn path=/main/trunk/; revision=10218
* For consistency with the merge list display, show "block" insteadZac Medico2008-05-061-1/+1
| | | | | | of "blocker" in the summary. svn path=/main/trunk/; revision=10216
* Display satisfied blockers in green and show a small "b" instead of aZac Medico2008-05-062-10/+28
| | | | | | big "B" (similar to "f" for satisfied fetch restrictions). svn path=/main/trunk/; revision=10214