portage.git
17 years agoFix typo.
Zac Medico [Thu, 28 Jun 2007 09:44:48 +0000 (09:44 -0000)]
Fix typo.

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

17 years agoFor bug #144333, document the new --reinstall=changed-use option.
Zac Medico [Thu, 28 Jun 2007 09:31:37 +0000 (09:31 -0000)]
For bug #144333, document the new --reinstall=changed-use option.

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

17 years agoRemove unused worldlist variable.
Zac Medico [Thu, 28 Jun 2007 09:06:02 +0000 (09:06 -0000)]
Remove unused worldlist variable.

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

17 years agoDon't colorize system package when in "world" mode.
Zac Medico [Thu, 28 Jun 2007 09:01:17 +0000 (09:01 -0000)]
Don't colorize system package when in "world" mode.

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

17 years agoFor bug #142473, add 2 additional color classes for system packages and packages...
Zac Medico [Thu, 28 Jun 2007 08:50:29 +0000 (08:50 -0000)]
For bug #142473, add 2 additional color classes for system packages and packages matched by arguments.

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

17 years agoFor bug #183431, catch a ParseError caused by a corrupt profile and dump an error...
Zac Medico [Thu, 28 Jun 2007 04:57:05 +0000 (04:57 -0000)]
For bug #183431, catch a ParseError caused by a corrupt profile and dump an error message.  This allows emerge to continue with actions that don't require a valid profile, such as --sync.

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

17 years agoWhen filling in "nomerge" nodes for --tree display, stop at a node that is an argumen...
Zac Medico [Thu, 28 Jun 2007 02:48:02 +0000 (02:48 -0000)]
When filling in "nomerge" nodes for --tree display, stop at a node that is an argument or a direct member of a set that has been specified as an argument (system or world).

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

17 years agoFor bug #144333, make the --reinstall option a single choice type.
Zac Medico [Thu, 28 Jun 2007 02:36:53 +0000 (02:36 -0000)]
For bug #144333, make the --reinstall option a single choice type.

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

17 years agoDiscard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used...
Zac Medico [Thu, 28 Jun 2007 01:48:17 +0000 (01:48 -0000)]
Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used and the --tree algorithm does a good job of regenerating them when appropriate.

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

17 years agoJust use a containment test for matching pprovided args since it works correctly...
Zac Medico [Thu, 28 Jun 2007 01:22:19 +0000 (01:22 -0000)]
Just use a containment test for matching pprovided args since it works correctly and match_to_list() isn't appropriate for this.

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

17 years agoCache aux_get() metadata in depgraph.create() and use PROVIDE for matching packages...
Zac Medico [Thu, 28 Jun 2007 01:04:36 +0000 (01:04 -0000)]
Cache aux_get() metadata in depgraph.create() and use PROVIDE for matching packages to arguments.

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

17 years agoImprove tracking of correspondence between arguments and packages in the depgraph.
Zac Medico [Wed, 27 Jun 2007 18:16:42 +0000 (18:16 -0000)]
Improve tracking of correspondence between arguments and packages in the depgraph.

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

17 years agoInstead of just a list, use a cat/pkg dict for matching packages against args in...
Zac Medico [Wed, 27 Jun 2007 15:15:19 +0000 (15:15 -0000)]
Instead of just a list, use a cat/pkg dict for matching packages against args in the depgraph.

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

17 years agoFor bug #142473, account for $ROOT when deciding if a package is part of world or...
Zac Medico [Wed, 27 Jun 2007 14:54:49 +0000 (14:54 -0000)]
For bug #142473, account for $ROOT when deciding if a package is part of world or not.

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

17 years agoFix quoting.
Zac Medico [Wed, 27 Jun 2007 10:11:01 +0000 (10:11 -0000)]
Fix quoting.

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

17 years agoFormat $EBUILD_OVERLAY_ECLASSES output more like it was before.
Zac Medico [Wed, 27 Jun 2007 09:56:12 +0000 (09:56 -0000)]
Format $EBUILD_OVERLAY_ECLASSES output more like it was before.

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

17 years agoFor bug #144333, add a --reinstall=changed-use option which behaves similar to how...
Zac Medico [Wed, 27 Jun 2007 04:18:39 +0000 (04:18 -0000)]
For bug #144333, add a --reinstall=changed-use option which behaves similar to how --newuse behaved in portage-2.0.x days.

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

17 years agoFormat the callstack indentation more like it used to be.
Zac Medico [Wed, 27 Jun 2007 03:21:30 +0000 (03:21 -0000)]
Format the callstack indentation more like it used to be.

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

17 years agoSend the ebuild die message through eerror and make sure that elog_process() gets...
Zac Medico [Wed, 27 Jun 2007 01:20:56 +0000 (01:20 -0000)]
Send the ebuild die message through eerror and make sure that elog_process() gets called when an ebuild dies.  This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen.

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

17 years agoPreserve merge order in elog output.
Zac Medico [Tue, 26 Jun 2007 23:08:44 +0000 (23:08 -0000)]
Preserve merge order in elog output.

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

17 years agoShort circuit the loop as soon as missing hashes are detected.
Zac Medico [Tue, 26 Jun 2007 22:38:17 +0000 (22:38 -0000)]
Short circuit the loop as soon as missing hashes are detected.

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

17 years agoShort circuit the loop as soon as missing hashes are detected.
Zac Medico [Tue, 26 Jun 2007 22:18:57 +0000 (22:18 -0000)]
Short circuit the loop as soon as missing hashes are detected.

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

17 years agoAdd one more size == 0 check to digestgen().
Zac Medico [Tue, 26 Jun 2007 22:16:27 +0000 (22:16 -0000)]
Add one more size == 0 check to digestgen().

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

17 years agoAdd sanity checks in fetch() and digestgen() to automatically detect and handle inval...
Zac Medico [Tue, 26 Jun 2007 17:48:49 +0000 (17:48 -0000)]
Add sanity checks in fetch() and digestgen() to automatically detect and handle invalid empty distfiles since some users have reported difficulty when trying to create digests.

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

17 years agoFor bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.
Zac Medico [Mon, 25 Jun 2007 19:41:56 +0000 (19:41 -0000)]
For bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.

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

17 years agoFor bug #142473, add 4 color classes corresponding to combinations of world/merge...
Zac Medico [Mon, 25 Jun 2007 10:36:59 +0000 (10:36 -0000)]
For bug #142473, add 4 color classes corresponding to combinations of world/merge/nomerge attributes of each package.

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

17 years agoFix typo.
Zac Medico [Mon, 25 Jun 2007 09:14:44 +0000 (09:14 -0000)]
Fix typo.

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

17 years agoDon't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrec...
Zac Medico [Mon, 25 Jun 2007 06:21:33 +0000 (06:21 -0000)]
Don't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrecognized protocols like sftp.

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

17 years agoAllow SystemExit through as usual.
Zac Medico [Mon, 25 Jun 2007 04:49:12 +0000 (04:49 -0000)]
Allow SystemExit through as usual.

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

17 years agoFix file_get_lib() so it behaves the same way with sftp as it does with other protocols.
Zac Medico [Mon, 25 Jun 2007 04:47:35 +0000 (04:47 -0000)]
Fix file_get_lib() so it behaves the same way with sftp as it does with other protocols.

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

17 years agoFor bug #175891, add sftp protocol support via the paramiko library.
Zac Medico [Mon, 25 Jun 2007 03:23:17 +0000 (03:23 -0000)]
For bug #175891, add sftp protocol support via the paramiko library.

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

17 years agoFix typo.
Zac Medico [Mon, 25 Jun 2007 02:54:15 +0000 (02:54 -0000)]
Fix typo.

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

17 years agoFix resume logic in binarytree.gettbz2().
Zac Medico [Mon, 25 Jun 2007 02:48:41 +0000 (02:48 -0000)]
Fix resume logic in binarytree.gettbz2().

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

17 years agoFor bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2().
Zac Medico [Mon, 25 Jun 2007 02:35:55 +0000 (02:35 -0000)]
For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2().

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

17 years agoClean up file_get() to use shlex, varexpand, and spawn.
Zac Medico [Mon, 25 Jun 2007 02:07:11 +0000 (02:07 -0000)]
Clean up file_get() to use shlex, varexpand, and spawn.

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

17 years agoFix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partia...
Zac Medico [Sun, 24 Jun 2007 23:47:03 +0000 (23:47 -0000)]
Fix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partially downloaded files.

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

17 years agoRemove unused imports and unnecessary dict.keys() call.
Zac Medico [Sun, 24 Jun 2007 22:44:59 +0000 (22:44 -0000)]
Remove unused imports and unnecessary dict.keys() call.

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

17 years agoUse a set to optimize containment lookups.
Zac Medico [Sun, 24 Jun 2007 22:05:52 +0000 (22:05 -0000)]
Use a set to optimize containment lookups.

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

17 years agoClarify RESUMECOMMAND requirements.
Zac Medico [Sun, 24 Jun 2007 21:47:03 +0000 (21:47 -0000)]
Clarify RESUMECOMMAND requirements.

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

17 years agoUpdate the FETCHCOMMAND docs to indicate that the command should be +written to place...
Zac Medico [Sun, 24 Jun 2007 21:29:39 +0000 (21:29 -0000)]
Update the FETCHCOMMAND docs to indicate that the command should be +written to place the fetched file at ${DISTDIR}/${FILE}.

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

17 years agoFix broken base_uri handling for old-style binhosts in binarytree.gettbz2().
Zac Medico [Sun, 24 Jun 2007 20:36:52 +0000 (20:36 -0000)]
Fix broken base_uri handling for old-style binhosts in binarytree.gettbz2().

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

17 years agoFor bug #180706, add sorting and a trailing newline in the rest of the cases where...
Zac Medico [Sun, 24 Jun 2007 18:58:42 +0000 (18:58 -0000)]
For bug #180706, add sorting and a trailing newline in the rest of the cases where the world file is written.

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

17 years agoFix more typos from r6988.
Zac Medico [Sun, 24 Jun 2007 18:09:01 +0000 (18:09 -0000)]
Fix more typos from r6988.

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

17 years agoHandle 'Permission denied' errors that can occur if the current user isn't allowed...
Zac Medico [Sun, 24 Jun 2007 09:38:29 +0000 (09:38 -0000)]
Handle 'Permission denied' errors that can occur if the current user isn't allowed to access PRIVATE_PATH.

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

17 years agoFix typo.
Zac Medico [Sun, 24 Jun 2007 08:47:40 +0000 (08:47 -0000)]
Fix typo.

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

17 years agoFix column alignment in unmerge output.
Zac Medico [Sun, 24 Jun 2007 07:54:50 +0000 (07:54 -0000)]
Fix column alignment in unmerge output.

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

17 years agoMake the fix for bug #139600 slightly less icky by grabbing the ACCEPT_KEYWORDS throu...
Zac Medico [Sun, 24 Jun 2007 07:11:46 +0000 (07:11 -0000)]
Make the fix for bug #139600 slightly less icky by grabbing the ACCEPT_KEYWORDS through mysettings.configdict[backupenv] instead of directly through os.environ.

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

17 years agoAlways unlink the .installed flag prior to merge since portage.movefile() never leave...
Zac Medico [Sun, 24 Jun 2007 06:43:09 +0000 (06:43 -0000)]
Always unlink the .installed flag prior to merge since portage.movefile() never leaves  intact.

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

17 years agoProvide a default value for PORTAGE_BINPKG_TMPFILE in case the package phase is calle...
Zac Medico [Sun, 24 Jun 2007 06:40:36 +0000 (06:40 -0000)]
Provide a default value for PORTAGE_BINPKG_TMPFILE in case the package phase is called by the ebuild command.

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

17 years agoFor bug #182964, replace os.rename() with portage.movefile() in cases where the paren...
Zac Medico [Sun, 24 Jun 2007 00:32:05 +0000 (00:32 -0000)]
For bug #182964, replace os.rename() with portage.movefile() in cases where the parent directory might change.

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

17 years agoFix check_config_instance() weirdness when the ebuild command reloads the portage...
Zac Medico [Sat, 23 Jun 2007 23:03:17 +0000 (23:03 -0000)]
Fix check_config_instance() weirdness when the ebuild command reloads the portage module.

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

17 years agoget ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values...
Marius Mauch [Sat, 23 Jun 2007 19:36:30 +0000 (19:36 -0000)]
get ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values (bug #139600)

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

17 years agoAdd a pointer from FETCHCOMMAND to RESUMECOMMAND (bug #141550)
Marius Mauch [Sat, 23 Jun 2007 19:16:52 +0000 (19:16 -0000)]
Add a pointer from FETCHCOMMAND to RESUMECOMMAND (bug #141550)

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

17 years agohighlight world packages in --pretend output (bug #142473)
Marius Mauch [Sat, 23 Jun 2007 19:12:36 +0000 (19:12 -0000)]
highlight world packages in --pretend output (bug #142473)

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

17 years agodont break when the binhost url doesn't end with a slash (bug #144440)
Marius Mauch [Sat, 23 Jun 2007 18:47:55 +0000 (18:47 -0000)]
dont break when the binhost url doesn't end with a slash (bug #144440)

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

17 years agochange default diff_command for emacs (bug #147558)
Marius Mauch [Sat, 23 Jun 2007 18:16:45 +0000 (18:16 -0000)]
change default diff_command for emacs (bug #147558)

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

17 years agosort the world file before writing it and ensure that it's terminated by a newline
Marius Mauch [Sat, 23 Jun 2007 16:29:05 +0000 (16:29 -0000)]
sort the world file before writing it and ensure that it's terminated by a newline

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

17 years agos/!owned/replaced/ in merge output to clarify it
Marius Mauch [Sat, 23 Jun 2007 16:17:49 +0000 (16:17 -0000)]
s/!owned/replaced/ in merge output to clarify it

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

17 years agosyntax error
Marius Mauch [Sat, 23 Jun 2007 16:11:47 +0000 (16:11 -0000)]
syntax error

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

17 years agoAllow sync for unpriviledges users if they have write access to $PORTDIR
Marius Mauch [Sat, 23 Jun 2007 15:50:35 +0000 (15:50 -0000)]
Allow sync for unpriviledges users if they have write access to $PORTDIR

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

17 years agoadd hashlib support for checksum verification, refactor checksum functions to not...
Marius Mauch [Sat, 23 Jun 2007 13:12:07 +0000 (13:12 -0000)]
add hashlib support for checksum verification, refactor checksum functions to not look like a complete mess

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

17 years agoRevert r6967 since shutil.move() is broken internally.
Zac Medico [Sat, 23 Jun 2007 13:09:30 +0000 (13:09 -0000)]
Revert r6967 since shutil.move() is broken internally.

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

17 years agos/OSError/EnvironmentError/ since shutil.move() generally raises an IOError.
Zac Medico [Sat, 23 Jun 2007 11:09:45 +0000 (11:09 -0000)]
s/OSError/EnvironmentError/ since shutil.move() generally raises an IOError.

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

17 years agoFor bug #182964, replace os.rename() with shutil.move() in order to handle EXDEV...
Zac Medico [Sat, 23 Jun 2007 10:58:09 +0000 (10:58 -0000)]
For bug #182964, replace os.rename() with shutil.move() in order to handle EXDEV errors that are triggered by layered filesystems.

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

17 years agoRemove redundant 'Usage: ' from the usage message.
Zac Medico [Sat, 23 Jun 2007 03:58:10 +0000 (03:58 -0000)]
Remove redundant 'Usage: ' from the usage message.

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

17 years agoAdd a logrotate config for the save_summary elog module since it's enabled by default...
Zac Medico [Sat, 23 Jun 2007 00:21:36 +0000 (00:21 -0000)]
Add a logrotate config for the save_summary elog module since it's enabled by default now.

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

17 years agoShow which $ROOT a package was merged to when $ROOT is not /.
Zac Medico [Fri, 22 Jun 2007 23:42:22 +0000 (23:42 -0000)]
Show which $ROOT a package was merged to when $ROOT is not /.

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

17 years agoRemove confcache docs.
Zac Medico [Fri, 22 Jun 2007 23:17:08 +0000 (23:17 -0000)]
Remove confcache docs.

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

17 years agoMake elog finalize() handling safe for PORTAGE_CONFIGROOT.
Zac Medico [Fri, 22 Jun 2007 23:11:38 +0000 (23:11 -0000)]
Make elog finalize() handling safe for PORTAGE_CONFIGROOT.

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

17 years agoDocument RESTRICT=bindist and add a note about allowance for conditional syntax.
Zac Medico [Fri, 22 Jun 2007 21:55:05 +0000 (21:55 -0000)]
Document RESTRICT=bindist and add a note about allowance for conditional syntax.

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

17 years agoDump mod_echo elog output inside post_emerge(), just before the other notifications...
Zac Medico [Fri, 22 Jun 2007 13:43:46 +0000 (13:43 -0000)]
Dump mod_echo elog output inside post_emerge(), just before the other notifications that happen at exit.

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

17 years agoAdd a note about potential for config mixups in elog finalizers.
Zac Medico [Fri, 22 Jun 2007 12:57:41 +0000 (12:57 -0000)]
Add a note about potential for config mixups in elog finalizers.

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

17 years agoUpdate 2.1.3 news for elog stuff.
Zac Medico [Fri, 22 Jun 2007 11:00:39 +0000 (11:00 -0000)]
Update 2.1.3 news for elog stuff.

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

17 years agoFor bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROT...
Zac Medico [Fri, 22 Jun 2007 08:47:02 +0000 (08:47 -0000)]
For bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROTECT.  Add a --include-config option that includes all config files and a --include-unmodified-config that includes config files that have not been modified since installation (matching md5sum).

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

17 years agoMake quickpkg print a warning if "bindist" is in RESTRICT.
Zac Medico [Fri, 22 Jun 2007 06:13:46 +0000 (06:13 -0000)]
Make quickpkg print a warning if "bindist" is in RESTRICT.

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

17 years agocache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_
Mike Frysinger [Thu, 21 Jun 2007 23:42:52 +0000 (23:42 -0000)]
cache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_

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

17 years agoClean up config.__getitem__(), get() and setdefault() implementions.
Zac Medico [Thu, 21 Jun 2007 21:37:25 +0000 (21:37 -0000)]
Clean up config.__getitem__(), get() and setdefault() implementions.

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

17 years agoSimplify the implementation of config.__iter__ and also implement iterkeys().
Zac Medico [Thu, 21 Jun 2007 21:14:56 +0000 (21:14 -0000)]
Simplify the implementation of config.__iter__ and also implement iterkeys().

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

17 years agoImplement iterkeys on top of __iter__ instead of vice versa. Thanks to Brian Harring...
Zac Medico [Thu, 21 Jun 2007 21:10:00 +0000 (21:10 -0000)]
Implement iterkeys on top of __iter__ instead of vice versa.  Thanks to Brian Harring for the suggestion.

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

17 years agoAutodetect if sandbox is active in order to prevent recursive sandbox invocation...
Zac Medico [Thu, 21 Jun 2007 20:36:22 +0000 (20:36 -0000)]
Autodetect if sandbox is active in order to prevent recursive sandbox invocation.  Thanks to Brian Harring for the suggestion.

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

17 years agoImplement config.has_key() on top of __contains__ instead of vice versa.
Zac Medico [Thu, 21 Jun 2007 20:15:10 +0000 (20:15 -0000)]
Implement config.has_key() on top of __contains__ instead of vice versa.

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

17 years agoFix the test so that it can run inside a sandbox.
Zac Medico [Thu, 21 Jun 2007 12:16:49 +0000 (12:16 -0000)]
Fix the test so that it can run inside a sandbox.

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

17 years agoImplement UserConfigKlass.__iter__() so that tests pass.
Zac Medico [Thu, 21 Jun 2007 12:12:01 +0000 (12:12 -0000)]
Implement UserConfigKlass.__iter__() so that tests pass.

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

17 years agoRemove more unnecessary list generation.
Zac Medico [Thu, 21 Jun 2007 12:01:43 +0000 (12:01 -0000)]
Remove more unnecessary list generation.

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

17 years agoRemove more unnecessary list generation.
Zac Medico [Thu, 21 Jun 2007 11:40:51 +0000 (11:40 -0000)]
Remove more unnecessary list generation.

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

17 years agoRemove lots of unnecessary list generation via dict.keys().
Zac Medico [Thu, 21 Jun 2007 10:57:55 +0000 (10:57 -0000)]
Remove lots of unnecessary list generation via dict.keys().

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

17 years agoDon't generate a list of keys for a containment test.
Zac Medico [Thu, 21 Jun 2007 06:25:32 +0000 (06:25 -0000)]
Don't generate a list of keys for a containment test.

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

17 years agoDon't call digraph.hasallzeros() in --resume mode because the digraph isn't currently...
Zac Medico [Thu, 21 Jun 2007 05:59:57 +0000 (05:59 -0000)]
Don't call digraph.hasallzeros() in --resume mode because the digraph isn't currently populated in that case.

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

17 years agoMake IUSE handling safe for IUSE defaults.
Zac Medico [Thu, 21 Jun 2007 03:42:16 +0000 (03:42 -0000)]
Make IUSE handling safe for IUSE defaults.

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

17 years agoas noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if we try...
Mike Frysinger [Thu, 21 Jun 2007 03:04:41 +0000 (03:04 -0000)]
as noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if we try to create a binpkg for something that has IUSE=bindist but was emerged with USE=-bindist

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

17 years agoIn dblink._security_check(), use os.path.realpath to make sure that the same path...
Zac Medico [Thu, 21 Jun 2007 02:19:54 +0000 (02:19 -0000)]
In dblink._security_check(), use os.path.realpath to make sure that the same path isn't counted twice.

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

17 years agoAdd an --ignore-default-opts option that is analogous to the corresponding emerge...
Zac Medico [Wed, 20 Jun 2007 23:53:23 +0000 (23:53 -0000)]
Add an --ignore-default-opts option that is analogous to the corresponding emerge option.

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

17 years agoUse the the optparse options for --ignore-default-opts since that allows option abrev...
Zac Medico [Wed, 20 Jun 2007 23:43:29 +0000 (23:43 -0000)]
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work.

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

17 years agoMake the progress bar percentage indicator stop at 100% instead of just 99%.
Zac Medico [Wed, 20 Jun 2007 10:06:30 +0000 (10:06 -0000)]
Make the progress bar percentage indicator stop at 100% instead of just 99%.

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

17 years agoShow a "world problems" warning for packages that aren't installed, even if they...
Zac Medico [Wed, 20 Jun 2007 09:46:33 +0000 (09:46 -0000)]
Show a "world problems" warning for packages that aren't installed, even if they are available.

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

17 years agoMake all the classes inherit from object.
Zac Medico [Wed, 20 Jun 2007 07:11:52 +0000 (07:11 -0000)]
Make all the classes inherit from object.

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

17 years agoIf a package is in the world set but it's not installed, go ahead and install it...
Zac Medico [Wed, 20 Jun 2007 05:08:10 +0000 (05:08 -0000)]
If a package is in the world set but it's not installed, go ahead and install it if it's available (instead of telling the user to run emaint).

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

17 years agoFor bug #180165, make has_version dir if portageq has an unexpected exit code.
Zac Medico [Wed, 20 Jun 2007 00:17:17 +0000 (00:17 -0000)]
For bug #180165, make has_version dir if portageq has an unexpected exit code.

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

17 years agoFor bug #180165, make portageq print a "Permission denied" error when appropriate...
Zac Medico [Wed, 20 Jun 2007 00:01:49 +0000 (00:01 -0000)]
For bug #180165, make portageq print a "Permission denied" error when appropriate.  A PermissionDenied exception is raised from portage.listdir() enven when EmptyOnError is True since errno.EACCES is very likely to indicate a condition that should be reported in any case.

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

17 years agoFix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission...
Zac Medico [Tue, 19 Jun 2007 21:59:55 +0000 (21:59 -0000)]
Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission denied).

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