portage.git
17 years agomisc style fixes (trunk r6400:6401)
Zac Medico [Sat, 14 Apr 2007 19:22:49 +0000 (19:22 -0000)]
misc style fixes (trunk r6400:6401)

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

17 years agorevise tests so that does not trigger an error (trunk r6400:6401)
Zac Medico [Sat, 14 Apr 2007 19:21:01 +0000 (19:21 -0000)]
revise tests so that  does not trigger an error (trunk r6400:6401)

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

17 years agodocument new version suffix style #166522 (trunk r6394:6395)
Zac Medico [Sat, 14 Apr 2007 07:47:48 +0000 (07:47 -0000)]
document new version suffix style #166522 (trunk r6394:6395)

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

17 years agocreate leading directories to match behavior of other do* programs (trunk r6393:6394...
Zac Medico [Sat, 14 Apr 2007 07:45:14 +0000 (07:45 -0000)]
create leading directories to match behavior of other do* programs (trunk r6393:6394 and r6395:6396)

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

17 years agosimplify unsafe file checking so files/paths with spaces dont cause troubles (trunk...
Zac Medico [Fri, 13 Apr 2007 19:50:52 +0000 (19:50 -0000)]
simplify unsafe file checking so files/paths with spaces dont cause troubles (trunk r6391:6392)

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

17 years agoUse relative paths inside ecompressdir in order to avoid 'Argument list too long...
Zac Medico [Fri, 13 Apr 2007 05:44:23 +0000 (05:44 -0000)]
Use relative paths inside ecompressdir in order to avoid 'Argument list too long' errors with large file sets (observed when installing sys-apps/man-pages). (trunk r6387:6388)

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

17 years agoAdd CATEGORY to blacklisted variables since it can interfere with CATEGORY guessing...
Zac Medico [Fri, 13 Apr 2007 05:11:04 +0000 (05:11 -0000)]
Add CATEGORY to blacklisted variables since it can interfere with CATEGORY guessing inside doebuild. (trunk r6385:6386)

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

17 years agoUse catpkgsplit instead of pkgsplit for consistency with usage elsewhere. (trunk...
Zac Medico [Fri, 13 Apr 2007 04:14:50 +0000 (04:14 -0000)]
Use catpkgsplit instead of pkgsplit for consistency with usage elsewhere. (trunk r6383:6384)

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

17 years agocleanup example ebuild to be more representative of a good ebuild #174260 by Timothy...
Zac Medico [Thu, 12 Apr 2007 19:49:25 +0000 (19:49 -0000)]
cleanup example ebuild to be more representative of a good ebuild #174260 by Timothy Redaelli (trunk r6378:6379)

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

17 years agoremove references to EXEDESTTREE (trunk r6349:6350)
Zac Medico [Thu, 12 Apr 2007 05:29:16 +0000 (05:29 -0000)]
remove references to EXEDESTTREE (trunk r6349:6350)

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

17 years agodocument /var/cache/edb/, /var/db/pkg/, and /var/lib/portage/config (trunk r6348...
Zac Medico [Thu, 12 Apr 2007 05:28:37 +0000 (05:28 -0000)]
document /var/cache/edb/, /var/db/pkg/, and /var/lib/portage/config (trunk r6348:6349)

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

17 years agotell people that the FILES section is not supposed to be complete (and sneak in a...
Zac Medico [Thu, 12 Apr 2007 05:27:08 +0000 (05:27 -0000)]
tell people that the FILES section is not supposed to be complete (and sneak in a few style fixups) (trunk r6347:6348)

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

17 years agoremove references to DOCDESTTREE and INSDESTTREE (trunk r6345:6346)
Zac Medico [Thu, 12 Apr 2007 05:25:58 +0000 (05:25 -0000)]
remove references to DOCDESTTREE and INSDESTTREE (trunk r6345:6346)

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

17 years agoFor bug #173808, add back the old heuristics to make sure that we don't just blindly...
Zac Medico [Thu, 12 Apr 2007 04:14:46 +0000 (04:14 -0000)]
For bug #173808, add back the old heuristics to make sure that we don't just blindly compress the contents of any directory named "man".

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

17 years agoFor bug #173808, compress ${mandir} all in one go instead of doing subdirectories...
Zac Medico [Tue, 10 Apr 2007 08:41:20 +0000 (08:41 -0000)]
For bug #173808, compress ${mandir} all in one go instead of doing subdirectories separately.  This allows symlinks that point into sibling directories to get updated properly by ecompressdir. (trunk r6361:6362)

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

17 years agoEfficiently recycle partial valid vdb cache when possible. This reduces disk load...
Zac Medico [Tue, 10 Apr 2007 06:04:10 +0000 (06:04 -0000)]
Efficiently recycle partial valid vdb cache when possible.  This reduces disk load when switching between versions of portage that cache different keys. (trunk r6359:6360)

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

17 years agoDon't load FEATURES in load_infodir() because FEATURES from the build host shouldn...
Zac Medico [Mon, 9 Apr 2007 17:20:00 +0000 (17:20 -0000)]
Don't load FEATURES in load_infodir() because FEATURES from the build host shouldn't be interpreted asFEATURES on the client system.  Thanks to Thanks to Chri

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

17 years agoOnly apply permissions to ccache, confcache, and distcc dirs when they are created...
Zac Medico [Sun, 8 Apr 2007 19:37:13 +0000 (19:37 -0000)]
Only apply permissions to ccache, confcache, and distcc dirs when they are created in order to avoid interference with whatever the user's preferred permissions are.  Thanks to Diego Pettenò <flameeyes@gmail.com> for reporting. (trunk r6353:6354)

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

17 years agoPunt the sorted_versions() function in favor of list.sort(vercmp). (trunk r6338:6339)
Zac Medico [Thu, 5 Apr 2007 20:47:09 +0000 (20:47 -0000)]
Punt the sorted_versions() function in favor of list.sort(vercmp). (trunk r6338:6339)

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

17 years agoFor bug #173184, handle the CommandNotFound that is produced during uninstallation...
Zac Medico [Mon, 2 Apr 2007 19:44:25 +0000 (19:44 -0000)]
For bug #173184, handle the CommandNotFound that is produced during uninstallation of prelink. (trunk r6331:6332)

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

17 years agoFix missing import. (trunk r6324:6325)
Zac Medico [Sat, 31 Mar 2007 11:04:00 +0000 (11:04 -0000)]
Fix missing import. (trunk r6324:6325)

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

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