portage.git
18 years agoPass in the correct arg= value to select_dep.
Zac Medico [Sat, 23 Sep 2006 05:24:42 +0000 (05:24 -0000)]
Pass in the correct arg= value to select_dep.

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

18 years agoNever allow packages explicitly requested on the command line to be tagged "nomerge...
Zac Medico [Sat, 23 Sep 2006 05:13:01 +0000 (05:13 -0000)]
Never allow packages explicitly requested on the command line to be tagged "nomerge" unless --noreplace has been specified.  This patch accomplishes the same goal as r4494 but without the potential for causing inconsistency in the depgraph.

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

18 years agoEnsure that soft_dep is a plain boolean (not vardb match results).
Zac Medico [Fri, 22 Sep 2006 23:57:01 +0000 (23:57 -0000)]
Ensure that soft_dep is a plain boolean (not vardb match results).

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

18 years agoMove the open call out of the inner try block.
Zac Medico [Fri, 22 Sep 2006 22:31:33 +0000 (22:31 -0000)]
Move the open call out of the inner try block.

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

18 years agoMake it possible, once again, to use --noreplace to add a package to the world file.
Zac Medico [Fri, 22 Sep 2006 22:20:48 +0000 (22:20 -0000)]
Make it possible, once again, to use --noreplace to add a package to the world file.

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

18 years agoUse finally: to ensure that the file is closed properly.
Zac Medico [Fri, 22 Sep 2006 21:49:22 +0000 (21:49 -0000)]
Use finally: to ensure that the file is closed properly.

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

18 years agoDon't use LazyLoad for cache pulls because it causes a race condition.
Zac Medico [Fri, 22 Sep 2006 21:26:37 +0000 (21:26 -0000)]
Don't use LazyLoad for cache pulls because it causes a race condition.

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

18 years agoImprove and simplify __getitem__ error handling.
Zac Medico [Fri, 22 Sep 2006 21:17:19 +0000 (21:17 -0000)]
Improve and simplify __getitem__ error handling.

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

18 years agoUse fstat to when retrieve cache timestamps and avoid a race.
Zac Medico [Fri, 22 Sep 2006 20:59:45 +0000 (20:59 -0000)]
Use fstat to when retrieve cache timestamps and avoid a race.

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

18 years agoFor compatibility with float timestamps in python-2.5, convert st_mtime attributes...
Zac Medico [Fri, 22 Sep 2006 20:24:06 +0000 (20:24 -0000)]
For compatibility with float timestamps in python-2.5, convert st_mtime attributes to long wherever portage expects 1s resolution.

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

18 years agoConvert stat timestamps to long for compatibility with python-2.5, which returns...
Zac Medico [Fri, 22 Sep 2006 19:53:04 +0000 (19:53 -0000)]
Convert stat timestamps to long for compatibility with python-2.5, which returns floats for timestamps.

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

18 years agoAllow cache.sqlite to use sqlite3 from python-2.5, if available.
Zac Medico [Fri, 22 Sep 2006 19:50:27 +0000 (19:50 -0000)]
Allow cache.sqlite to use sqlite3 from python-2.5, if available.

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

18 years agoRevert r4495, since conversion from nomerge to merge may put the depgraph into an...
Zac Medico [Fri, 22 Sep 2006 09:55:27 +0000 (09:55 -0000)]
Revert r4495, since conversion from nomerge to merge may put the depgraph into an inconsistent state du to USE flag mismatch.  This can be solved by checking all args prior to marking packages as nomerge.

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

18 years agouse EBUILD_SH_ARGS instead of $*; bug 148615
Simon Stelling [Fri, 22 Sep 2006 09:18:54 +0000 (09:18 -0000)]
use EBUILD_SH_ARGS instead of $*; bug 148615

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

18 years agoAllow packages specified on the command line to be retroactively upgraded from "nomer...
Zac Medico [Fri, 22 Sep 2006 08:11:31 +0000 (08:11 -0000)]
Allow packages specified on the command line to be retroactively upgraded from "nomerge" to "merge" nodes.

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

18 years agoFix another IndexError due to an assumption that digraph nodes split into at least...
Zac Medico [Thu, 21 Sep 2006 11:16:59 +0000 (11:16 -0000)]
Fix another IndexError due to an assumption that digraph nodes split into at least 4 parts.

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

18 years agoPrevent --update and/or --deep style behavior when the user hasn't specified them...
Zac Medico [Thu, 21 Sep 2006 07:44:05 +0000 (07:44 -0000)]
Prevent --update and/or --deep style behavior when the user hasn't specified them.  In these cases a full depgraph isn't desired and we have to ignore the installed deps that are now returned from dep_check.

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

18 years agoPrevent an IndexError caused by blocker nodes splitting to 3 items instead of 4.
Zac Medico [Thu, 21 Sep 2006 05:17:54 +0000 (05:17 -0000)]
Prevent an IndexError caused by blocker nodes splitting to 3 items instead of 4.

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

18 years agoAdd a comment about old-style virtuals inside depgraph.validate_blockers().
Zac Medico [Thu, 21 Sep 2006 03:13:58 +0000 (03:13 -0000)]
Add a comment about old-style virtuals inside depgraph.validate_blockers().

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

18 years agoRemove an inaccurate comment.
Zac Medico [Thu, 21 Sep 2006 03:02:24 +0000 (03:02 -0000)]
Remove an inaccurate comment.

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

18 years agoAdd a docstring for depgraph.validate_blockers().
Zac Medico [Thu, 21 Sep 2006 02:54:25 +0000 (02:54 -0000)]
Add a docstring for depgraph.validate_blockers().

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

18 years agoFix depgraph.validate_blockers() logic so that match_from_list works correctly.
Zac Medico [Thu, 21 Sep 2006 00:58:49 +0000 (00:58 -0000)]
Fix depgraph.validate_blockers() logic so that match_from_list works correctly.

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

18 years agoThanks to Jason Stubbs for this patch from bug #16365 which invalidates any blocker...
Zac Medico [Wed, 20 Sep 2006 22:13:55 +0000 (22:13 -0000)]
Thanks to Jason Stubbs for this patch from bug #16365 which invalidates any blocker that is made irrelevant by a package upgrade.

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

18 years agoAs suggested by vapier, send emerge -fp output to stdout and make it work together...
Zac Medico [Wed, 20 Sep 2006 03:47:18 +0000 (03:47 -0000)]
As suggested by vapier, send emerge -fp output to stdout and make it work together with --quiet.

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

18 years agoMake portageq exit successfully for -h or --help.
Zac Medico [Wed, 20 Sep 2006 03:09:44 +0000 (03:09 -0000)]
Make portageq exit successfully for -h or --help.

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

18 years agoMake portageq exit with nonzero status when called incorrectly.
Zac Medico [Tue, 19 Sep 2006 22:01:20 +0000 (22:01 -0000)]
Make portageq exit with nonzero status when called incorrectly.

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

18 years agoFor consistency, pass ignore_soft_deps into digraph.hasallzeros().
Zac Medico [Tue, 19 Sep 2006 18:07:49 +0000 (18:07 -0000)]
For consistency, pass ignore_soft_deps into digraph.hasallzeros().

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

18 years agoFix digraph.hasallzeros() breakage.
Zac Medico [Tue, 19 Sep 2006 09:03:17 +0000 (09:03 -0000)]
Fix digraph.hasallzeros() breakage.

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

18 years agoProperly close the caches before reloading portage.
Zac Medico [Tue, 19 Sep 2006 07:20:25 +0000 (07:20 -0000)]
Properly close the caches before reloading portage.

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

18 years agoThis is a new --tree implementation by Jason Stubbs, from bug #147766.
Zac Medico [Tue, 19 Sep 2006 06:46:41 +0000 (06:46 -0000)]
This is a new --tree implementation by Jason Stubbs, from bug #147766.

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

18 years agoFix fetch resume logic for bug #145601 and document the meaning of the "fetched"...
Zac Medico [Tue, 19 Sep 2006 02:36:35 +0000 (02:36 -0000)]
Fix fetch resume logic for bug #145601 and document the meaning of the "fetched" variable.

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

18 years agoFix digraph.debug_print inverted hard/soft logic.
Zac Medico [Tue, 19 Sep 2006 01:58:04 +0000 (01:58 -0000)]
Fix digraph.debug_print inverted hard/soft logic.

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

18 years agoTurn off file name globbing during expansion of ${find_opts} for bug #148115.
Zac Medico [Tue, 19 Sep 2006 01:00:09 +0000 (01:00 -0000)]
Turn off file name globbing during expansion of ${find_opts} for bug #148115.

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

18 years agoAllow packages matched by something in package.provided to be explicitly merged by...
Zac Medico [Mon, 18 Sep 2006 11:36:47 +0000 (11:36 -0000)]
Allow packages matched by something in package.provided to be explicitly merged by the user.

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

18 years agoIdendify soft deps in emerge --debug output.
Zac Medico [Mon, 18 Sep 2006 10:36:23 +0000 (10:36 -0000)]
Idendify soft deps in emerge --debug output.

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

18 years agoThanks again to Jason Stubbs for this patch from bug #147766 which represents PDEPEND...
Zac Medico [Mon, 18 Sep 2006 10:18:58 +0000 (10:18 -0000)]
Thanks again to Jason Stubbs for this patch from bug #147766 which represents PDEPEND relationships withing the depgraph as reverse soft dependencies.

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

18 years agoThanks to Jason Stubbs for this patch from bug #147766 which enables creation of...
Zac Medico [Mon, 18 Sep 2006 08:31:59 +0000 (08:31 -0000)]
Thanks to Jason Stubbs for this patch from bug #147766 which enables creation of a full and complete depgraph, leaving no dependencies unaccounted for.  This will allow more accurate merge order and proper detection of circular dependencies!

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

18 years agoEnsure that the parent process gets the first fetch when parallel-fetch is enabled.
Zac Medico [Mon, 18 Sep 2006 04:20:38 +0000 (04:20 -0000)]
Ensure that the parent process gets the first fetch when parallel-fetch is enabled.

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

18 years agoReplace relative imports with absolute imports for forward compatibility with python...
Zac Medico [Mon, 18 Sep 2006 03:54:07 +0000 (03:54 -0000)]
Replace relative imports with absolute imports for forward compatibility with python 2.6.

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

18 years agoClose the parallel-fetch log file descriptor when it's no longer needed.
Zac Medico [Mon, 18 Sep 2006 03:14:56 +0000 (03:14 -0000)]
Close the parallel-fetch log file descriptor when it's no longer needed.

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

18 years agoUse mtimedb.filename == None to disable mtimedb writes (instead of /dev/null).
Zac Medico [Sun, 17 Sep 2006 20:32:15 +0000 (20:32 -0000)]
Use mtimedb.filename == None to disable mtimedb writes (instead of /dev/null).

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

18 years agoReimplement parallel-fetch so that it simply spawns `emerge --fetch --resume` via...
Zac Medico [Sun, 17 Sep 2006 04:51:08 +0000 (04:51 -0000)]
Reimplement parallel-fetch so that it simply spawns `emerge --fetch --resume` via portage_exec.spawn.  This prevents potential issues with shared file descriptors and unsafe forks as discussed in bug #147516.  This patch makes sure that the spawned emerge process does not write to emerge.log or the mtimedb.

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

18 years agoIn portage.commit_mtimedb(), use the commit() method when possible, so that the mtime...
Zac Medico [Sat, 16 Sep 2006 07:33:09 +0000 (07:33 -0000)]
In portage.commit_mtimedb(), use the commit() method when possible, so that the mtimedb is only rewritten when it has been modified.

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

18 years agodocument FEATURES=buildsyspkg #147729
Mike Frysinger [Sat, 16 Sep 2006 05:23:33 +0000 (05:23 -0000)]
document FEATURES=buildsyspkg #147729

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

18 years agoAdd CATEGORY to the list of readonly variables.
Zac Medico [Sat, 16 Sep 2006 01:08:56 +0000 (01:08 -0000)]
Add CATEGORY to the list of readonly variables.

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

18 years agoFor bug #14321, make dispatch-conf scan for individual files listed in CONFIG_PROTECT.
Zac Medico [Sat, 16 Sep 2006 00:50:38 +0000 (00:50 -0000)]
For bug #14321, make dispatch-conf scan for individual files listed in CONFIG_PROTECT.

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

18 years agoFor bug #14321, make etc-update scan for individual files listed in CONFIG_PROTECT.
Zac Medico [Sat, 16 Sep 2006 00:45:25 +0000 (00:45 -0000)]
For bug #14321, make etc-update scan for individual files listed in CONFIG_PROTECT.

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

18 years agoFor bug #14321, make emerge scan for individual files listed in CONFIG_PROTECT.
Zac Medico [Sat, 16 Sep 2006 00:42:00 +0000 (00:42 -0000)]
For bug #14321, make emerge scan for individual files listed in CONFIG_PROTECT.

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

18 years agoFor bug #14321, add support for individual files in CONFIG_PROTECT and CONFIG_PROTECT...
Zac Medico [Sat, 16 Sep 2006 00:38:46 +0000 (00:38 -0000)]
For bug #14321, add support for individual files in CONFIG_PROTECT and CONFIG_PROTECT_MASK.

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

18 years agoWhen it's detected that a previously remembered update has been accepted, remove...
Zac Medico [Fri, 15 Sep 2006 10:49:57 +0000 (10:49 -0000)]
When it's detected that a previously remembered update has been accepted, remove it from confmem.

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

18 years agoAdd support for SPACE_SEPARATED and COLON_SEPARATED in /etc/env.d/ so that hard coded...
Zac Medico [Fri, 15 Sep 2006 07:07:13 +0000 (07:07 -0000)]
Add support for SPACE_SEPARATED and COLON_SEPARATED in /etc/env.d/ so that hard coded values are not required.

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

18 years agoMove all env.d file name filtering into a single loop.
Zac Medico [Fri, 15 Sep 2006 03:12:26 +0000 (03:12 -0000)]
Move all env.d file name filtering into a single loop.

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

18 years agoSimplify the confmem logic so that it's easier to read.
Zac Medico [Fri, 15 Sep 2006 02:07:18 +0000 (02:07 -0000)]
Simplify the confmem logic so that it's easier to read.

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

18 years agoRemove an unused hardlink_active() function.
Zac Medico [Thu, 14 Sep 2006 07:52:39 +0000 (07:52 -0000)]
Remove an unused hardlink_active() function.

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

18 years agoSimplify portage_locks.hardlink_is_mine() so that it only checks the number of links...
Zac Medico [Thu, 14 Sep 2006 07:44:54 +0000 (07:44 -0000)]
Simplify portage_locks.hardlink_is_mine() so that it only checks the number of links.  Nothing more is needed.

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

18 years agoRemove all traces of atexit hardlock cleanup code, since it doesn't work correctly...
Zac Medico [Thu, 14 Sep 2006 07:17:51 +0000 (07:17 -0000)]
Remove all traces of atexit hardlock cleanup code, since it doesn't work correctly anyway.

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

18 years agoIn unhardlink_lockfile(), make sure not to touch lockfilename unless we really have...
Zac Medico [Thu, 14 Sep 2006 06:33:48 +0000 (06:33 -0000)]
In unhardlink_lockfile(), make sure not to touch lockfilename unless we really have a lock.  See bug #147453.

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

18 years agonote that you need to use an absolute path for ROOT #147427 by Brad Plant
Mike Frysinger [Thu, 14 Sep 2006 02:26:23 +0000 (02:26 -0000)]
note that you need to use an absolute path for ROOT #147427 by Brad Plant

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

18 years agoUse configdict["env"].clear() instead of manual deletion because the result is the...
Zac Medico [Wed, 13 Sep 2006 20:50:28 +0000 (20:50 -0000)]
Use configdict["env"].clear() instead of manual deletion because the result is the same and it's much more efficient.

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

18 years agoFor correct LINGUAS handling, don't export empty USE_EXPAND variables unless the...
Zac Medico [Wed, 13 Sep 2006 20:42:53 +0000 (20:42 -0000)]
For correct LINGUAS handling, don't export empty USE_EXPAND variables unless the user config exports them as empty.  Thanks to Harald van Dijk <truedfx@gentoo.org> for this patch from bug #147428.

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

18 years agoAdd KDEDIRS to colon_separated env-update vars as requested by Carlo.
Zac Medico [Sun, 10 Sep 2006 21:53:36 +0000 (21:53 -0000)]
Add KDEDIRS to colon_separated env-update vars as requested by Carlo.

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

18 years agoFix a broken call to new_protect_filename for bug #147010. This is a regression...
Zac Medico [Sun, 10 Sep 2006 21:34:27 +0000 (21:34 -0000)]
Fix a broken call to new_protect_filename for bug #147010.  This is a regression from r4400 (fix for bug #146289).

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

18 years agodiff for superh
Mike Frysinger [Sun, 10 Sep 2006 04:54:26 +0000 (04:54 -0000)]
diff for superh

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

18 years agoFor bug #80846, prevent false collisions caused by symlinks. Thanks to Thomas Bettle...
Zac Medico [Sat, 9 Sep 2006 23:11:59 +0000 (23:11 -0000)]
For bug #80846, prevent false collisions caused by symlinks.  Thanks to Thomas Bettler <bettlertho@sis.unibe.ch> for the initial patch.

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

18 years agoIn dblink.isowner(), correct the logic to test the path itself (via lstat) rather...
Zac Medico [Sat, 9 Sep 2006 22:00:57 +0000 (22:00 -0000)]
In dblink.isowner(), correct the logic to test the path itself (via lstat) rather than the referant in the case of symlinks.

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

18 years agoInclude a note about RESTRICT="fetch" in docs for local mirrors (see bug #37455)...
Zac Medico [Fri, 8 Sep 2006 20:37:37 +0000 (20:37 -0000)]
Include a note about RESTRICT="fetch" in docs for local mirrors (see bug #37455).  Thanks to Carlo for reporting.

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

18 years agoAdd PORTAGE_DEPCACHEDIR to SANDBOX_PREDICT since it's legitimate for portageq calls... v2.1.1
Zac Medico [Thu, 7 Sep 2006 08:31:48 +0000 (08:31 -0000)]
Add PORTAGE_DEPCACHEDIR to SANDBOX_PREDICT since it's legitimate for portageq calls to trigger cache writes.  See bug #144011.

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

18 years agoMake quickpkg respect PORTAGE_NICENESS.
Zac Medico [Thu, 7 Sep 2006 07:05:26 +0000 (07:05 -0000)]
Make quickpkg respect PORTAGE_NICENESS.

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

18 years agoSubstitute isolated-functions.sh in place of /sbin/functions.sh.
Zac Medico [Thu, 7 Sep 2006 07:01:09 +0000 (07:01 -0000)]
Substitute isolated-functions.sh in place of /sbin/functions.sh.

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

18 years agoCondense a few portageq calls into one.
Zac Medico [Thu, 7 Sep 2006 06:38:44 +0000 (06:38 -0000)]
Condense a few portageq calls into one.

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

18 years agoMake sure that the package phase has the PYTHONPATH set correctly so that the xpak...
Zac Medico [Thu, 7 Sep 2006 06:08:01 +0000 (06:08 -0000)]
Make sure that the package phase has the PYTHONPATH set correctly so that the xpak module is accessible.

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

18 years agoOptimize quickpkg so that it creates the binary package directly in $PKGDIR/All....
Zac Medico [Thu, 7 Sep 2006 06:00:18 +0000 (06:00 -0000)]
Optimize quickpkg so that it creates the binary package directly in $PKGDIR/All.  This eliminates the need for tbz2tool and is the same approach used by the package phase in misc-functions.sh.

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

18 years agoFor bug #146564, include directories in packages created by quickpkg. Note that...
Zac Medico [Thu, 7 Sep 2006 05:01:47 +0000 (05:01 -0000)]
For bug #146564, include directories in packages created by quickpkg.  Note that tar's --no-recursion option causes the directories to be selectively included without nessarily including their contents.

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

18 years agoDocument that dblink.unmerge() does not perform locking internally.
Zac Medico [Wed, 6 Sep 2006 20:19:08 +0000 (20:19 -0000)]
Document that dblink.unmerge() does not perform locking internally.

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

18 years agoProperly lock the critical section of portage.unmerge() for bug #101240.
Zac Medico [Wed, 6 Sep 2006 20:07:30 +0000 (20:07 -0000)]
Properly lock the critical section of portage.unmerge() for bug #101240.

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

18 years agoAllow env_update to work if there are broken symlinks in /etc/env.d/. See bug #146412.
Zac Medico [Wed, 6 Sep 2006 17:04:36 +0000 (17:04 -0000)]
Allow env_update to work if there are broken symlinks in /etc/env.d/.  See bug #146412.

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

18 years agoRemove ACCEPT_KEYWORDS from incrementals to that a hypothetical config.regenerate...
Zac Medico [Wed, 6 Sep 2006 07:36:42 +0000 (07:36 -0000)]
Remove ACCEPT_KEYWORDS from incrementals to that a hypothetical config.regenerate() call won't affect it.

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

18 years agoCall dep_settings.setcpv() first so that ACCEPT_KEYWORDS when setcpv calls reset...
Zac Medico [Wed, 6 Sep 2006 07:23:19 +0000 (07:23 -0000)]
Call dep_settings.setcpv() first so that ACCEPT_KEYWORDS when setcpv calls reset.  The backup_changes call isn't working for some reason (reported by vapier).

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

18 years agounpack rar files with -o+ to force overwriting #146508 by Paul Bredbury
Mike Frysinger [Wed, 6 Sep 2006 05:03:36 +0000 (05:03 -0000)]
unpack rar files with -o+ to force overwriting #146508 by Paul Bredbury

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

18 years agomake .compiled warning the same helpful format as .installed
Mike Frysinger [Wed, 6 Sep 2006 04:52:15 +0000 (04:52 -0000)]
make .compiled warning the same helpful format as .installed

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

18 years agoif user has FEATURES=noauto then dont check lame .installed file
Mike Frysinger [Wed, 6 Sep 2006 04:48:10 +0000 (04:48 -0000)]
if user has FEATURES=noauto then dont check lame .installed file

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

18 years agoDuring env_update, raise a FileNotFound exception if a file is unexpectedly removed...
Zac Medico [Tue, 5 Sep 2006 20:30:04 +0000 (20:30 -0000)]
During env_update, raise a FileNotFound exception if a file is unexpectedly removed by a concurrent process.  See bug #146412.

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

18 years agoAdd an additional note about $ROOT and USE flag handling in dep_check.
Zac Medico [Mon, 4 Sep 2006 23:58:20 +0000 (23:58 -0000)]
Add an additional note about $ROOT and USE flag handling in dep_check.

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

18 years agoRevert r4403 since dep_check needs a config instance for the $ROOT where the dependen...
Zac Medico [Mon, 4 Sep 2006 22:35:17 +0000 (22:35 -0000)]
Revert r4403 since dep_check needs a config instance for the $ROOT where the dependencies will be installed.

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

18 years agoOnly apply USE masks in dep_check when called by repoman with use="all".
Zac Medico [Mon, 4 Sep 2006 21:29:04 +0000 (21:29 -0000)]
Only apply USE masks in dep_check when called by repoman with use="all".

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

18 years agoUse a set for masklist inside dep_check.
Zac Medico [Mon, 4 Sep 2006 20:56:58 +0000 (20:56 -0000)]
Use a set for masklist inside dep_check.

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

18 years agoFor emerge dep_check calls, use a config instance that has the correct state and...
Zac Medico [Mon, 4 Sep 2006 19:50:52 +0000 (19:50 -0000)]
For emerge dep_check calls, use a config instance that has the correct state and the correct $ROOT.

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

18 years agoMove setcpv call (from the last commit) to a more logical location.
Zac Medico [Mon, 4 Sep 2006 18:50:25 +0000 (18:50 -0000)]
Move setcpv call (from the last commit) to a more logical location.

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

18 years agoAdd repoman support for package.use.mask.
Zac Medico [Mon, 4 Sep 2006 18:42:35 +0000 (18:42 -0000)]
Add repoman support for package.use.mask.

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

18 years agoSince none of the code is written to handle it, never return a tuple from new_protect...
Zac Medico [Mon, 4 Sep 2006 17:59:09 +0000 (17:59 -0000)]
Since none of the code is written to handle it, never return a tuple from new_protect_filename().  See bug #146289.

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

18 years agoDon't call dict.keys() unnecessarily for the containment test in dblink.isowner().
Zac Medico [Mon, 4 Sep 2006 04:44:09 +0000 (04:44 -0000)]
Don't call dict.keys() unnecessarily for the containment test in dblink.isowner().

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

18 years agoMove notes about --depclean and --newuse from NEWS to RELEASE-NOTES.
Zac Medico [Sun, 3 Sep 2006 21:36:26 +0000 (21:36 -0000)]
Move notes about --depclean and --newuse from NEWS to RELEASE-NOTES.

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

18 years agoAdd news about --newuse being able to detect changes in IUSE.
Zac Medico [Sun, 3 Sep 2006 21:27:26 +0000 (21:27 -0000)]
Add news about --newuse being able to detect changes in IUSE.

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

18 years agoWhen aux_get can't find a matching ebuild, simply raise a KeyError(cpv) and don't...
Zac Medico [Sun, 3 Sep 2006 20:47:52 +0000 (20:47 -0000)]
When aux_get can't find a matching ebuild, simply raise a KeyError(cpv) and don't dump redundant messages to stderr unless --debug is enabled.

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

18 years agomoving the portage-specific sandbox-code out of the ebuild-specific src_test
Simon Stelling [Sun, 3 Sep 2006 12:42:44 +0000 (12:42 -0000)]
moving the portage-specific sandbox-code out of the ebuild-specific src_test

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

18 years agoDescribe each of the USE flag symbols that are displayed in verbose mode (see bug...
Zac Medico [Sun, 3 Sep 2006 05:20:43 +0000 (05:20 -0000)]
Describe each of the USE flag symbols that are displayed in verbose mode (see bug #146060).

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

18 years agoMake code from the last 2 commits conditional on merging == 0 and vardbapi.cpv_exists...
Zac Medico [Sat, 2 Sep 2006 23:24:24 +0000 (23:24 -0000)]
Make code from the last 2 commits conditional on merging == 0 and vardbapi.cpv_exists(mykey).

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

18 years agoUpdate the depgraph's USE flag cache so that's it's consistent with installed packages.
Zac Medico [Sat, 2 Sep 2006 22:59:10 +0000 (22:59 -0000)]
Update the depgraph's USE flag cache so that's it's consistent with installed packages.

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

18 years agoWhen creating the depgraph, use the correct USE flags for packages that are already...
Zac Medico [Sat, 2 Sep 2006 22:55:17 +0000 (22:55 -0000)]
When creating the depgraph, use the correct USE flags for packages that are already installed.

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

18 years agoUse a specialized read_int function to read integer input for bug #143881. This...
Zac Medico [Tue, 29 Aug 2006 21:28:56 +0000 (21:28 -0000)]
Use a specialized read_int function to read integer input for bug #143881.  This uses a subshell to work around bash's tendency to break out of a loop whenever an integer conversion fails.

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