Zac Medico [Wed, 14 May 2008 18:05:19 +0000 (18:05 -0000)]
Skip blocker atoms for the RDEPEND.suspect check. (trunk r10335)
svn path=/main/branches/2.1.2/; revision=10336
Zac Medico [Wed, 14 May 2008 17:58:33 +0000 (17:58 -0000)]
Bug #221537 - Add a new "RDEPEND.suspect" check for packages in RDEPEND that
usually only belong in DEPEND. (trunk r10333)
svn path=/main/branches/2.1.2/; revision=10334
Zac Medico [Tue, 13 May 2008 23:11:50 +0000 (23:11 -0000)]
add xterm-color and interix to list of valid terminals (trunk r10329)
svn path=/main/branches/2.1.2/; revision=10332
Zac Medico [Tue, 13 May 2008 23:10:21 +0000 (23:10 -0000)]
Remove 'eselect compiler' references (trunk r10328)
svn path=/main/branches/2.1.2/; revision=10331
Zac Medico [Tue, 13 May 2008 23:09:03 +0000 (23:09 -0000)]
Prefer deb2tgz over ar for unpacking .deb files when installed (patch by
Fabian Groffen, http://archives.gentoo.org/gentoo-portage-dev/msg_2f9c8543016f1a96f9122aca0ec35ded.xml)
(trunk r10327)
svn path=/main/branches/2.1.2/; revision=10330
Zac Medico [Tue, 13 May 2008 20:05:14 +0000 (20:05 -0000)]
Check vercmp() return value to avoid arbitrary results in case it returns None
(trunk r10322)
svn path=/main/branches/2.1.2/; revision=10323
Zac Medico [Tue, 13 May 2008 16:49:56 +0000 (16:49 -0000)]
fix man markup for PORTAGE_FETCH_RESUME_MIN_SIZE (trunk r10320)
svn path=/main/branches/2.1.2/; revision=10321
Zac Medico [Tue, 13 May 2008 06:17:31 +0000 (06:17 -0000)]
capitalize Portage (trunk r10318)
svn path=/main/branches/2.1.2/; revision=10319
Zac Medico [Tue, 13 May 2008 06:12:55 +0000 (06:12 -0000)]
Describe how we limit the probability that temporary simultaneous
installation of blocking packages will cause some sort of problem.
(trunk r10316)
svn path=/main/branches/2.1.2/; revision=10317
Zac Medico [Tue, 13 May 2008 04:41:26 +0000 (04:41 -0000)]
Bug #220533 - Document FEATURES="skiprocheck". (trunk r10314)
svn path=/main/branches/2.1.2/; revision=10315
Zac Medico [Mon, 12 May 2008 22:22:47 +0000 (22:22 -0000)]
In the warning about eclasses in overlay overriding eclasses from PORTDIR,
also advise the user to add FEATURES="metadata-transfer" to make.conf.
(trunk r10310)
svn path=/main/branches/2.1.2/; revision=10311
Zac Medico [Mon, 12 May 2008 00:01:26 +0000 (00:01 -0000)]
Fix the variable subsitution code from bug #221755 so that variable
assignments from earlier files don't leak into variable assignments
from later files (except through substitution). (trunk r10294:10297)
svn path=/main/branches/2.1.2/; revision=10298
Zac Medico [Sun, 11 May 2008 23:24:08 +0000 (23:24 -0000)]
Bug #221755 - Enable variable substitution in make.defaults to work accross
multiple files instead of being confined to a single file. This allows
profiles to create incremental-like behavior with non-incremental variables
when desired. (trunk r10293)
svn path=/main/branches/2.1.2/; revision=10294
Zac Medico [Sun, 11 May 2008 19:47:10 +0000 (19:47 -0000)]
Merge from trunk:
------------------------------------------------------------------------
r10291 | zmedico | 2008-05-11 12:37:31 -0700 (Sun, 11 May 2008) | 2 lines
Add back the warning for DISTDIR about storing stuff inside PORTDIR.
------------------------------------------------------------------------
r10290 | zmedico | 2008-05-11 12:35:26 -0700 (Sun, 11 May 2008) | 2 lines
Sync make.conf.example with make.conf.5 for bug #220111.
------------------------------------------------------------------------
r10289 | zmedico | 2008-05-11 12:21:28 -0700 (Sun, 11 May 2008) | 3 lines
Bug #220111 - Update the DISTDIR docs to clarify that it's safe to remove
any and all files from this location after packages are built.
------------------------------------------------------------------------
r10288 | zmedico | 2008-05-11 11:25:35 -0700 (Sun, 11 May 2008) | 2 lines
Make the summary more accurate.
------------------------------------------------------------------------
svn path=/main/branches/2.1.2/; revision=10292
Zac Medico [Sat, 10 May 2008 18:17:11 +0000 (18:17 -0000)]
If the uninstall task did not need to be executed because
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
Zac Medico [Sat, 10 May 2008 17:10:02 +0000 (17:10 -0000)]
eachother -> each other (trunk r10284)
svn path=/main/branches/2.1.2/; revision=10285
Zac Medico [Sat, 10 May 2008 08:48:15 +0000 (08:48 -0000)]
Always include satisfied blockers as an indicator that blocking
packages will be temporarily installed simultaneously. (trunk r10281)
svn path=/main/branches/2.1.2/; revision=10282
Zac Medico [Sat, 10 May 2008 08:35:41 +0000 (08:35 -0000)]
When selecting leaf nodes, if there is a mix of merge and uninstall
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
Zac Medico [Sat, 10 May 2008 08:07:58 +0000 (08:07 -0000)]
Fix another KeyError, reported in Bug #221107, comment #4. There's no need
to remove uninstall tasks from scheduled_uninstalls, so just keep them
in there. (trunk r10277)
svn path=/main/branches/2.1.2/; revision=10278
Zac Medico [Fri, 9 May 2008 19:13:08 +0000 (19:13 -0000)]
Bug #221053 - Save the resume list before verifying the ebuild Manifests
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
Zac Medico [Fri, 9 May 2008 19:04:38 +0000 (19:04 -0000)]
Bug #221071 - Prevent display_problems() from redundantly displaying
the exact same merge list a second time. (trunk r10273)
svn path=/main/branches/2.1.2/; revision=10274
Zac Medico [Fri, 9 May 2008 18:37:04 +0000 (18:37 -0000)]
Bug #221107 - Fix depgraph._serialize_tasks() so that it doesn't
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
Zac Medico [Fri, 9 May 2008 15:51:30 +0000 (15:51 -0000)]
Describe how file collisions between blocking packages are resolved when
they are temporarily installed simultaneously. (trunk r10269)
svn path=/main/branches/2.1.2/; revision=10270
Zac Medico [Fri, 9 May 2008 08:46:04 +0000 (08:46 -0000)]
Simplify code for derived Package attributes. (trunk r10266)
svn path=/main/branches/2.1.2/; revision=10267
Zac Medico [Fri, 9 May 2008 04:19:22 +0000 (04:19 -0000)]
For the "blockers" parameter that's passed into the dblink constructor
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
Zac Medico [Fri, 9 May 2008 03:42:02 +0000 (03:42 -0000)]
If an uninstall task fails inside MergeTask.merge(), use an UninstallFailure
exception to handle it instead of allowing unmerge() to call exit().
(trunk r10262)
svn path=/main/branches/2.1.2/; revision=10263
Zac Medico [Fri, 9 May 2008 03:00:41 +0000 (03:00 -0000)]
Use set.instersection() instead of a for loop. (trunk r10260)
svn path=/main/branches/2.1.2/; revision=10261
Zac Medico [Fri, 9 May 2008 02:30:04 +0000 (02:30 -0000)]
Allow scheduled uninstalls to be selected the same way as other leaf nodes.
(trunk r10258)
svn path=/main/branches/2.1.2/; revision=10259
Zac Medico [Fri, 9 May 2008 02:15:10 +0000 (02:15 -0000)]
Make the fix for bug #220341 better by checking all selected packages for
matching cpv rather than just the last one. (trunk r10256)
svn path=/main/branches/2.1.2/; revision=10257
Zac Medico [Fri, 9 May 2008 01:49:28 +0000 (01:49 -0000)]
Optimize BlockerDB.findInstalledBlockers() so that it doesn't unnecessarily
try to match packages against an empty set of blocker atoms. (trunk r10254)
svn path=/main/branches/2.1.2/; revision=10255
Zac Medico [Thu, 8 May 2008 21:52:00 +0000 (21:52 -0000)]
Bug #220987 - Fix UnboundLocalError for 'skip' that only occurs when
using alternate ROOT. Thanks to Ryan Tandy <tarpman@gmail.com>.
(trunk r10252)
svn path=/main/branches/2.1.2/; revision=10253
Zac Medico [Thu, 8 May 2008 21:19:35 +0000 (21:19 -0000)]
Make some confmem behavior modifications in order to try and make it
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.
(trunk r10250)
svn path=/main/branches/2.1.2/; revision=10251
Zac Medico [Thu, 8 May 2008 19:47:28 +0000 (19:47 -0000)]
Remove stale uninstall tasks from scheduled_uninstalls when necessary.
(trunk r10246)
svn path=/main/branches/2.1.2/; revision=10247
Zac Medico [Thu, 8 May 2008 19:04:29 +0000 (19:04 -0000)]
Remove unnecessary BlockerDB and BlockerCache _installed_pkgs attributes.
(trunk r10241)
svn path=/main/branches/2.1.2/; revision=10242
Zac Medico [Thu, 8 May 2008 18:37:21 +0000 (18:37 -0000)]
Don't save "uninstall" tasks in the resume list since they'll be regenerated
by dependency calculations upon resume. (trunk r10239)
svn path=/main/branches/2.1.2/; revision=10240
Zac Medico [Thu, 8 May 2008 17:40:20 +0000 (17:40 -0000)]
Bug #220341 - USE=multislot can make an installed package appear as if
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
Zac Medico [Thu, 8 May 2008 17:08:48 +0000 (17:08 -0000)]
Bug #220775 - Source isolated-functions.sh before trying to call vecho.
(trunk r10235)
svn path=/main/branches/2.1.2/; revision=10236
Zac Medico [Thu, 8 May 2008 16:54:34 +0000 (16:54 -0000)]
Bug #220689 - Fix package selection logic so that it doesn't trigger the
code path from bug 219369 in some unwanted cases. (trunk r10233)
svn path=/main/branches/2.1.2/; revision=10234
Zac Medico [Thu, 8 May 2008 10:34:52 +0000 (10:34 -0000)]
Don't use try/finally to close atomic_ofstream since we don't want to
call close() on this stream if an error occurs. (trunk r10231)
svn path=/main/branches/2.1.2/; revision=10232
Zac Medico [Thu, 8 May 2008 09:29:13 +0000 (09:29 -0000)]
Fix findInstalledBlockers() to check for blockers in both directions.
(trunk r10229)
svn path=/main/branches/2.1.2/; revision=10230
Zac Medico [Thu, 8 May 2008 08:41:31 +0000 (08:41 -0000)]
Fix namespace breakage.
svn path=/main/branches/2.1.2/; revision=10228
Zac Medico [Thu, 8 May 2008 08:18:10 +0000 (08:18 -0000)]
Instead of doing automatic uninstalls in advance, install conflicting
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.
(trunk r10225)
svn path=/main/branches/2.1.2/; revision=10227
Zac Medico [Thu, 8 May 2008 07:55:30 +0000 (07:55 -0000)]
Tolerate InvalidDependString exceptions when checking visibility of
installed packages. (trunk r102240
svn path=/main/branches/2.1.2/; revision=10226
Zac Medico [Wed, 7 May 2008 17:08:23 +0000 (17:08 -0000)]
Fix spelling of "SATISFIED". Thanks to Arfrever. (trunk r10222)
svn path=/main/branches/2.1.2/; revision=10223
Zac Medico [Tue, 6 May 2008 20:26:47 +0000 (20:26 -0000)]
In install_mask(), discard stderr messages from the 'find' command
since some tokens from INSTALL_MASK can trigger lots of warnings
and errors that are irrelevant for our purposes. (trunk r10220)
svn path=/main/branches/2.1.2/; revision=10221
Zac Medico [Tue, 6 May 2008 01:42:09 +0000 (01:42 -0000)]
Make satisfied blockers "darkblue" by default. (trunk r10218)
svn path=/main/branches/2.1.2/; revision=10219
Zac Medico [Tue, 6 May 2008 00:36:24 +0000 (00:36 -0000)]
For consistency with the merge list display, show "block" instead
of "blocker" in the summary. (trunk r10216)
svn path=/main/branches/2.1.2/; revision=10217
Zac Medico [Tue, 6 May 2008 00:16:31 +0000 (00:16 -0000)]
Display satisfied blockers in green and show a small "b" instead of a
big "B" (similar to "f" for satisfied fetch restrictions).
(trunk r10214)
svn path=/main/branches/2.1.2/; revision=10215
Zac Medico [Mon, 5 May 2008 21:50:58 +0000 (21:50 -0000)]
Use find -path -or -name to match basenames of files in INSTALL_MASK
as suggested by solar in bug #219286, comment #8. (trunk r10212)
svn path=/main/branches/2.1.2/; revision=10213
Zac Medico [Mon, 5 May 2008 21:07:53 +0000 (21:07 -0000)]
Cache results for Task.__hash__() calls. (trunk r10210)
svn path=/main/branches/2.1.2/; revision=10211
Zac Medico [Mon, 5 May 2008 19:30:23 +0000 (19:30 -0000)]
Use vardbapi._excluded_dirs to filter results inside cp_list(). (trunk r10208)
svn path=/main/branches/2.1.2/; revision=10209
Zac Medico [Mon, 5 May 2008 19:22:59 +0000 (19:22 -0000)]
Add -MERGING-.* to vardbapi._excluded_dirs. (trunk r10206)
svn path=/main/branches/2.1.2/; revision=10207
Zac Medico [Mon, 5 May 2008 18:42:13 +0000 (18:42 -0000)]
* In vardbapi.cpv_all() use catpkgsplit() for validation since that's what
with cp_all() uses.
* Use the listdir() dirsonly=1 parameter to avoid unnecessary stat calls
via os.path.isdir()
(trunk r10204)
svn path=/main/branches/2.1.2/; revision=10205
Zac Medico [Mon, 5 May 2008 16:55:47 +0000 (16:55 -0000)]
Handle a potential InvalidData exception in vardbapi.cp_all(). (trunk r10202)
svn path=/main/branches/2.1.2/; revision=10203
Zac Medico [Mon, 5 May 2008 06:36:27 +0000 (06:36 -0000)]
Add "package" to EBUILD_PHASES since it's possible for einfo to be called
by install_mask() during that phase. (trunk r10198)
svn path=/main/branches/2.1.2/; revision=10199
Zac Medico [Mon, 5 May 2008 06:03:43 +0000 (06:03 -0000)]
Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binary
packages. Also, filter INSTALL_MASK when saving or loading environment.bz2.
This also applies to PKG_INSTALL_MASK and DOC_SYMLINKS_DIR, so add them
too. (trunk r10195)
svn path=/main/branches/2.1.2/; revision=10197
Zac Medico [Mon, 5 May 2008 06:00:20 +0000 (06:00 -0000)]
* Fix --buildpkgonly logic to avoid an unwanted code path.
* Remove unnecessary mtimedb.pop("resume", None) call.
(trunk r10194)
svn path=/main/branches/2.1.2/; revision=10196
Zac Medico [Mon, 5 May 2008 04:50:23 +0000 (04:50 -0000)]
Bug #220171 - Filter out 'lost+found' directories in vardbapi.cpv_all()
in order to avoid fatal 'Permission denied' errors. Currently, CVS and
names beginning with '.' are also filtered. (trunk r10192)
svn path=/main/branches/2.1.2/; revision=10193
Zac Medico [Mon, 5 May 2008 03:31:40 +0000 (03:31 -0000)]
Use writemsg() to warn about InvalidDependString exceptions that may
occur for installed packages. (trunk r10190)
svn path=/main/branches/2.1.2/; revision=10191
Zac Medico [Mon, 5 May 2008 03:27:58 +0000 (03:27 -0000)]
Use a separate digraph to preserve irrelevant blocker relationships that
are removed from depgraph._blocker_parents since the irrelevant blockers
are still needed for the blocker cache. (trunk r10188)
svn path=/main/branches/2.1.2/; revision=10189
Zac Medico [Mon, 5 May 2008 03:19:38 +0000 (03:19 -0000)]
Fix misplaced variable. (trunk r10186)
svn path=/main/branches/2.1.2/; revision=10187
Zac Medico [Sun, 4 May 2008 19:48:00 +0000 (19:48 -0000)]
In the package uninstall sanity check, use RDEPEND from the currently
running 'sys-apps/portage' instance to create a set of protected atoms.
(trunk r10184)
svn path=/main/branches/2.1.2/; revision=10185
Zac Medico [Sun, 4 May 2008 08:10:12 +0000 (08:10 -0000)]
Similar to the sys-apps/portage protection, also add protection against
inappropriately uninstalling either app-shells/bash or dev-lang/python.
(trunk r10171)
svn path=/main/branches/2.1.2/; revision=10172
Zac Medico [Sun, 4 May 2008 06:41:57 +0000 (06:41 -0000)]
Do more validation of resume data from the mtimedb. (trunk r10165)
svn path=/main/branches/2.1.2/; revision=10166
Zac Medico [Sun, 4 May 2008 05:51:51 +0000 (05:51 -0000)]
When a --resume list is rejected due to unsatisfied deps, display a
list of missing deps and which packages they belong to.
(trunk r10143)
svn path=/main/branches/2.1.2/; revision=10164
Zac Medico [Sun, 4 May 2008 05:25:58 +0000 (05:25 -0000)]
In order to fix --tree display behave normally in --resume mode,
properly add to the digraph all packages matched by arguments.
(trunk r10162)
svn path=/main/branches/2.1.2/; revision=10163
Zac Medico [Sun, 4 May 2008 04:21:58 +0000 (04:21 -0000)]
Fix misplaced variable used as parameter to _load_favorites(). (trunk r10160)
svn path=/main/branches/2.1.2/; revision=10161
Zac Medico [Sun, 4 May 2008 04:09:49 +0000 (04:09 -0000)]
Make favorites handling in depgraph.select_files() consistent with
SetArg handling when the "system" set is added along with "world".
svn path=/main/branches/2.1.2/; revision=10159
Zac Medico [Sun, 4 May 2008 03:46:52 +0000 (03:46 -0000)]
Fix package counters in depgraph.display() so they're only incremented
for "ordered" display nodes. (trunk r10157)
svn path=/main/branches/2.1.2/; revision=10158
Zac Medico [Sun, 4 May 2008 03:27:10 +0000 (03:27 -0000)]
Fix some unwanted interaction between --tree display and unsatisfied
blockers in depgraph.display(). (trunk r10155)
svn path=/main/branches/2.1.2/; revision=10156
Zac Medico [Sun, 4 May 2008 02:10:55 +0000 (02:10 -0000)]
Remove obsolete tuple() usage inside depgraph.display(). (trunk r10153)
svn path=/main/branches/2.1.2/; revision=10154
Zac Medico [Sun, 4 May 2008 01:48:25 +0000 (01:48 -0000)]
Fix spelling of _show_unsatisfied_blockers(). (trunk r10151)
svn path=/main/branches/2.1.2/; revision=10152
Zac Medico [Sun, 4 May 2008 01:05:06 +0000 (01:05 -0000)]
In BlockerData._load(), salvage as much cache as possible when some
seems to be corrupt. (trunk r10149)
svn path=/main/branches/2.1.2/; revision=10150
Zac Medico [Sun, 4 May 2008 00:51:29 +0000 (00:51 -0000)]
Validate all the data types inside BlockerCache._load() so that
any corruption is detected as soon as possible. (trunk r10147)
svn path=/main/branches/2.1.2/; revision=10148
Zac Medico [Sat, 3 May 2008 23:11:54 +0000 (23:11 -0000)]
When a resume list is rejected, display the invalid resume list data
in case the user is interested. This is enabled with --verbose or
--debug. (trunk r10145)
svn path=/main/branches/2.1.2/; revision=10146
Zac Medico [Sat, 3 May 2008 22:42:24 +0000 (22:42 -0000)]
Return early from create_world_atom() if an atom matching the package
can't be found for some reason.
svn path=/main/branches/2.1.2/; revision=10144
Zac Medico [Sat, 3 May 2008 21:23:40 +0000 (21:23 -0000)]
Don't clean out old resume lists when in --ask or --pretend mode.
(trunk r10141)
svn path=/main/branches/2.1.2/; revision=10142
Zac Medico [Sat, 3 May 2008 21:17:05 +0000 (21:17 -0000)]
When loadResumeCommand() rejects a resume list, give a more informative
explanation. (trunk r10139)
svn path=/main/branches/2.1.2/; revision=10140
Zac Medico [Sat, 3 May 2008 19:52:39 +0000 (19:52 -0000)]
Fix display_problems() logic some more. (trunk r10135:10137)
svn path=/main/branches/2.1.2/; revision=10138
Zac Medico [Sat, 3 May 2008 19:25:07 +0000 (19:25 -0000)]
Improve --resume handling of saved "favorites" argument atoms:
* Save the favorites in oneshot mode too since they're still useful for
restoring state upon --resume.
* Add a depgraph._load_favorites() method to resume state from a previous
select_files() call. This allows Package instances to be matched with
DependencyArg instances during graph creation.
(trunk r10134)
svn path=/main/branches/2.1.2/; revision=10135
Zac Medico [Sat, 3 May 2008 08:25:40 +0000 (08:25 -0000)]
* Move circular deps and blocker displays to depgraph.display_problems().
* Always call display_problems() since calling it from inside display()
can lead to unwanted recursion.
(trunk r10132)
svn path=/main/branches/2.1.2/; revision=10133
Zac Medico [Sat, 3 May 2008 06:00:02 +0000 (06:00 -0000)]
Similar to the circular dependency display, handle the unsatisfied blocker
display inside _serialize_tasks() since that's a convenient place to bail
out. (trunk r10130)
svn path=/main/branches/2.1.2/; revision=10131
Zac Medico [Sat, 3 May 2008 04:19:04 +0000 (04:19 -0000)]
Use absolute paths for files in ${DISTDIR}. Thanks to RB <aoz.syn@gmail.com>
for this patch. (trunk r10127)
svn path=/main/branches/2.1.2/; revision=10129
Zac Medico [Sat, 3 May 2008 04:17:57 +0000 (04:17 -0000)]
Bug #219294 - Fix 'date' and 'cut' arguments for BSD userland. Thanks to
RB <aoz.syn@gmail.com> for this patch. (trunk r10126)
svn path=/main/branches/2.1.2/; revision=10128
Zac Medico [Sat, 3 May 2008 03:49:45 +0000 (03:49 -0000)]
Move --resume options handling to the beginning of action_build() so
that the current options are updated with the saved options as soon
as possible. (trunk r10122:10124)
svn path=/main/branches/2.1.2/; revision=10125
Zac Medico [Sat, 3 May 2008 03:28:06 +0000 (03:28 -0000)]
Make --nodeps automatically disable --tree. (trunk r10121)
svn path=/main/branches/2.1.2/; revision=10122
Zac Medico [Sat, 3 May 2008 02:57:06 +0000 (02:57 -0000)]
Fix depgraph.loadResumeCommand() to identify an unsatisfied dependency
and invalidate the resume list in that case. (trunk r10119)
svn path=/main/branches/2.1.2/; revision=10120
Zac Medico [Sat, 3 May 2008 02:31:39 +0000 (02:31 -0000)]
* Check for masked packages in the --resume merge list and bail
out in that case (bug #199408).
* In depgraph.loadResumeCommand(), create a dependency graph from
the resume list. This ensures that the merge list has it's
dependencies satisfied. It also enables --tree display together
with --resume.
* Fix --resume mode to check for unsatisfied blockers and bail out when
necessary.
* Add --nodeps to the parallel-fetch --resume options since recalculation of
deps is a a waste here.
* Delete the resume list(s) if there is an unsatisfied block.
(trunk r10113:10117)
svn path=/main/branches/2.1.2/; revision=10118
Zac Medico [Fri, 2 May 2008 22:33:31 +0000 (22:33 -0000)]
Add a PackageVirtualDbapi.__iter__() method and use it to iterate over
all installed packages in depgraph.validate_blockers(). (trunk r10112)
svn path=/main/branches/2.1.2/; revision=10113
Zac Medico [Fri, 2 May 2008 22:13:02 +0000 (22:13 -0000)]
Use match_pkgs() to simplify package comparison. (trunk r10110)
svn path=/main/branches/2.1.2/; revision=10111
Zac Medico [Fri, 2 May 2008 21:49:26 +0000 (21:49 -0000)]
Move the blocker cache validation into depgraph.validate_blockers().
(trunk r10108)
svn path=/main/branches/2.1.2/; revision=10109
Zac Medico [Fri, 2 May 2008 21:10:37 +0000 (21:10 -0000)]
In depgraph.validate_blockers(), discard any "uninstall" tasks scheduled
by previous calls, since those tasks may not make sense given the current
graph state. (trunk r10106)
svn path=/main/branches/2.1.2/; revision=10107
Zac Medico [Fri, 2 May 2008 20:31:33 +0000 (20:31 -0000)]
When searching for a "sys-apps/portage" installation task, use match_pkgs()
instead of sequential search. (trunk r10104)
svn path=/main/branches/2.1.2/; revision=10105
Zac Medico [Fri, 2 May 2008 20:17:04 +0000 (20:17 -0000)]
Use Package.cp attribute instead of calling cpv_getkey(). (trunk r10102)
svn path=/main/branches/2.1.2/; revision=10103
Zac Medico [Fri, 2 May 2008 20:02:45 +0000 (20:02 -0000)]
Use Package instance attributes to clean up and simplify
depgraph.validate_blockers(). (trunk r10100)
svn path=/main/branches/2.1.2/; revision=10101
Zac Medico [Fri, 2 May 2008 19:22:09 +0000 (19:22 -0000)]
In depgraph._serialize_tasks(), filter "nomerge" nodes at a more appropriate
place. (trunk r10098)
svn path=/main/branches/2.1.2/; revision=10099
Zac Medico [Fri, 2 May 2008 19:03:28 +0000 (19:03 -0000)]
In depgraph._complete_graph(), use cached Package instances instead
of constructing new ones. (trunk r10096)
svn path=/main/branches/2.1.2/; revision=10097
Zac Medico [Fri, 2 May 2008 18:28:56 +0000 (18:28 -0000)]
Validate resume list data some more. (trunk r10094)
svn path=/main/branches/2.1.2/; revision=10095
Zac Medico [Fri, 2 May 2008 17:56:21 +0000 (17:56 -0000)]
Clean up merge list handling:
* In depgraph.loadResumeCommand(), populate _serialized_tasks_cache so that
it can be returned from depgraph.altlist().
* Handle --skipfirst instide depgraph.loadResumeCommand(), and fix it to skip
the first "merge" task and never skip "uninstall" tasks.
* Always get the merge list from depgraph.altlist() instead of using
the mtimedb directly. The list returned from depgraph.altlist()
contains Package instances with cached metadata.
* Remove obsolete code from depgraph.display() and MergeTask.merge() since
the merge list always comes from depgraph.altlist() now, and never directly
from the mtimedb.
(trunk r10092)
svn path=/main/branches/2.1.2/; revision=10093
Zac Medico [Fri, 2 May 2008 03:33:09 +0000 (03:33 -0000)]
check if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957)
(trunk r10069)
svn path=/main/branches/2.1.2/; revision=10076