portage.git
17 years agoFor bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo... v2.1.2.3
Zac Medico [Wed, 28 Mar 2007 22:40:41 +0000 (22:40 -0000)]
For bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo(). (trunk r6320:6321)

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

17 years agoFor bug #172539, fix ecompressdir suffix handling so that automatic decompression...
Zac Medico [Wed, 28 Mar 2007 19:05:01 +0000 (19:05 -0000)]
For bug #172539, fix ecompressdir suffix handling so that automatic decompression of Z, gz, and bz2 suffixes works properly. (trunk r6308:6309)

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

17 years agoCorrectly pull the metadata again when the node is converted. (trunk r6306:6307)
Zac Medico [Wed, 28 Mar 2007 17:18:10 +0000 (17:18 -0000)]
Correctly pull the metadata again when the node is converted. (trunk r6306:6307)

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

17 years agoConvert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater...
Zac Medico [Wed, 28 Mar 2007 17:00:37 +0000 (17:00 -0000)]
Convert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater consistency in the depgraph. (trunk r6304:6305)

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

17 years agoSynchronize PORTAGE_COMPRESS_FLAGS to reflect that -9 is the default now. (trunk...
Zac Medico [Wed, 28 Mar 2007 08:59:03 +0000 (08:59 -0000)]
Synchronize PORTAGE_COMPRESS_FLAGS to reflect that -9 is the default now. (trunk r6302:6303)

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

17 years agoProperly anchor sed regexp for readlonly attribut filtering. (trunk r6300:6301)
Zac Medico [Tue, 27 Mar 2007 22:51:34 +0000 (22:51 -0000)]
Properly anchor sed regexp for readlonly attribut filtering. (trunk r6300:6301)

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

17 years agoFilter the readonly attribute from variables saved in ${T}/environment to prevent...
Zac Medico [Tue, 27 Mar 2007 22:33:26 +0000 (22:33 -0000)]
Filter the readonly attribute from variables saved in ${T}/environment to prevent 'readonly variable' error messages in later phases. (trunk r6298:6299)

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

17 years agosource ${T}/environment before the definition of qa_source() and qa_call() so that...
Zac Medico [Tue, 27 Mar 2007 22:24:18 +0000 (22:24 -0000)]
source ${T}/environment before the definition of qa_source() and qa_call() so that the call stack shows the original files and line numbers instead of those from ${T}/environment.  Thanks to Markus Ullmann <jokey@gentoo.org> for reporting. (trunk r6296:6297)

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

17 years agoforcibly break all hard links so we dont need to rely on --force in compressor (trunk...
Zac Medico [Tue, 27 Mar 2007 20:55:42 +0000 (20:55 -0000)]
forcibly break all hard links so we dont need to rely on --force in compressor (trunk r6220:6221)

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

17 years agodrop the need for the force flag by default and just delete the existing files automa...
Zac Medico [Tue, 27 Mar 2007 20:53:25 +0000 (20:53 -0000)]
drop the need for the force flag by default and just delete the existing files automatically #171007 (trunk r6218:6219)

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

17 years agosend stdout to /dev/null since we rely on the output of stdout here to determine...
Zac Medico [Tue, 27 Mar 2007 20:42:47 +0000 (20:42 -0000)]
send stdout to /dev/null since we rely on the output of stdout here to determine the proper suffix #171212 (trunk r6228:6229)

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

17 years agoFor bug #170178, remove all hardcoded references to '/usr/lib/portage'. (trunk r6202...
Zac Medico [Tue, 27 Mar 2007 20:32:16 +0000 (20:32 -0000)]
For bug #170178, remove all hardcoded references to '/usr/lib/portage'. (trunk r6202:6203)

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

17 years agoVerify the Manifest first even if there's only one package (prior to the fetch phase...
Zac Medico [Sun, 25 Mar 2007 09:57:30 +0000 (09:57 -0000)]
Verify the Manifest first even if there's only one package (prior to the fetch phase). (trunk r6282:6283)

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

17 years agoVerify all ebuild manifests before building anything now so that the user is notified...
Zac Medico [Sat, 24 Mar 2007 22:45:14 +0000 (22:45 -0000)]
Verify all ebuild manifests before building anything now so that the user is notified of failure as soon as possible. (trunk r6276:6277)

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

17 years agoreturn from the merge task instead of calling sys.exit directly. (trunk r6274:6275)
Zac Medico [Sat, 24 Mar 2007 21:42:57 +0000 (21:42 -0000)]
return from the merge task instead of calling sys.exit directly. (trunk r6274:6275)

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

17 years agoAllow the merge task to continue despite conflicts when --fetch-all-uri is specified...
Zac Medico [Sat, 24 Mar 2007 21:39:36 +0000 (21:39 -0000)]
Allow the merge task to continue despite conflicts when --fetch-all-uri is specified. (trunk r6272:6273)

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

17 years agoFor bug #172033, remove the obsolete QA Notice for man pages that are already compres...
Zac Medico [Sat, 24 Mar 2007 18:52:24 +0000 (18:52 -0000)]
For bug #172033, remove the obsolete QA Notice for man pages that are already compressed. (trunk r6270:6271)

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

17 years agoClean up and simplify preference selection logic for bug #171840. (trunk r6268:6269)
Zac Medico [Fri, 23 Mar 2007 02:56:00 +0000 (02:56 -0000)]
Clean up and simplify preference selection logic for bug #171840. (trunk r6268:6269)

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

17 years agoFor bug #171840, consider all choices for slot intersection and promote those that...
Zac Medico [Fri, 23 Mar 2007 01:27:16 +0000 (01:27 -0000)]
For bug #171840, consider all choices for slot intersection and promote those that have upgrades relative to other choices. (trunk r6266:6267)

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

17 years agoIgnore non-existent directories for bug #171809. This is required for readonly mode...
Zac Medico [Fri, 23 Mar 2007 00:16:32 +0000 (00:16 -0000)]
Ignore non-existent directories for bug #171809.  This is required for readonly mode. (trunk r6264:6265)

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

17 years agoFix a utime call to prevent a timestamp collision for bug #171117. (trunk r6216:6217)
Zac Medico [Fri, 16 Mar 2007 18:37:48 +0000 (18:37 -0000)]
Fix a utime call to prevent a timestamp collision for bug #171117. (trunk r6216:6217)

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

17 years agoFor bug #171117, ensure that the new and old config have different timestamps (for...
Zac Medico [Fri, 16 Mar 2007 18:12:21 +0000 (18:12 -0000)]
For bug #171117, ensure that the new and old config have different timestamps (for the benefit of programs like rsync that need distiguishable timestamps to detect file changes).  Thanks to Ben Bennett <sink@limey.net> for reporting. (trunk r6214:6215)

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

17 years agoAutomatically convert ROOT and PORTAGE_CONFIGROOT to absolute paths when necessary...
Zac Medico [Fri, 16 Mar 2007 05:02:20 +0000 (05:02 -0000)]
Automatically convert ROOT and PORTAGE_CONFIGROOT to absolute paths when necessary since relative paths lead to problems. (trunk r6209:6211)

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

17 years agoFor bug #163262 and conformance with section 7.2 of the PMS, make the export attribut...
Zac Medico [Fri, 16 Mar 2007 01:28:33 +0000 (01:28 -0000)]
For bug #163262 and conformance with section 7.2 of the PMS, make the export attribute of variables persist between ebuild phases. (trunk r6211:6212)

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

17 years agoMake prepinfo remove installed info indexes recursively. Thanks to Christian Faulham...
Zac Medico [Tue, 13 Mar 2007 06:58:59 +0000 (06:58 -0000)]
Make prepinfo remove installed info indexes recursively.  Thanks to Christian Faulhammer <opfer@gentoo.org> for reporting (see bugs #162675 and #170133). (trunk r6204:6205)

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

17 years agoFor bug #169620, in --tree display always show the dowload size on the node that... v2.1.2.2
Zac Medico [Tue, 6 Mar 2007 18:31:01 +0000 (18:31 -0000)]
For bug #169620, in --tree display always show the dowload size on the node that is "ordered" rather than one of it's "nomerge" counterparts. (trunk r6185:6186)

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

17 years agoallow people to disable compression by setting the PORTAGE_COMPRESS variables to...
Zac Medico [Mon, 5 Mar 2007 00:36:44 +0000 (00:36 -0000)]
allow people to disable compression by setting the PORTAGE_COMPRESS variables to "" (trunk r6173:6174)

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

17 years agoAvoid pointless population of the binary tree when --buildpkg is enabled. Thanks...
Zac Medico [Mon, 5 Mar 2007 00:13:31 +0000 (00:13 -0000)]
Avoid pointless population of the binary tree when --buildpkg is enabled.  Thanks to vapier for reporting. (trunk r6174:6175)

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

17 years agoDisplay blockers at the end of the list so that it will more often be easy for the...
Zac Medico [Sun, 4 Mar 2007 04:25:18 +0000 (04:25 -0000)]
Display blockers at the end of the list so that it will more often be easy for the user to see them in a terminal.  Thanks to iapitus and hydrogen for the suggestion. (trunk r6168:6169)

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

17 years agoRemove the KVERS environment variable since it's code that creates it is broken anywa... v2.1.2.1
Zac Medico [Sun, 4 Mar 2007 02:36:55 +0000 (02:36 -0000)]
Remove the KVERS environment variable since it's code that creates it is broken anyway (only sets KVERS="." in the general case). (trunk r6165:6166)

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

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