portage.git
17 years agoFix the minimum index for pruning consecutive duplicate nodes. (trunk r6163:6164)
Zac Medico [Sun, 4 Mar 2007 01:49:54 +0000 (01:49 -0000)]
Fix the minimum index for pruning consecutive duplicate nodes. (trunk r6163:6164)

svn path=/main/branches/2.1.2/; revision=6165

17 years agoAdd a note about --with-bdeps in the --depclean failure message. (trunk r6161:6162)
Zac Medico [Sun, 4 Mar 2007 01:36:24 +0000 (01:36 -0000)]
Add a note about --with-bdeps in the --depclean failure message. (trunk r6161:6162)

svn path=/main/branches/2.1.2/; revision=6163

17 years agoFor bug #169187, make --depclean prune unneeded slots such that it is consistent...
Zac Medico [Sun, 4 Mar 2007 00:34:57 +0000 (00:34 -0000)]
For bug #169187, make --depclean prune unneeded slots such that it is consistent with the world update algorithm. (trunk r6159:6160)

svn path=/main/branches/2.1.2/; revision=6161

17 years agoOnly prune duplicate consecutive nodes if they both have depth == 0. (trunk r6157...
Zac Medico [Sat, 3 Mar 2007 23:05:52 +0000 (23:05 -0000)]
Only prune duplicate consecutive nodes if they both have depth == 0. (trunk r6157:6158)

svn path=/main/branches/2.1.2/; revision=6159

17 years agoPass waiting_msg into recursive lockfile() calls. (trunk r6155:6156)
Zac Medico [Sat, 3 Mar 2007 21:47:59 +0000 (21:47 -0000)]
Pass waiting_msg into recursive lockfile() calls. (trunk r6155:6156)

svn path=/main/branches/2.1.2/; revision=6157

17 years agoMake sure that excess "nomerge" nodes are pruned correctly. (trunk r6147:6148)
Zac Medico [Sat, 3 Mar 2007 11:24:41 +0000 (11:24 -0000)]
Make sure that excess "nomerge" nodes are pruned correctly. (trunk r6147:6148)

svn path=/main/branches/2.1.2/; revision=6149

17 years agoAdd missing sys import. (trunk r6145:6146)
Zac Medico [Sat, 3 Mar 2007 10:39:35 +0000 (10:39 -0000)]
Add missing sys import. (trunk r6145:6146)

svn path=/main/branches/2.1.2/; revision=6147

17 years agoFor bug #138840, show a more informative message when waiting for a distfiles lock...
Zac Medico [Sat, 3 Mar 2007 09:49:56 +0000 (09:49 -0000)]
For bug #138840, show a more informative message when waiting for a distfiles lock due to parallel-fetch.  Thanks to David Watzke <david@watzke.cz> for the initial patch. (trunk r6142:6143)

svn path=/main/branches/2.1.2/; revision=6144

17 years agos/node/selected_parent/ for clarity (trunk r6140:6141)
Zac Medico [Sat, 3 Mar 2007 08:54:34 +0000 (08:54 -0000)]
s/node/selected_parent/ for clarity (trunk r6140:6141)

svn path=/main/branches/2.1.2/; revision=6142

17 years agoFix types.InstanceType test which is failing now for some reason. (trunk r6136:6137)
Zac Medico [Sat, 3 Mar 2007 08:32:20 +0000 (08:32 -0000)]
Fix types.InstanceType test which is failing now for some reason. (trunk r6136:6137)

svn path=/main/branches/2.1.2/; revision=6140

17 years agoupdate --help example to match current behavior #168678 by Arthur Hagen (trunk r6099...
Zac Medico [Sat, 3 Mar 2007 08:07:54 +0000 (08:07 -0000)]
update --help example to match current behavior #168678 by Arthur Hagen (trunk r6099:6100)

svn path=/main/branches/2.1.2/; revision=6139

17 years agoFor bug #169046, fill in the --tree display with "nomerge" nodes so that the user...
Zac Medico [Sat, 3 Mar 2007 01:21:20 +0000 (01:21 -0000)]
For bug #169046, fill in the --tree display with "nomerge" nodes so that the user can always see at lease 1 parent on any non-root node.  Packages may appear in the display list multiple times, and will be marked "nomerge" when their position in the list does not correspond to actual merge order. (trunk r6134:6135)

svn path=/main/branches/2.1.2/; revision=6136

17 years agoWhen emerge automatically resumes, add --ignore-default-opts to the command line...
Zac Medico [Fri, 2 Mar 2007 20:07:20 +0000 (20:07 -0000)]
When emerge automatically resumes, add --ignore-default-opts to the command line in order to prevent things like --ask from leaking in via EMERGE_DEFAULT_OPTS.  Thanks to Peter Weller <welp@gentoo.org> for reporting. (trunk r6132:6133)

svn path=/main/branches/2.1.2/; revision=6134

17 years agoFor bug #168646, remove --prune-empty-dirs from PORTAGE_RSYNC_OPTS since it's only...
Zac Medico [Fri, 2 Mar 2007 07:26:37 +0000 (07:26 -0000)]
For bug #168646, remove --prune-empty-dirs from PORTAGE_RSYNC_OPTS since it's only a small optimization and it's inconvenient to force >=rsync-2.6.4 on server admins at this time.  If users desire, they can still add it to PORTAGE_RSYNC_EXTRA_OPTS. (trunk r6128:6129)

svn path=/main/branches/2.1.2/; revision=6130

17 years agoEven if there's no timestamp available locally, fetch the timestamp anyway as an...
Zac Medico [Fri, 2 Mar 2007 01:48:53 +0000 (01:48 -0000)]
Even if there's no timestamp available locally, fetch the timestamp anyway as an initial probe to verify that the server is responsive.  This protects us from hanging indefinitely on a connection attempt to an unresponsive server which rsync's --timeout option does not prevent. (trunk r6126:6127)

svn path=/main/branches/2.1.2/; revision=6128

17 years agoRemove unnecessary print statement reported by solar. (trunk r6124:6125)
Zac Medico [Fri, 2 Mar 2007 00:11:19 +0000 (00:11 -0000)]
Remove unnecessary print statement reported by solar. (trunk r6124:6125)

svn path=/main/branches/2.1.2/; revision=6126

17 years agoFix broken rsync exitcode shift. (trunk r6122:6123)
Zac Medico [Thu, 1 Mar 2007 23:47:46 +0000 (23:47 -0000)]
Fix broken rsync exitcode shift. (trunk r6122:6123)

svn path=/main/branches/2.1.2/; revision=6124

17 years agoFix the rest of the broken except statement syntax. (trunk r6120:6121)
Zac Medico [Thu, 1 Mar 2007 23:31:46 +0000 (23:31 -0000)]
Fix the rest of the broken except statement syntax. (trunk r6120:6121)

svn path=/main/branches/2.1.2/; revision=6122

17 years agoFix broken except statement syntax. (trunk r6118:6119)
Zac Medico [Thu, 1 Mar 2007 23:18:52 +0000 (23:18 -0000)]
Fix broken except statement syntax. (trunk r6118:6119)

svn path=/main/branches/2.1.2/; revision=6120

17 years agoFor consistency, remove exit code 2 (protocol incompatibility) from the other list...
Zac Medico [Thu, 1 Mar 2007 22:21:30 +0000 (22:21 -0000)]
For consistency, remove exit code 2 (protocol incompatibility) from the other list of rsync exit codes. (trunk r6116:6117)

svn path=/main/branches/2.1.2/; revision=6118

17 years agoAdd compatibility code to avoid the GNU specific --reference option of chmod. Thanks...
Zac Medico [Thu, 1 Mar 2007 22:07:25 +0000 (22:07 -0000)]
Add compatibility code to avoid the GNU specific --reference option of chmod.  Thanks to Timothy Redaelli <drizzt@gentoo.org>. (trunk r6114:6115)

svn path=/main/branches/2.1.2/; revision=6116

17 years agoMerge --quiet fixes from trunk r6112:6113
Zac Medico [Thu, 1 Mar 2007 21:27:29 +0000 (21:27 -0000)]
Merge --quiet fixes from trunk r6112:6113

svn path=/main/branches/2.1.2/; revision=6114

17 years agoMake sure pids are appropriately removed from portage_exec.spawned_pids. (trunk r6110...
Zac Medico [Thu, 1 Mar 2007 20:50:10 +0000 (20:50 -0000)]
Make sure pids are appropriately removed from portage_exec.spawned_pids. (trunk r6110:6111)

svn path=/main/branches/2.1.2/; revision=6112

17 years agoUse an alarm signal to implement a timeout when rsync is fetching the server timestam...
Zac Medico [Thu, 1 Mar 2007 20:42:52 +0000 (20:42 -0000)]
Use an alarm signal to implement a timeout when rsync is fetching the server timestamp file, since rsync's --timeout option doesn't apply to the initial connection attempt. (trunk r6108:6109)

svn path=/main/branches/2.1.2/; revision=6110

17 years agoFor bug #168646, don't bail out immediately when rsync detects protocol incompatibili...
Zac Medico [Thu, 1 Mar 2007 12:46:08 +0000 (12:46 -0000)]
For bug #168646, don't bail out immediately when rsync detects protocol incompatibility (code 2) during fetching of the timestamp file.  Retry for a better server (up to PORTAGE_RSYNC_RETRIES). (trunk r6103:6104)

svn path=/main/branches/2.1.2/; revision=6105

17 years agoFor bug #168823, fix broken except statement syntax that prevents the ValueError...
Zac Medico [Thu, 1 Mar 2007 03:36:46 +0000 (03:36 -0000)]
For bug #168823, fix broken except statement syntax that prevents the ValueError from being caught as intended. (trunk r6101:6102)

svn path=/main/branches/2.1.2/; revision=6103

17 years agoFor bug #168267, use add --force to the default PORTAGE_COMPRESS_FLAGS so that hardli...
Zac Medico [Tue, 27 Feb 2007 05:05:16 +0000 (05:05 -0000)]
For bug #168267, use add --force to the default PORTAGE_COMPRESS_FLAGS so that hardlinks are automatically broken. (trunk r6087:6088)

svn path=/main/branches/2.1.2/; revision=6089

17 years agoFor compatibility with older findutils, don't use the -L predicate (bug #168432)...
Zac Medico [Tue, 27 Feb 2007 04:56:06 +0000 (04:56 -0000)]
For compatibility with older findutils, don't use the -L predicate (bug #168432). (trunk r6085:6086)

svn path=/main/branches/2.1.2/; revision=6087

17 years agoFor bug #167668, prune empty ${FILESDIR}s by adding --prune-empty-dirs to PORTAGE_RS...
Zac Medico [Mon, 26 Feb 2007 03:38:32 +0000 (03:38 -0000)]
For bug #167668, prune empty ${FILESDIR}s by adding  --prune-empty-dirs to PORTAGE_RSYNC_OPTS.  Thanks to Ulrich Mueller <ulm@kph.uni-mainz.de> for the suggestion. (trunk r6069:6070)

svn path=/main/branches/2.1.2/; revision=6071

17 years agoClean up os.environ["USERLAND"] pollution from the portage_data module so that it...
Zac Medico [Sat, 24 Feb 2007 12:45:42 +0000 (12:45 -0000)]
Clean up os.environ["USERLAND"] pollution from the portage_data module so that it doesn't interfere with repoman. (trunk r6067:6068)

svn path=/main/branches/2.1.2/; revision=6069

17 years agoAllow --verbose to trigger a merge list even without --pretend, --ask, or --tree...
Zac Medico [Sat, 24 Feb 2007 00:57:51 +0000 (00:57 -0000)]
Allow --verbose to trigger a merge list even without --pretend, --ask, or --tree.  Thanks to agaffney and zlin for the suggestion. (trunk r6065:6066)

svn path=/main/branches/2.1.2/; revision=6067

17 years agoAs requested by solar, never show a merge list unless it's explicitly requested by...
Zac Medico [Fri, 23 Feb 2007 23:52:43 +0000 (23:52 -0000)]
As requested by solar, never show a merge list unless it's explicitly requested by --ask, --pretend, or --tree. (trunk r6064)

svn path=/main/branches/2.1.2/; revision=6065

17 years agoAs requested by solar, never show a merge list unless it's explicitly requested by...
Zac Medico [Fri, 23 Feb 2007 23:40:24 +0000 (23:40 -0000)]
As requested by solar, never show a merge list unless it's explicitly requested by --ask, --pretend, or --tree.

svn path=/main/branches/2.1.2/; revision=6063

17 years agoFilter paths matching '/<built-in>$' that come from debugedit. Thanks to Ed Catmur...
Zac Medico [Fri, 23 Feb 2007 23:21:28 +0000 (23:21 -0000)]
Filter paths matching '/<built-in>$' that come from debugedit.  Thanks to Ed Catmur for this patch from bug #165342.

svn path=/main/branches/2.1.2/; revision=6061

17 years agoDo not show the spinner and the "Calculating dependencies" message for installation...
Zac Medico [Fri, 23 Feb 2007 21:26:48 +0000 (21:26 -0000)]
Do not show the spinner and the "Calculating dependencies" message for installation actions when the --nodeps option has been specified.  Thanks to David Watzke <david@watzke.cz> for this patch from bug #168169. (trunk r6057:6058)

svn path=/main/branches/2.1.2/; revision=6059

17 years agoMake verify_all() return an "insufficient data" error if there is not at least one...
Zac Medico [Fri, 23 Feb 2007 14:17:13 +0000 (14:17 -0000)]
Make verify_all() return an "insufficient data" error if there is not at least one supported hash type. Make fetch() bail out when this error occurs. (trunk r6054:6056)

svn path=/main/branches/2.1.2/; revision=6057

17 years agospawn rsync without a shell. (trunk r6050:6051)
Zac Medico [Fri, 23 Feb 2007 00:57:24 +0000 (00:57 -0000)]
spawn rsync without a shell. (trunk r6050:6051)

svn path=/main/branches/2.1.2/; revision=6052

17 years agoRemove quotes since rsync doesn't accept them (and there is no shell to remove them...
Zac Medico [Thu, 22 Feb 2007 23:46:39 +0000 (23:46 -0000)]
Remove quotes since rsync doesn't accept them (and there is no shell to remove them since we use spawn() for rsync now). (trunk r6047:6048)

svn path=/main/branches/2.1.2/; revision=6050

17 years agoFor bug #167668, use an rsync "hide" filter rule to exclude **/files/digest-* and...
Zac Medico [Thu, 22 Feb 2007 23:45:18 +0000 (23:45 -0000)]
For bug #167668, use an rsync "hide" filter rule to exclude **/files/digest-* and delete them on the receiver. (trunk r6046:6047)

svn path=/main/branches/2.1.2/; revision=6049

17 years agoDon't bother to parse ${FILESDIR}/digest-* when manifest1_compat is disabled. (trunk...
Zac Medico [Thu, 22 Feb 2007 22:15:43 +0000 (22:15 -0000)]
Don't bother to parse ${FILESDIR}/digest-* when manifest1_compat is disabled. (trunk r6044:6045)

svn path=/main/branches/2.1.2/; revision=6046

17 years agoFor bug #167667, add support for ${PORTDIR}/manifest1_obsolete and automatically...
Zac Medico [Thu, 22 Feb 2007 21:50:58 +0000 (21:50 -0000)]
For bug #167667, add support for ${PORTDIR}/manifest1_obsolete and automatically remove ${FILESDIR}/digest-* from cvs when appropriate. (trunk r6041:6042)

svn path=/main/branches/2.1.2/; revision=6044

17 years agoFor bug #167667, use the existence of ${PORTDIR}/manifest1_obsolete to trigger the...
Zac Medico [Thu, 22 Feb 2007 21:48:59 +0000 (21:48 -0000)]
For bug #167667, use the existence of ${PORTDIR}/manifest1_obsolete to trigger the disabling of manifest1/digest file generation.  This toggle is repo/overlay specific, allowing a specific overlay to drop manifest1 by adding the manifest1_obsolete file. (trunk r6040:6041)

svn path=/main/branches/2.1.2/; revision=6043

17 years agoMake sure that ${A} in initialized in case pkg_nofetch() needs to be called. Thanks...
Zac Medico [Thu, 22 Feb 2007 21:11:27 +0000 (21:11 -0000)]
Make sure that ${A} in initialized in case pkg_nofetch() needs to be called.  Thanks to Peper for reporting. (trunk r6038:6039)

svn path=/main/branches/2.1.2/; revision=6040

17 years agoFix broken file list handling for FEATUES=sign when only the Manifest has changed...
Zac Medico [Thu, 22 Feb 2007 13:21:17 +0000 (13:21 -0000)]
Fix broken file list handling for FEATUES=sign when only the Manifest has changed. Add some sanity checks for file list handling when repolevel < 3. (trunk r6034:6036)

svn path=/main/branches/2.1.2/; revision=6037

17 years agoFix more broken commitmessagefile handling. (trunk r6032:6033)
Zac Medico [Thu, 22 Feb 2007 12:48:53 +0000 (12:48 -0000)]
Fix more broken commitmessagefile handling. (trunk r6032:6033)

svn path=/main/branches/2.1.2/; revision=6034

17 years agoUse startdir instead of mydir since mydir has a trailing slash which triggers normali...
Zac Medico [Thu, 22 Feb 2007 12:30:55 +0000 (12:30 -0000)]
Use startdir instead of mydir since mydir has a trailing slash which triggers normalization issues with the dirname function. (trunk r6030:6031)

svn path=/main/branches/2.1.2/; revision=6032

17 years agoAvoid a TypeError when commitmessagefile is None. (trunk r6028:6029)
Zac Medico [Thu, 22 Feb 2007 12:00:31 +0000 (12:00 -0000)]
Avoid a TypeError when commitmessagefile is None. (trunk r6028:6029)

svn path=/main/branches/2.1.2/; revision=6030

17 years agoFix stardir and repodir logic from the previous commit. (trunk r6026:6027)
Zac Medico [Wed, 21 Feb 2007 10:12:32 +0000 (10:12 -0000)]
Fix stardir and repodir logic from the previous commit. (trunk r6026:6027)

svn path=/main/branches/2.1.2/; revision=6028

17 years agoFor consistency, replace multiple os.getcwd() calls with the "mydir" variable. (trunk...
Zac Medico [Wed, 21 Feb 2007 09:33:04 +0000 (09:33 -0000)]
For consistency, replace multiple os.getcwd() calls with the "mydir" variable. (trunk r6023:6024)

svn path=/main/branches/2.1.2/; revision=6026

17 years agos/x/xs/ to fix a typo in a variable name. (trunk r6022:6023)
Zac Medico [Wed, 21 Feb 2007 09:32:08 +0000 (09:32 -0000)]
s/x/xs/ to fix a typo in a variable name. (trunk r6022:6023)

svn path=/main/branches/2.1.2/; revision=6025

17 years agoRaise a CommandNotFound exception when necessary, to ease troubleshooting. Thanks...
Zac Medico [Wed, 21 Feb 2007 04:37:32 +0000 (04:37 -0000)]
Raise a CommandNotFound exception when necessary, to ease troubleshooting.  Thanks to marienz for reporting. (trunk r6020:6021)

svn path=/main/branches/2.1.2/; revision=6022

17 years agoFor bug #167795, try avoid the population routine when possible, so that FEATURES...
Zac Medico [Tue, 20 Feb 2007 21:49:14 +0000 (21:49 -0000)]
For bug #167795, try avoid the population routine when possible, so that FEATURES=buildpkg doesn't always force population. (trunk r6018:6019)

svn path=/main/branches/2.1.2/; revision=6020

17 years agoAs requested by vapier, don't show the merge list in --quiet mode unless it's explici...
Zac Medico [Tue, 20 Feb 2007 21:30:44 +0000 (21:30 -0000)]
As requested by vapier, don't show the merge list in --quiet mode unless it's explicitly requested via --ask or --pretend. (trunk r6016:6017)

svn path=/main/branches/2.1.2/; revision=6018

17 years agoFor bug #167217, don't hardcode /usr/lib/portage. (trunk r5945)
Zac Medico [Mon, 19 Feb 2007 08:46:42 +0000 (08:46 -0000)]
For bug #167217, don't hardcode /usr/lib/portage. (trunk r5945)

svn path=/main/branches/2.1.2/; revision=6016

17 years agoOptimize order for --tree display of circular dependencies. (trunk r6013:6014)
Zac Medico [Mon, 19 Feb 2007 07:34:15 +0000 (07:34 -0000)]
Optimize order for --tree display of circular dependencies. (trunk r6013:6014)

svn path=/main/branches/2.1.2/; revision=6015

17 years agoMake digraph._merge_order_bias() operate on a single digraph that's passed in. (trunk...
Zac Medico [Mon, 19 Feb 2007 07:08:50 +0000 (07:08 -0000)]
Make digraph._merge_order_bias() operate on a single digraph that's passed in. (trunk r6011:6012)

svn path=/main/branches/2.1.2/; revision=6013

17 years agoFor bug #167450, optimize leaf node selection by ordering nodes from highest to lowes...
Zac Medico [Mon, 19 Feb 2007 06:36:20 +0000 (06:36 -0000)]
For bug #167450, optimize leaf node selection by ordering nodes from highest to lowest overall reference count. (trunk r6009:6010)

svn path=/main/branches/2.1.2/; revision=6011

17 years agoAutomatically enable --tree mode when displaying nodes with circular deps. (trunk...
Zac Medico [Mon, 19 Feb 2007 01:24:32 +0000 (01:24 -0000)]
Automatically enable --tree mode when displaying nodes with circular deps. (trunk r6007:6008)

svn path=/main/branches/2.1.2/; revision=6009

17 years agoFor bug #166564, make a circular dependency panic more user friendly by displaying...
Zac Medico [Mon, 19 Feb 2007 00:46:37 +0000 (00:46 -0000)]
For bug #166564, make a circular dependency panic more user friendly by displaying the USE flags that are enabled on nodes that are part of dependency cycles and display a note hinting that circular dependencies can often be avoided by temporarily disabling USE flags. (trunk r6005:6006)

svn path=/main/branches/2.1.2/; revision=6007

17 years agoDon't exclude . since that excludes the entire contents of some tar files. (trunk...
Zac Medico [Sun, 18 Feb 2007 23:29:10 +0000 (23:29 -0000)]
Don't exclude . since that excludes the entire contents of some tar files. (trunk r6003:6004)

svn path=/main/branches/2.1.2/; revision=6005

17 years agoWhen calling tar, always exclud . in order to preserver PORTAGE_WORKDIR_MODE. Thanks...
Zac Medico [Sun, 18 Feb 2007 23:16:17 +0000 (23:16 -0000)]
When calling tar, always exclud . in order to preserver PORTAGE_WORKDIR_MODE.  Thanks to Brian Harring in bug #167544. (trunk r6001:6002)

svn path=/main/branches/2.1.2/; revision=6003

17 years agoFor bug #166880, always display the merge list header. (trunk r5999:6000)
Zac Medico [Sun, 18 Feb 2007 22:22:15 +0000 (22:22 -0000)]
For bug #166880, always display the merge list header. (trunk r5999:6000)

svn path=/main/branches/2.1.2/; revision=6001

17 years agoFor bug #166880, always display the merge list (allowing --tree to be obeyed in any...
Zac Medico [Sun, 18 Feb 2007 21:57:20 +0000 (21:57 -0000)]
For bug #166880, always display the merge list (allowing --tree to be obeyed in any case). (trunk r5997:5998)

svn path=/main/branches/2.1.2/; revision=5999

17 years agoFor bug #167450, optimize merge order by delaying the merge of root nodes. (trunk...
Zac Medico [Sun, 18 Feb 2007 20:46:27 +0000 (20:46 -0000)]
For bug #167450, optimize merge order by delaying the merge of root nodes. (trunk r5995:5996)

svn path=/main/branches/2.1.2/; revision=5997

17 years agoFor bug #163990, warn about binary packages with invalid categories and do not allow...
Zac Medico [Sun, 18 Feb 2007 08:52:07 +0000 (08:52 -0000)]
For bug #163990, warn about binary packages with invalid categories and do not allow them to be installed. (trunk r5989:5990)

svn path=/main/branches/2.1.2/; revision=5991

17 years agoFor bug #163990, warn about ebuilds with invalid categories and do not allow them...
Zac Medico [Sun, 18 Feb 2007 08:23:18 +0000 (08:23 -0000)]
For bug #163990, warn about ebuilds with invalid categories and do not allow them to be installed. (trunk r5987:5988)

svn path=/main/branches/2.1.2/; revision=5989

17 years agoFor bug #166785, check for invalid categories in the world file. (trunk r5985:5986)
Zac Medico [Sun, 18 Feb 2007 07:50:48 +0000 (07:50 -0000)]
For bug #166785, check for invalid categories in the world file. (trunk r5985:5986)

svn path=/main/branches/2.1.2/; revision=5987

17 years agoFor bug #166939, make --nodeps work like a normal package for new-style virtuals...
Zac Medico [Sat, 17 Feb 2007 19:44:39 +0000 (19:44 -0000)]
For bug #166939, make --nodeps work like a normal package for new-style virtuals. (trunk r5981:5982 and r5983:5984)

svn path=/main/branches/2.1.2/; revision=5985

17 years agoDetect potential issues with mtime granlarity in env_update() and sleep if necessary...
Zac Medico [Fri, 16 Feb 2007 01:43:47 +0000 (01:43 -0000)]
Detect potential issues with mtime granlarity in env_update() and sleep if necessary.  Thanks to Brian Harring for reporting. (trunk r5960:5961)

svn path=/main/branches/2.1.2/; revision=5972

17 years agoFix CONFIG_PROTECT_MASK support. Thanks to piavlo <piavka@cs.bgu.ac.il> for this...
Zac Medico [Thu, 15 Feb 2007 20:25:49 +0000 (20:25 -0000)]
Fix CONFIG_PROTECT_MASK support.  Thanks to piavlo <piavka@cs.bgu.ac.il> for this patch from bug #166837. (trunk r5968:5970)

svn path=/main/branches/2.1.2/; revision=5971

17 years agoOptimize merge order calculation for --tree output when necessary. (trunk r5967)
Zac Medico [Wed, 14 Feb 2007 22:49:06 +0000 (22:49 -0000)]
Optimize merge order calculation for --tree output when necessary.  (trunk r5967)

svn path=/main/branches/2.1.2/; revision=5968

17 years agoFor bug #158100, use an exact reversal of the actual merge order for --tree output...
Zac Medico [Wed, 14 Feb 2007 18:35:33 +0000 (18:35 -0000)]
For bug #158100, use an exact reversal of the actual merge order for --tree output.  It's more efficient than doing 2 order calculations. (trunk r5965)

svn path=/main/branches/2.1.2/; revision=5966

17 years agoMake xterm titles work even when color is disabled. Thanks to Joachim Kaeber <joachi...
Zac Medico [Mon, 12 Feb 2007 07:13:27 +0000 (07:13 -0000)]
Make xterm titles work even when color is disabled.  Thanks to Joachim Kaeber <joachim.kaeber@web.de> in bug #166255. (trunk r5949:5950)

svn path=/main/branches/2.1.2/; revision=5958

17 years agoIn the event of a circular dependency panic, eliminate root nodes in order to reduce...
Zac Medico [Mon, 12 Feb 2007 07:11:06 +0000 (07:11 -0000)]
In the event of a circular dependency panic, eliminate root nodes in order to reduce the noise level to a minimum. (trunk r5956)

svn path=/main/branches/2.1.2/; revision=5957

17 years agoMake the "lfull" output more succinct by omitting categories for which there are... v2.1.2-r9
Zac Medico [Thu, 8 Feb 2007 04:23:33 +0000 (04:23 -0000)]
Make the "lfull" output more succinct by omitting categories for which there are no violations. (trunk r5928)

svn path=/main/branches/2.1.2/; revision=5929

17 years agoTurn on strict dep checking to fix the isvalidatom test (trunk r5926).
Zac Medico [Thu, 8 Feb 2007 02:40:57 +0000 (02:40 -0000)]
Turn on strict dep checking to fix the isvalidatom test (trunk r5926).

svn path=/main/branches/2.1.2/; revision=5927

17 years agoSynchronize required hash code in all relevant places. (trunk r5924)
Zac Medico [Wed, 7 Feb 2007 23:44:49 +0000 (23:44 -0000)]
Synchronize required hash code in all relevant places. (trunk r5924)

svn path=/main/branches/2.1.2/; revision=5925

17 years agoFor bug #165783, handle a potential InvalidDependString exception in repoman and...
Zac Medico [Wed, 7 Feb 2007 23:05:10 +0000 (23:05 -0000)]
For bug #165783, handle a potential InvalidDependString exception in repoman and report a SRC_URI.syntax failure. (trunk r5922)

svn path=/main/branches/2.1.2/; revision=5923

17 years agoFor bug #165783, handle a potential InvalidDependString exception inside doebuild...
Zac Medico [Wed, 7 Feb 2007 22:25:01 +0000 (22:25 -0000)]
For bug #165783, handle a potential InvalidDependString exception inside doebuild(). (trunk r5920)

svn path=/main/branches/2.1.2/; revision=5921

17 years agoEnable strict dep checking for repoman. (trunk r5918)
Zac Medico [Wed, 7 Feb 2007 21:55:12 +0000 (21:55 -0000)]
Enable strict dep checking for repoman. (trunk r5918)

svn path=/main/branches/2.1.2/; revision=5919

17 years agoFor bug #165783, handle a potential InvalidDependString exception inside digestgen...
Zac Medico [Wed, 7 Feb 2007 21:49:10 +0000 (21:49 -0000)]
For bug #165783, handle a potential InvalidDependString exception inside digestgen(). (trunk r5916)

svn path=/main/branches/2.1.2/; revision=5917

17 years agoFor bug #165780, make config-protect code consistently ignore '.*~' and '.*.bak'...
Zac Medico [Wed, 7 Feb 2007 21:12:21 +0000 (21:12 -0000)]
For bug #165780, make config-protect code consistently ignore '.*~' and '.*.bak'. (trunk r5914)

svn path=/main/branches/2.1.2/; revision=5915

17 years agoOnly echo PORTAGE_LOG_FILE if it's actually set (may not be if sesandbox is enabled...
Zac Medico [Wed, 7 Feb 2007 20:46:23 +0000 (20:46 -0000)]
Only echo PORTAGE_LOG_FILE if it's actually set (may not be if sesandbox is enabled). (trunk r5912)

svn path=/main/branches/2.1.2/; revision=5913

17 years agoFor backward compatibility with api consumers, _dep_check_strict behavior will be...
Zac Medico [Wed, 7 Feb 2007 20:34:28 +0000 (20:34 -0000)]
For backward compatibility with api consumers, _dep_check_strict behavior will be explicitly enabled as necessary.  Thanks to Brian <dol-sen@telus.net> for reporting issues with porthole and equery. (trunk r5907)

svn path=/main/branches/2.1.2/; revision=5911

17 years agoFor bug #165783, handle an InvalidDependString exception triggered by an invalid...
Zac Medico [Wed, 7 Feb 2007 20:02:36 +0000 (20:02 -0000)]
For bug #165783, handle an InvalidDependString exception triggered by an invalid SRC_URI. (trunk r5908)

svn path=/main/branches/2.1.2/; revision=5909

17 years agoEnsure that the code for bug #165382 only affects name collisions with virtuals....
Zac Medico [Mon, 5 Feb 2007 22:00:44 +0000 (22:00 -0000)]
Ensure that the code for bug #165382 only affects name collisions with virtuals. (trunk r5890:5891)

svn path=/main/branches/2.1.2/; revision=5901

17 years agoFor bug #165349, use the portage_versions regex (via pkgsplit) instead of the incompa...
Zac Medico [Mon, 5 Feb 2007 21:31:22 +0000 (21:31 -0000)]
For bug #165349, use the portage_versions regex (via pkgsplit) instead of the incompatible ones that repoman currently uses. (trunk r5887:5888)

svn path=/main/branches/2.1.2/; revision=5900

17 years agoDocument --config-root for bug #165334. (trunk r5888:5889)
Zac Medico [Mon, 5 Feb 2007 21:30:12 +0000 (21:30 -0000)]
Document --config-root for bug #165334. (trunk r5888:5889)

svn path=/main/branches/2.1.2/; revision=5899

17 years agoFor bug #165382, show a helpful message if an exception is raised from cpv_expand...
Zac Medico [Mon, 5 Feb 2007 21:27:10 +0000 (21:27 -0000)]
For bug #165382, show a helpful message if an exception is raised from cpv_expand(). (trunk r5897)

svn path=/main/branches/2.1.2/; revision=5898

17 years agoFor bug #165382, don't raise a ValueError in cpv_expand() if there are only two match...
Zac Medico [Mon, 5 Feb 2007 20:45:23 +0000 (20:45 -0000)]
For bug #165382, don't raise a ValueError in cpv_expand() if there are only two matches and one of them is a virtual.  Prefer the non-virtual instead. (trunk r5889:5891)

svn path=/main/branches/2.1.2/; revision=5896

17 years agoadd warning about storing data in PORTDIR (trunk r5865:5866)
Zac Medico [Sat, 3 Feb 2007 12:34:37 +0000 (12:34 -0000)]
add warning about storing data in PORTDIR (trunk r5865:5866)

svn path=/main/branches/2.1.2/; revision=5884

17 years agoFor bug #165065, use the proper RESTRICT setting when fetching files in digestgen...
Zac Medico [Sat, 3 Feb 2007 12:31:06 +0000 (12:31 -0000)]
For bug #165065, use the proper RESTRICT setting when fetching files in digestgen(). (trunk r5874:5875)

svn path=/main/branches/2.1.2/; revision=5883

17 years agoFor bug #165034, make sure that symlinks are excluded from chmod calls. (trunk r5876...
Zac Medico [Sat, 3 Feb 2007 12:27:21 +0000 (12:27 -0000)]
For bug #165034, make sure that symlinks are excluded from chmod calls. (trunk r5876:5879)

svn path=/main/branches/2.1.2/; revision=5882

17 years agoIn order to correctly handl the case of target caches that don't have complete eclass...
Zac Medico [Sat, 3 Feb 2007 12:05:01 +0000 (12:05 -0000)]
In order to correctly handl the case of target caches that don't have complete eclass entries, validate the set of interited eclasses to make sure it is correct (since timestamp validation is not applicable). (trunk r5880)

svn path=/main/branches/2.1.2/; revision=5881

17 years agoDon't use os.path.isdir() because it can swallow errors related to filesystem/disk... v2.1.2-r6
Zac Medico [Thu, 1 Feb 2007 20:22:16 +0000 (20:22 -0000)]
Don't use os.path.isdir() because it can swallow errors related to filesystem/disk corruption. (trunk r5851:5852)

svn path=/main/branches/2.1.2/; revision=5869

17 years agoLoad the most current variables from /etc/profile.env for post_emerge stuff. (trunk...
Zac Medico [Thu, 1 Feb 2007 20:16:06 +0000 (20:16 -0000)]
Load the most current variables from /etc/profile.env for post_emerge stuff. (trunk 5857:5858)

svn path=/main/branches/2.1.2/; revision=5868

17 years agoRename dir.bz2 since that's the most likely case now. (trunk r5864:5865)
Zac Medico [Thu, 1 Feb 2007 20:14:00 +0000 (20:14 -0000)]
Rename dir.bz2 since that's the most likely case now. (trunk r5864:5865)

svn path=/main/branches/2.1.2/; revision=5867

17 years agoFix --newuse so that it works correctly with --usepkg. (trunk r5859)
Zac Medico [Thu, 1 Feb 2007 07:30:25 +0000 (07:30 -0000)]
Fix --newuse so that it works correctly with --usepkg. (trunk r5859)

svn path=/main/branches/2.1.2/; revision=5860

17 years agoUse find + xargs to avoid a potential 'Argument list too long' from bash. (trunk...
Zac Medico [Wed, 31 Jan 2007 00:10:30 +0000 (00:10 -0000)]
Use find + xargs to avoid a potential 'Argument list too long' from bash. (trunk r5844:5845)

svn path=/main/branches/2.1.2/; revision=5846

17 years agoFor bug #164363, shuffle the ip addresses returned from socket.getaddrinfo(). (trunk...
Zac Medico [Tue, 30 Jan 2007 23:40:14 +0000 (23:40 -0000)]
For bug #164363, shuffle the ip addresses returned from socket.getaddrinfo(). (trunk r5832:5833)

svn path=/main/branches/2.1.2/; revision=5844