Zac Medico [Sun, 1 Jul 2007 20:05:40 +0000 (20:05 -0000)]
If necessary, resample the leaf nodes so that they include all nodes whose hard deps are satisfied.
svn path=/main/trunk/; revision=7116
Zac Medico [Sun, 1 Jul 2007 17:16:32 +0000 (17:16 -0000)]
s/PORTAGE_EXTRA_RSYNC_OPTS/PORTAGE_RSYNC_OPTS/ for correctness.
svn path=/main/trunk/; revision=7114
Zac Medico [Sun, 1 Jul 2007 17:08:59 +0000 (17:08 -0000)]
For bug #131030, update the warning about potential for emerge --sync overwrite or delete files in ${PORTDIR}. Add references to the PKGDIR and DISTDIR docs.
svn path=/main/trunk/; revision=7112
Zac Medico [Sun, 1 Jul 2007 08:38:54 +0000 (08:38 -0000)]
Revert --buildpkgonly logic back because it was already correct.
svn path=/main/trunk/; revision=7110
Zac Medico [Sun, 1 Jul 2007 08:34:33 +0000 (08:34 -0000)]
Update --buildpkgonly logic to account for DepPriority.MEDIUM_SOFT.
svn path=/main/trunk/; revision=7108
Zac Medico [Sun, 1 Jul 2007 08:14:54 +0000 (08:14 -0000)]
Add medium-soft support to DepPriority.__str__().
svn path=/main/trunk/; revision=7106
Zac Medico [Sun, 1 Jul 2007 07:50:35 +0000 (07:50 -0000)]
For bug #180045, try to merge PDEPEND as soon as possible so that it behaves more like RDEPEND.
svn path=/main/trunk/; revision=7104
Zac Medico [Sat, 30 Jun 2007 23:38:04 +0000 (23:38 -0000)]
Add a QA warning for invalid values of RESTRICT. Thanks to peper for the patch.
svn path=/main/trunk/; revision=7102
Zac Medico [Sat, 30 Jun 2007 23:15:51 +0000 (23:15 -0000)]
Add docs for /etc/portage/color.map and a few misc man page fixes. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> in bug #183758.
svn path=/main/trunk/; revision=7100
Zac Medico [Sat, 30 Jun 2007 13:19:58 +0000 (13:19 -0000)]
Remove old wheel group warnings since portage stopped using this group long ago.
svn path=/main/trunk/; revision=7099
Marius Mauch [Sat, 30 Jun 2007 11:21:26 +0000 (11:21 -0000)]
apply additional phase filters as otherwise some messages are logged in both unmerge and merge
svn path=/main/trunk/; revision=7098
Marius Mauch [Sat, 30 Jun 2007 10:32:36 +0000 (10:32 -0000)]
ewarn when merging a package and the source repository/overlay does not have a name
svn path=/main/trunk/; revision=7097
Marius Mauch [Sat, 30 Jun 2007 10:04:42 +0000 (10:04 -0000)]
print a notice when a repository/overlay does not have a name
svn path=/main/trunk/; revision=7096
Zac Medico [Fri, 29 Jun 2007 21:46:13 +0000 (21:46 -0000)]
Add a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals have instead of brown.
svn path=/main/trunk/; revision=7094
Zac Medico [Fri, 29 Jun 2007 21:30:10 +0000 (21:30 -0000)]
Test for existence of the getRepositories method since bindbapi doesn't have it atm.
svn path=/main/trunk/; revision=7093
Zac Medico [Fri, 29 Jun 2007 14:09:12 +0000 (14:09 -0000)]
For bug #183639, give a more informative message with the package.provided warning.
svn path=/main/trunk/; revision=7091
Marius Mauch [Fri, 29 Jun 2007 09:09:49 +0000 (09:09 -0000)]
display source repository for installed package and target package (bug #67072)
svn path=/main/trunk/; revision=7089
Marius Mauch [Fri, 29 Jun 2007 08:04:24 +0000 (08:04 -0000)]
Use better parseable format for list_preserved_libs
svn path=/main/trunk/; revision=7088
Marius Mauch [Fri, 29 Jun 2007 08:03:46 +0000 (08:03 -0000)]
Store name of source repository in vdb node for later comparison
svn path=/main/trunk/; revision=7087
Zac Medico [Thu, 28 Jun 2007 09:44:48 +0000 (09:44 -0000)]
Fix typo.
svn path=/main/trunk/; revision=7083
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
Zac Medico [Thu, 28 Jun 2007 09:06:02 +0000 (09:06 -0000)]
Remove unused worldlist variable.
svn path=/main/trunk/; revision=7078
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
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
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
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
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
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
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
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
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
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
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
Zac Medico [Wed, 27 Jun 2007 10:11:01 +0000 (10:11 -0000)]
Fix quoting.
svn path=/main/trunk/; revision=7057
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
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
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
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
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
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
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
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
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
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
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
Zac Medico [Mon, 25 Jun 2007 09:14:44 +0000 (09:14 -0000)]
Fix typo.
svn path=/main/trunk/; revision=7029
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
Zac Medico [Mon, 25 Jun 2007 04:49:12 +0000 (04:49 -0000)]
Allow SystemExit through as usual.
svn path=/main/trunk/; revision=7025
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
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
Zac Medico [Mon, 25 Jun 2007 02:54:15 +0000 (02:54 -0000)]
Fix typo.
svn path=/main/trunk/; revision=7019
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
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
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
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
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
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
Zac Medico [Sun, 24 Jun 2007 21:47:03 +0000 (21:47 -0000)]
Clarify RESUMECOMMAND requirements.
svn path=/main/trunk/; revision=7005
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
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
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
Zac Medico [Sun, 24 Jun 2007 18:09:01 +0000 (18:09 -0000)]
Fix more typos from r6988.
svn path=/main/trunk/; revision=6996
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
Zac Medico [Sun, 24 Jun 2007 08:47:40 +0000 (08:47 -0000)]
Fix typo.
svn path=/main/trunk/; revision=6989
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
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
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
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
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
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
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
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
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
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
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
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
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
Marius Mauch [Sat, 23 Jun 2007 16:11:47 +0000 (16:11 -0000)]
syntax error
svn path=/main/trunk/; revision=6974
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
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
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
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
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
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
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
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
Zac Medico [Fri, 22 Jun 2007 23:17:08 +0000 (23:17 -0000)]
Remove confcache docs.
svn path=/main/trunk/; revision=6956
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
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
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
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
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
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
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
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
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
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
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
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
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