portage.git
17 years agoUse -G instead of -g (typo from the previous commit).
Zac Medico [Thu, 4 Jan 2007 21:18:13 +0000 (21:18 -0000)]
Use -G instead of -g (typo from the previous commit).

svn path=/main/trunk/; revision=5462

17 years agoAs a workaround for bug #147625, spawn `id -g portage` in order to get a list of...
Zac Medico [Thu, 4 Jan 2007 21:13:45 +0000 (21:13 -0000)]
As a workaround for bug #147625, spawn `id -g portage` in order to get a list of groups for the portage user without the need to call grp.getgrall().

svn path=/main/trunk/; revision=5461

17 years agoMake sure that myid is defined for the previous commit.
Zac Medico [Thu, 4 Jan 2007 03:23:12 +0000 (03:23 -0000)]
Make sure that myid is defined for the previous commit.

svn path=/main/trunk/; revision=5459

17 years agoWhen fetching metadata from a binhost, reconnect if the http server closes the connec...
Zac Medico [Thu, 4 Jan 2007 03:11:39 +0000 (03:11 -0000)]
When fetching metadata from a binhost, reconnect if the http server closes the connection before sending a valid response.  Thanks to ranger for reporting.

svn path=/main/trunk/; revision=5458

17 years agoExport EBUILD_PHASE="" when running misc-function.sh in order to prevent bogus phase...
Zac Medico [Thu, 4 Jan 2007 00:19:13 +0000 (00:19 -0000)]
Export EBUILD_PHASE="" when running misc-function.sh in order to prevent bogus phase values coming from ${T}/environment.  Thanks to solar for reporting.

svn path=/main/trunk/; revision=5457

17 years agoImplement distlocks for --getbinpkg so that it works properly when parallel-fetch...
Zac Medico [Thu, 4 Jan 2007 00:06:39 +0000 (00:06 -0000)]
Implement distlocks for --getbinpkg so that it works properly when parallel-fetch is enabled.  Thanks to Brent Baude <ranger@gentoo.org> for reporting.

svn path=/main/trunk/; revision=5456

17 years agoMake sure stderr is flushed since os._exit doesn't flush stdio buffers.
Zac Medico [Wed, 3 Jan 2007 22:32:46 +0000 (22:32 -0000)]
Make sure stderr is flushed since os._exit doesn't flush stdio buffers.

svn path=/main/trunk/; revision=5455

17 years agoMake sure stderr is flushed since os._exit doesn't flush stdio buffers.
Zac Medico [Wed, 3 Jan 2007 22:30:58 +0000 (22:30 -0000)]
Make sure stderr is flushed since os._exit doesn't flush stdio buffers.

svn path=/main/trunk/; revision=5454

17 years agoUse os._exit instead of sys.exit in a forked child process.
Zac Medico [Wed, 3 Jan 2007 22:25:55 +0000 (22:25 -0000)]
Use os._exit instead of sys.exit in a forked child process.

svn path=/main/trunk/; revision=5453

17 years agoWhen using the spawn's returnpid parameter, manually remove the returned pids from...
Zac Medico [Wed, 3 Jan 2007 06:46:42 +0000 (06:46 -0000)]
When using the spawn's returnpid parameter, manually remove the returned pids from portage_exec.spawned_pids.

svn path=/main/trunk/; revision=5452

17 years agoundo
Marius Mauch [Wed, 3 Jan 2007 02:50:54 +0000 (02:50 -0000)]
undo

svn path=/main/trunk/; revision=5451

17 years agoAllow - in elog module names
Marius Mauch [Wed, 3 Jan 2007 02:46:58 +0000 (02:46 -0000)]
Allow - in elog module names

svn path=/main/trunk/; revision=5450

17 years agoadd support for scanning of build logs for common issues #111436
Mike Frysinger [Wed, 3 Jan 2007 02:32:09 +0000 (02:32 -0000)]
add support for scanning of build logs for common issues #111436

svn path=/main/trunk/; revision=5449

17 years agoTry to create DISTDIR before disabling fetch due to it's nonexistence. Thanks to...
Zac Medico [Tue, 2 Jan 2007 21:37:19 +0000 (21:37 -0000)]
Try to create DISTDIR before disabling fetch due to it's nonexistence.  Thanks to astinus for reporting.

svn path=/main/trunk/; revision=5448

17 years agoOptimize dep_zapdeps to work without a vartree when called by repoman.
Zac Medico [Tue, 2 Jan 2007 10:42:50 +0000 (10:42 -0000)]
Optimize dep_zapdeps to work without a vartree when called by repoman.

svn path=/main/trunk/; revision=5444

17 years agoDon't bother to list the contents of directories before they are unmerged since it...
Zac Medico [Tue, 2 Jan 2007 04:54:56 +0000 (04:54 -0000)]
Don't bother to list the contents of directories before they are unmerged since it triggers unnecessary stat calls.  Thanks to James Cloos <cloos@jhcloos.com> for reporting.

svn path=/main/trunk/; revision=5443

17 years agomerge all of the QA related checks together
Mike Frysinger [Tue, 2 Jan 2007 03:31:50 +0000 (03:31 -0000)]
merge all of the QA related checks together

svn path=/main/trunk/; revision=5442

17 years agoFix the writemsg noiselevel from the previous commit.
Zac Medico [Tue, 2 Jan 2007 01:38:51 +0000 (01:38 -0000)]
Fix the writemsg noiselevel from the previous commit.

svn path=/main/trunk/; revision=5441

17 years agoFor bug #159638, fix the UnboundLocalError in vartree.getprovide().
Zac Medico [Tue, 2 Jan 2007 01:30:24 +0000 (01:30 -0000)]
For bug #159638, fix the UnboundLocalError in vartree.getprovide().

svn path=/main/trunk/; revision=5440

17 years agoFor bug #159224, use separate xmatch caches for each value of ACCEPT_KEYWORDS.
Zac Medico [Sun, 31 Dec 2006 15:35:02 +0000 (15:35 -0000)]
For bug #159224, use separate xmatch caches for each value of ACCEPT_KEYWORDS.

svn path=/main/trunk/; revision=5438

17 years agoUse slot atom matching to simplify detection of downgrades relative to installed...
Zac Medico [Sun, 31 Dec 2006 14:07:27 +0000 (14:07 -0000)]
Use slot atom matching to simplify detection of downgrades relative to installed packages.

svn path=/main/trunk/; revision=5437

17 years agoFor bug #159518, increase the "database is locked" timeout.
Zac Medico [Sun, 31 Dec 2006 03:28:12 +0000 (03:28 -0000)]
For bug #159518, increase the "database is locked" timeout.

svn path=/main/trunk/; revision=5434

17 years agoSend errors in elog_process() to stderr via writemsg.
Zac Medico [Sun, 31 Dec 2006 00:35:49 +0000 (00:35 -0000)]
Send errors in elog_process() to stderr via writemsg.

svn path=/main/trunk/; revision=5433

17 years agoUse return values instead of direct sys.exit(123) calls when a merge fails.
Zac Medico [Sat, 30 Dec 2006 21:38:26 +0000 (21:38 -0000)]
Use return values instead of direct sys.exit(123) calls when a merge fails.

svn path=/main/trunk/; revision=5432

17 years agoUse a try/finally block to ensure that the alarm will always be cancelled appropriately.
Zac Medico [Sat, 30 Dec 2006 21:14:55 +0000 (21:14 -0000)]
Use a try/finally block to ensure that the alarm will always be cancelled appropriately.

svn path=/main/trunk/; revision=5431

17 years agoFor bug #141361, use an alarm signal to implement a 1 minute timeout for processing...
Zac Medico [Sat, 30 Dec 2006 21:02:43 +0000 (21:02 -0000)]
For bug #141361, use an alarm signal to implement a 1 minute timeout for processing inside an elog module.

svn path=/main/trunk/; revision=5430

17 years agoCorrect the package.mask lookup order in getmaskingreason().
Zac Medico [Sat, 30 Dec 2006 20:15:35 +0000 (20:15 -0000)]
Correct the package.mask lookup order in getmaskingreason().

svn path=/main/trunk/; revision=5429

17 years agoFor bug #151326, prevent invalid comments from being returned by portage.getmaskingre...
Zac Medico [Sat, 30 Dec 2006 20:06:33 +0000 (20:06 -0000)]
For bug #151326, prevent invalid comments from being returned by portage.getmaskingreason().

svn path=/main/trunk/; revision=5428

17 years agoPunt the abort_unpack() handler since it's pointless anyway.
Zac Medico [Sat, 30 Dec 2006 10:32:03 +0000 (10:32 -0000)]
Punt the abort_unpack() handler since it's pointless anyway.

svn path=/main/trunk/; revision=5425

17 years agoFix 'TypeError: unpack non-sequence' that occurs if myparent is None.
Zac Medico [Sat, 30 Dec 2006 05:12:09 +0000 (05:12 -0000)]
Fix 'TypeError: unpack non-sequence' that occurs if myparent is None.

svn path=/main/trunk/; revision=5424

17 years agoDo some small fixes to prevent slot collision nodes from interfering with the depgraph.
Zac Medico [Sat, 30 Dec 2006 04:49:02 +0000 (04:49 -0000)]
Do some small fixes to prevent slot collision nodes from interfering with the depgraph.

svn path=/main/trunk/; revision=5423

17 years agoImprove the logic for bug #159360 to ensure that an actual upgrade is selected withou...
Zac Medico [Sat, 30 Dec 2006 04:11:33 +0000 (04:11 -0000)]
Improve the logic for bug #159360 to ensure that an actual upgrade is selected without any downgrades.

svn path=/main/trunk/; revision=5422

17 years agoBe slightly more defensive when loading the vdb/blockers caches.
Zac Medico [Sat, 30 Dec 2006 03:54:36 +0000 (03:54 -0000)]
Be slightly more defensive when loading the vdb/blockers caches.

svn path=/main/trunk/; revision=5421

17 years agoSort the --info USE flags for bug #159161.
Zac Medico [Sat, 30 Dec 2006 03:15:10 +0000 (03:15 -0000)]
Sort the --info USE flags for bug #159161.

svn path=/main/trunk/; revision=5420

17 years agoFor bug #159360, make sure that the highest available new-style virtual is selected...
Zac Medico [Sat, 30 Dec 2006 02:27:29 +0000 (02:27 -0000)]
For bug #159360, make sure that the highest available new-style virtual is selected even if it has depes that aren't already installed.

svn path=/main/trunk/; revision=5419

17 years agodetect incorrect absolute symlinks in libdirs
Mike Frysinger [Sat, 30 Dec 2006 01:35:58 +0000 (01:35 -0000)]
detect incorrect absolute symlinks in libdirs

svn path=/main/trunk/; revision=5418

17 years agofixup style
Mike Frysinger [Sat, 30 Dec 2006 01:21:56 +0000 (01:21 -0000)]
fixup style

svn path=/main/trunk/; revision=5417

17 years agoSend stuff that's not a warning or error to stdout rather than stderr.
Zac Medico [Fri, 29 Dec 2006 23:18:35 +0000 (23:18 -0000)]
Send stuff that's not a warning or error to stdout rather than stderr.

svn path=/main/trunk/; revision=5416

17 years ago- keep things quiet when uninstalling
Ned Ludd [Fri, 29 Dec 2006 22:55:36 +0000 (22:55 -0000)]
- keep things quiet when uninstalling

svn path=/main/trunk/; revision=5415

17 years agoDo some minor cleanup in the dep_zapdeps downgrade avoidance logic (while working...
Zac Medico [Fri, 29 Dec 2006 22:24:31 +0000 (22:24 -0000)]
Do some minor cleanup in the dep_zapdeps downgrade avoidance logic (while working toward a fix for bug #159360).

svn path=/main/trunk/; revision=5414

17 years agoFor bug #159310, don't show a slot collision notice if there are unresolvable blockers.
Zac Medico [Fri, 29 Dec 2006 11:10:28 +0000 (11:10 -0000)]
For bug #159310, don't show a slot collision notice if there are unresolvable blockers.

svn path=/main/trunk/; revision=5413

17 years agoAdd some docs for the blockers cache format.
Zac Medico [Fri, 29 Dec 2006 02:17:07 +0000 (02:17 -0000)]
Add some docs for the blockers cache format.

svn path=/main/trunk/; revision=5412

17 years agoFor bug #159161, make emerge --info show USE_EXPAND flags similar to the way it does...
Zac Medico [Fri, 29 Dec 2006 01:57:19 +0000 (01:57 -0000)]
For bug #159161, make emerge --info show USE_EXPAND flags similar to the way it does in merge list output.

svn path=/main/trunk/; revision=5411

17 years agoUse a pickle to cache blockers for all installed packages so that dep_check doesn...
Zac Medico [Fri, 29 Dec 2006 00:22:23 +0000 (00:22 -0000)]
Use a pickle to cache blockers for all installed packages so that dep_check doesn't have to be called for every single installed package on every invocation of emerge.

svn path=/main/trunk/; revision=5410

17 years agoFor bug #159295 and python-2.3 compatibility, don't assume that dict.update can use...
Zac Medico [Thu, 28 Dec 2006 21:40:20 +0000 (21:40 -0000)]
For bug #159295 and python-2.3 compatibility, don't assume that dict.update can use an iterable.

svn path=/main/trunk/; revision=5409

17 years agoFor bug #159252, don't preserve file attributes when copying files for installsources...
Zac Medico [Thu, 28 Dec 2006 21:14:08 +0000 (21:14 -0000)]
For bug #159252, don't preserve file attributes when copying files for installsources.  Thanks to Ed Catmur <ed@catmur.co.uk> for this patch.

svn path=/main/trunk/; revision=5408

17 years agoMake vardbapi.cpv_counter() use aux_get for caching.
Zac Medico [Thu, 28 Dec 2006 14:48:37 +0000 (14:48 -0000)]
Make vardbapi.cpv_counter() use aux_get for caching.

svn path=/main/trunk/; revision=5407

17 years agoMake vartree.getslot() use the dbapi for aux_get caching.
Zac Medico [Thu, 28 Dec 2006 14:40:57 +0000 (14:40 -0000)]
Make vartree.getslot() use the dbapi for aux_get caching.

svn path=/main/trunk/; revision=5406

17 years agoAllow the list of keys cached by the vardb to change without forcing a cache version...
Zac Medico [Thu, 28 Dec 2006 14:32:48 +0000 (14:32 -0000)]
Allow the list of keys cached by the vardb to change without forcing a cache version bump.

svn path=/main/trunk/; revision=5405

17 years agoUpdate emerge --metadata docs for more clarity.
Zac Medico [Thu, 28 Dec 2006 13:43:25 +0000 (13:43 -0000)]
Update emerge --metadata docs for more clarity.

svn path=/main/trunk/; revision=5404

17 years agoMake portdbapi.flush_cache() consistent with vardbapi.flush_cache().
Zac Medico [Thu, 28 Dec 2006 13:14:34 +0000 (13:14 -0000)]
Make portdbapi.flush_cache() consistent with vardbapi.flush_cache().

svn path=/main/trunk/; revision=5403

17 years agoUse a pickle to cache vdb metadata. This greatly improves the performance for loadin...
Zac Medico [Thu, 28 Dec 2006 13:07:03 +0000 (13:07 -0000)]
Use a pickle to cache vdb metadata.  This greatly improves the performance for loading the vdb when the buffer cache is cold.

svn path=/main/trunk/; revision=5402

18 years agotry to give the emerge manpage a facelift, upgrade clean and prune docs, change ...
Alec Warner [Thu, 28 Dec 2006 01:39:24 +0000 (01:39 -0000)]
try to give the emerge manpage a facelift, upgrade clean and prune docs, change 'dependency' to 'atom', other minor fixes

svn path=/main/trunk/; revision=5401

18 years agoAllow dep_check to use the global db for compatibility (fixes python-updater breakage).
Zac Medico [Wed, 27 Dec 2006 00:11:18 +0000 (00:11 -0000)]
Allow dep_check to use the global db for compatibility (fixes python-updater breakage).

svn path=/main/trunk/; revision=5398

18 years agoMake _setitem do a deepcopy just in case.
Zac Medico [Tue, 26 Dec 2006 02:43:49 +0000 (02:43 -0000)]
Make _setitem do a deepcopy just in case.

svn path=/main/trunk/; revision=5394

18 years agoFor bug #148603, when an ebuild dies, print eclasses that are from overlays. Thanks...
Zac Medico [Mon, 25 Dec 2006 20:42:08 +0000 (20:42 -0000)]
For bug #148603, when an ebuild dies, print eclasses that are from overlays.  Thanks to Alec Warner for the initial patch.

svn path=/main/trunk/; revision=5392

18 years agoUse a SIGTERM signal to support a die call inside of a subshell.
Zac Medico [Mon, 25 Dec 2006 19:13:37 +0000 (19:13 -0000)]
Use a SIGTERM signal to support a die call inside of a subshell.

svn path=/main/trunk/; revision=5391

18 years agoMake sure that portage_group_warning() will be shown even in quiet mode.
Zac Medico [Mon, 25 Dec 2006 09:15:50 +0000 (09:15 -0000)]
Make sure that portage_group_warning() will be shown even in quiet mode.

svn path=/main/trunk/; revision=5390

18 years agoWhen the user has insufficient access privileges, specify whether superuser access...
Zac Medico [Mon, 25 Dec 2006 09:02:20 +0000 (09:02 -0000)]
When the user has insufficient access privileges, specify whether superuser access or portage group access is required.  When only portage group access is required but the user is not in the portage group, call portage_data.portage_group_warning() to remind people that the portage group is a system administration group.

svn path=/main/trunk/; revision=5389

18 years agoPrevent the regen action from running in --pretend mode.
Zac Medico [Mon, 25 Dec 2006 06:04:03 +0000 (06:04 -0000)]
Prevent the regen action from running in --pretend mode.

svn path=/main/trunk/; revision=5388

18 years agoDrop the warning messages for users that aren't in the portage group since tpordbapi...
Zac Medico [Mon, 25 Dec 2006 05:42:45 +0000 (05:42 -0000)]
Drop the warning messages for users that aren't in the portage group since tpordbapi now correctly puts the on-disk cache into readonly mode in this case (and allows metadata generation in-memory if necessary).

svn path=/main/trunk/; revision=5387

18 years agoDocstrings for mergeme...
Alec Warner [Mon, 25 Dec 2006 05:27:45 +0000 (05:27 -0000)]
Docstrings for mergeme...

svn path=/main/trunk/; revision=5386

18 years agomore docstrings..
Alec Warner [Mon, 25 Dec 2006 04:52:11 +0000 (04:52 -0000)]
more docstrings..

svn path=/main/trunk/; revision=5385

18 years agoMake sure that bindbapi makes EAPI correctly default to 0 in all possible cases.
Zac Medico [Sun, 24 Dec 2006 23:49:25 +0000 (23:49 -0000)]
Make sure that bindbapi makes EAPI correctly default to 0 in all possible cases.

svn path=/main/trunk/; revision=5384

18 years agoMake bindbapi.aux_get() selectively cache metadata in order to optimize dep matching...
Zac Medico [Sun, 24 Dec 2006 23:17:26 +0000 (23:17 -0000)]
Make bindbapi.aux_get() selectively cache metadata in order to optimize dep matching (like portdbapi does).

svn path=/main/trunk/; revision=5383

18 years agoClone cached match results before returning them from portdbapi.xmatch(). Thanks...
Zac Medico [Sun, 24 Dec 2006 20:03:22 +0000 (20:03 -0000)]
Clone cached match results before returning them from portdbapi.xmatch().  Thanks to Brian <dol-sen@telus.net> for reporting this issue.

svn path=/main/trunk/; revision=5382

18 years agocptot appears to be unused, punting it along with this commented out function, it...
Alec Warner [Sun, 24 Dec 2006 06:20:27 +0000 (06:20 -0000)]
cptot appears to be unused, punting it along with this commented out function, it appears to be unused as well.

svn path=/main/trunk/; revision=5372

18 years agoDocstrings for doebuild
Alec Warner [Sun, 24 Dec 2006 06:19:26 +0000 (06:19 -0000)]
Docstrings for doebuild

svn path=/main/trunk/; revision=5371

18 years agoMore code cleanup, packagetree appears to be completely unused, so lets remove it...
Alec Warner [Sun, 24 Dec 2006 06:10:58 +0000 (06:10 -0000)]
More code cleanup, packagetree appears to be completely unused, so lets remove it in favor of inheriting from object

svn path=/main/trunk/; revision=5370

18 years agoManpage fix for bug # 158983, thanks to Fabio Correa for the patch
Alec Warner [Sun, 24 Dec 2006 02:04:36 +0000 (02:04 -0000)]
Manpage fix for bug # 158983, thanks to Fabio Correa for the patch

svn path=/main/trunk/; revision=5369

18 years agoFor forward compatibility, make metadata_overlay pass any additional positional and...
Zac Medico [Sat, 23 Dec 2006 20:09:57 +0000 (20:09 -0000)]
For forward compatibility, make metadata_overlay pass any additional positional and keyword parameters into the super constructor.

svn path=/main/trunk/; revision=5368

18 years agoFor bug #158931, add some release notes to explain performance penalties for dependen...
Zac Medico [Sat, 23 Dec 2006 19:15:37 +0000 (19:15 -0000)]
For bug #158931, add some release notes to explain performance penalties for dependency calculations.

svn path=/main/trunk/; revision=5367

18 years agomove actionmap_deps out of global scope and into doebuild where it is actually used...
Alec Warner [Sat, 23 Dec 2006 16:13:31 +0000 (16:13 -0000)]
move actionmap_deps out of global scope and into doebuild where it is actually used, add docstrings to config class in the meantime.

svn path=/main/trunk/; revision=5366

18 years agoMore Docstrings in portage.py
Alec Warner [Sat, 23 Dec 2006 15:53:44 +0000 (15:53 -0000)]
More Docstrings in portage.py

svn path=/main/trunk/; revision=5365

18 years agodisable display of elapsed time for collision-protect as it's for benchmarking purpos...
Marius Mauch [Sat, 23 Dec 2006 10:19:28 +0000 (10:19 -0000)]
disable display of elapsed time for collision-protect as it's for benchmarking purposes and useless to most people.

svn path=/main/trunk/; revision=5364

18 years agoList package in summary logfile
Marius Mauch [Sat, 23 Dec 2006 10:06:24 +0000 (10:06 -0000)]
List package in summary logfile

svn path=/main/trunk/; revision=5363

18 years agostartime is set up in treewalk, so no need to do it globally...
Alec Warner [Sat, 23 Dec 2006 06:00:24 +0000 (06:00 -0000)]
startime is set up in treewalk, so no need to do it globally...

svn path=/main/trunk/; revision=5362

18 years agoShow the "Calculating dependencies .. done!" message with --resume since the spinner...
Zac Medico [Sat, 23 Dec 2006 05:17:06 +0000 (05:17 -0000)]
Show the "Calculating dependencies .. done!" message with --resume since the spinner now runs inside the depgraph constructor.  Thanks to antarus for reporting.

svn path=/main/trunk/; revision=5361

18 years agoOnly write repo.stats and repo.fails when the repoman user has write access to /var...
Zac Medico [Sat, 23 Dec 2006 04:06:50 +0000 (04:06 -0000)]
Only write repo.stats and repo.fails when the repoman user has write access to /var/cache/edb.

svn path=/main/trunk/; revision=5360

18 years agoCombine two default EAPI settings in portdbapi.aux_get().
Zac Medico [Sat, 23 Dec 2006 01:56:34 +0000 (01:56 -0000)]
Combine two default EAPI settings in portdbapi.aux_get().

svn path=/main/trunk/; revision=5359

18 years agoFix inverted EAPI default logic.
Zac Medico [Sat, 23 Dec 2006 01:35:16 +0000 (01:35 -0000)]
Fix inverted EAPI default logic.

svn path=/main/trunk/; revision=5358

18 years agoMake metadata_overlay use the autocommits attribute of the underlying database.
Zac Medico [Sat, 23 Dec 2006 00:21:15 +0000 (00:21 -0000)]
Make metadata_overlay use the autocommits attribute of the underlying database.

svn path=/main/trunk/; revision=5357

18 years agoPass a cache instance into metadata_overlay since it doesn't have enough information...
Zac Medico [Sat, 23 Dec 2006 00:11:27 +0000 (00:11 -0000)]
Pass a cache instance into metadata_overlay since it doesn't have enough information to construct one itself.

svn path=/main/trunk/; revision=5356

18 years agoAdd volatile cache module missing from the previous commit.
Zac Medico [Fri, 22 Dec 2006 23:27:28 +0000 (23:27 -0000)]
Add volatile cache module missing from the previous commit.

svn path=/main/trunk/; revision=5355

18 years agoWhen an unprivileged user runs portage (not in the portage group), use metadata_overl...
Zac Medico [Fri, 22 Dec 2006 23:26:48 +0000 (23:26 -0000)]
When an unprivileged user runs portage (not in the portage group), use metadata_overlay together with a volatile in-memory cache module in order to implement cache writes.  This allows, for example, a user who's not in the portage group to run `ebuild foo.ebuild digest` (issue reported by Charlie Shepherd <masterdriverz@gentoo.org>).

svn path=/main/trunk/; revision=5354

18 years agoRemove two old functions, appear to be relics from 2.0.X branch, no longer used by...
Alec Warner [Fri, 22 Dec 2006 22:55:33 +0000 (22:55 -0000)]
Remove two old functions, appear to be relics from 2.0.X branch, no longer used by portage or gentoolkit or esearch

svn path=/main/trunk/; revision=5353

18 years agoI hate docstrings
Alec Warner [Fri, 22 Dec 2006 22:29:42 +0000 (22:29 -0000)]
I hate docstrings

svn path=/main/trunk/; revision=5351

18 years agoUse a pipe instead of a temp file for the depend phase.
Zac Medico [Fri, 22 Dec 2006 22:22:37 +0000 (22:22 -0000)]
Use a pipe instead of a temp file for the depend phase.

svn path=/main/trunk/; revision=5350

18 years agoRevert the default choice for --ask --unmerge (bug #158354) because people are compla...
Zac Medico [Fri, 22 Dec 2006 10:02:35 +0000 (10:02 -0000)]
Revert the default choice for --ask --unmerge (bug #158354) because people are complaining.

svn path=/main/trunk/; revision=5349

18 years agoFor bug #158649, allow --buildpkgonly to bypass the fakedb population like --nodeps...
Zac Medico [Fri, 22 Dec 2006 01:19:19 +0000 (01:19 -0000)]
For bug #158649, allow --buildpkgonly to bypass the fakedb population like --nodeps does.

svn path=/main/trunk/; revision=5348

18 years agoFix the "help" phase so that it works without build dirs.
Zac Medico [Fri, 22 Dec 2006 00:53:31 +0000 (00:53 -0000)]
Fix the "help" phase so that it works without build dirs.

svn path=/main/trunk/; revision=5347

18 years agoMake emerge enable backward compatibility mode for dep_check() calls on installed...
Zac Medico [Thu, 21 Dec 2006 08:09:20 +0000 (08:09 -0000)]
Make emerge enable backward compatibility mode for dep_check() calls on installed packages so that it can gracefully invalid atoms or dep syntax.

svn path=/main/trunk/; revision=5346

18 years agoCreate a backward compatibility mode for dep_check() so that emerge can use it to...
Zac Medico [Thu, 21 Dec 2006 07:44:30 +0000 (07:44 -0000)]
Create a backward compatibility mode for dep_check() so that emerge can use it to gracefully deal with installed packages that have invalid atoms or dep syntax.

svn path=/main/trunk/; revision=5345

18 years agoUse the return value from setdefault to avoid an extra dict lookup.
Zac Medico [Thu, 21 Dec 2006 02:45:02 +0000 (02:45 -0000)]
Use the return value from setdefault to avoid an extra dict lookup.

svn path=/main/trunk/; revision=5344

18 years agoFor bug #158658, fix the 'TypeError: int argument required' that happens in the final...
Zac Medico [Thu, 21 Dec 2006 02:36:26 +0000 (02:36 -0000)]
For bug #158658, fix the 'TypeError: int argument required' that happens in the finalize() routine.

svn path=/main/trunk/; revision=5343

18 years agoFor bug #158632, make aux_get caching safe for missing values in cache entries.
Zac Medico [Thu, 21 Dec 2006 01:54:42 +0000 (01:54 -0000)]
For bug #158632, make aux_get caching safe for missing values in cache entries.

svn path=/main/trunk/; revision=5342

18 years agoFor installed packages with invalid depstrings, tell the user the location of the...
Zac Medico [Thu, 21 Dec 2006 01:11:44 +0000 (01:11 -0000)]
For installed packages with invalid depstrings, tell the user the location of the *DEPEND files.

svn path=/main/trunk/; revision=5341

18 years agoWhen a removal phase fails, tell the user where the ebuild is and advise them that...
Zac Medico [Thu, 21 Dec 2006 00:32:10 +0000 (00:32 -0000)]
When a removal phase fails, tell the user where the ebuild is and advise them that the ebuild can be removed in order to skip the removal phases.

svn path=/main/trunk/; revision=5340

18 years agoFor bug #158558, ignore invalid depstrings for packages that are being replaced anywa...
Zac Medico [Wed, 20 Dec 2006 23:09:09 +0000 (23:09 -0000)]
For bug #158558, ignore invalid depstrings for packages that are being replaced anyway (otherwise the user would be forced to manually unmerge the package).

svn path=/main/trunk/; revision=5339

18 years agoMore intelligently handle CacheCorruption errors in the writable cache.
Zac Medico [Wed, 20 Dec 2006 22:09:59 +0000 (22:09 -0000)]
More intelligently handle CacheCorruption errors in the writable cache.

svn path=/main/trunk/; revision=5338