portage.git
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

17 years agoFor bug #164617, don't change permissions on ${WORKDIR} with unpack(). (trunk r5842)
Zac Medico [Tue, 30 Jan 2007 23:34:07 +0000 (23:34 -0000)]
For bug #164617, don't change permissions on ${WORKDIR} with unpack(). (trunk r5842)

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

17 years agoFor bug #164532, don't rely on ${USERLAND} since the portage tree might be empty...
Zac Medico [Tue, 30 Jan 2007 22:33:03 +0000 (22:33 -0000)]
For bug #164532, don't rely on ${USERLAND} since the portage tree might be empty. (trunk r5840)

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

17 years agoIgnore EEXIST from rmdir since some kernels (such as solaris) return that instead... v2.1.2-r5
Zac Medico [Mon, 29 Jan 2007 01:46:37 +0000 (01:46 -0000)]
Ignore EEXIST from rmdir since some kernels (such as solaris) return that instead of ENOTEMPTY. (trunk r5798)

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

17 years agoCatch EACCESS when running env-update, orignal patch by <phajdan.jr@gmail.com> (bug...
Zac Medico [Mon, 29 Jan 2007 01:30:26 +0000 (01:30 -0000)]
Catch EACCESS when running env-update, orignal patch by <phajdan.jr@gmail.com> (bug #106061) (trunk r5802:5803 and r5813:5814)

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

17 years agoFor bug #164078, don't trigger the CLEAN_DELAY countdown for autoclean operations...
Zac Medico [Mon, 29 Jan 2007 01:14:37 +0000 (01:14 -0000)]
For bug #164078, don't trigger the CLEAN_DELAY countdown for autoclean operations since those are most likely unattended.  Thanks to Dan <hydrogen@notyetimplemented.com> for the initial patch. (trunk r5827)

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

17 years agoadd support for transparently decompressing gz/Z/bz2 files since some upstream packag...
Zac Medico [Mon, 29 Jan 2007 00:48:48 +0000 (00:48 -0000)]
add support for transparently decompressing gz/Z/bz2 files since some upstream packages will compress for us (trunk r5824:5825)

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

17 years agoRemove a stray print statement. Thanks to Rick Warner in bug #125261. (trunk r5798...
Zac Medico [Sun, 28 Jan 2007 22:44:15 +0000 (22:44 -0000)]
Remove a stray print statement.  Thanks to Rick Warner in bug #125261. (trunk r5798:5799)

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

17 years agotranslate unicode quotes to ascii ones so we can keep our regex simple (trunk r5795...
Zac Medico [Sun, 28 Jan 2007 22:26:55 +0000 (22:26 -0000)]
translate unicode quotes to ascii ones so we can keep our regex simple (trunk r5795:5796 and r5803:5804)

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

17 years agoCan't delete variable that doesn't exist anymore (bug #164280) (trunk r5816:5817...
Zac Medico [Sun, 28 Jan 2007 22:14:30 +0000 (22:14 -0000)]
Can't delete variable that doesn't exist anymore (bug #164280) (trunk r5816:5817 and r5820:5821)

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

17 years agodemote KEYWORDS.missing to a warning to make KEYWORDS='' valid (trunk r5767:5768) v2.1.2-r4
Zac Medico [Wed, 24 Jan 2007 09:08:08 +0000 (09:08 -0000)]
demote KEYWORDS.missing to a warning to make KEYWORDS='' valid (trunk r5767:5768)

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

17 years agoFix broken line number counting for CONTENTS. (trunk r5764:5765)
Zac Medico [Wed, 24 Jan 2007 09:06:56 +0000 (09:06 -0000)]
Fix broken line number counting for CONTENTS. (trunk r5764:5765)

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

17 years agoFor bug #142279, detect and warn about null bytes in CONTENTS. (trunk r5762:5763)
Zac Medico [Tue, 23 Jan 2007 21:43:40 +0000 (21:43 -0000)]
For bug #142279, detect and warn about null bytes in CONTENTS. (trunk r5762:5763)

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

17 years agoAdd new ** for package.keywords token to bypass keyword visibility layer (trunk r5758...
Zac Medico [Tue, 23 Jan 2007 20:55:51 +0000 (20:55 -0000)]
Add new ** for package.keywords token to bypass keyword visibility layer (trunk r5758:5760)

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

17 years agoFor bug #163219, handle binpkgs that have missing PF metadata. (trunk r5756:5757)
Zac Medico [Tue, 23 Jan 2007 20:42:43 +0000 (20:42 -0000)]
For bug #163219, handle binpkgs that have missing PF metadata. (trunk r5756:5757)

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

17 years agoFor bug #163083, handle an UnsupportedAPIException thrown from the prerm phase. ... v2.1.2-r2
Zac Medico [Sun, 21 Jan 2007 22:16:08 +0000 (22:16 -0000)]
For bug #163083, handle an UnsupportedAPIException thrown from the prerm phase. (trunk r5748:5749)

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

17 years agoTo ease transition while Manifest 1 is being removed, only require hashes that will...
Zac Medico [Sun, 21 Jan 2007 07:22:54 +0000 (07:22 -0000)]
To ease transition while Manifest 1 is being removed, only require hashes that will exist before and after the transition. (trunk r5746)

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

17 years agoDon't require MANIFEST2 hashes since that can trigger excessive fetches when sufficie...
Zac Medico [Sun, 21 Jan 2007 00:46:08 +0000 (00:46 -0000)]
Don't require MANIFEST2 hashes since that can trigger excessive fetches when sufficient digests already exist.  Thanks to vapier for reporting. (trunk r5742:5743)

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

17 years agoMinor fixes thanks to Fabio Correa <facorread@alexandria.cc> in bug #162647. (trunk...
Zac Medico [Sun, 21 Jan 2007 00:44:49 +0000 (00:44 -0000)]
Minor fixes thanks to Fabio Correa <facorread@alexandria.cc> in bug #162647. (trunk r5741:5742)

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

17 years agoUse XARGS for portable xargs handling when find doesn't find any files.
Zac Medico [Sat, 20 Jan 2007 22:01:02 +0000 (22:01 -0000)]
Use XARGS for portable xargs handling when find doesn't find any files.

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

17 years agoFor bug #161356, fix error handling for currupt ebuilds. (trunk 5735:5737)
Zac Medico [Sat, 20 Jan 2007 20:12:31 +0000 (20:12 -0000)]
For bug #161356, fix error handling for currupt ebuilds. (trunk 5735:5737)

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

17 years agodump emerge's normpath in favor of portage_util's normalize_path (trunk r5698) v2.1.2-r1
Zac Medico [Fri, 19 Jan 2007 02:48:47 +0000 (02:48 -0000)]
dump emerge's normpath in favor of portage_util's normalize_path (trunk r5698)

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

17 years agoFor bug #162404, when sesandbox is enabled, only log if PORT_LOGDIR is explicitly...
Zac Medico [Fri, 19 Jan 2007 01:20:37 +0000 (01:20 -0000)]
For bug #162404, when sesandbox is enabled, only log if PORT_LOGDIR is explicitly enabled since it is possible that local SELinux security policies do not allow ouput to be piped out of the sesandbox domain. (trunk r5718)

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

17 years agoSimplify rsync timestamp.chk handling and print the correct path for bug #50738....
Zac Medico [Thu, 18 Jan 2007 23:51:53 +0000 (23:51 -0000)]
Simplify rsync timestamp.chk handling and print the correct path for bug #50738.  Thanks to jeka for reporting on irc. (trunk r5716)

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

17 years agoValidate ebuild names in portdbapi.cp_list() and raise an raise an informative Invali...
Zac Medico [Thu, 18 Jan 2007 20:54:40 +0000 (20:54 -0000)]
Validate ebuild names in portdbapi.cp_list() and raise an raise an informative InvalidData exception from match_from_list when necessary. (trunk r5712:5714)

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

17 years agoarm and superh support exec stack stuff now (trunk r5693:5695)
Zac Medico [Thu, 18 Jan 2007 04:33:03 +0000 (04:33 -0000)]
arm and superh support exec stack stuff now (trunk r5693:5695)

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

17 years agoFor bug #162404, spawn tee outside the sesandbox domain so that it reads from a pipe...
Zac Medico [Wed, 17 Jan 2007 23:01:09 +0000 (23:01 -0000)]
For bug #162404, spawn tee outside the sesandbox domain so that it reads from a pipe between two domains. (trunk r5689:5691)

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