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

17 years agoUse the portable -o option for tar. Thanks to Timothy Redaelli <drizzt@gentoo.org...
Zac Medico [Wed, 17 Jan 2007 09:06:19 +0000 (09:06 -0000)]
Use the portable -o option for tar.  Thanks to Timothy Redaelli <drizzt@gentoo.org> for the patch. (trunk r5676)

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

17 years agoMerge repoman fixes from trunk r5660:5661 and r5665:5669.
Zac Medico [Wed, 17 Jan 2007 08:53:46 +0000 (08:53 -0000)]
Merge repoman fixes from trunk r5660:5661 and r5665:5669.

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

17 years agoMerge doebuild *DEPEND validation from trunk r5652:5655.
Zac Medico [Wed, 17 Jan 2007 08:48:32 +0000 (08:48 -0000)]
Merge doebuild *DEPEND validation from trunk r5652:5655.

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

17 years agoFix elimination of duplicate virtuals between the binpkg repo and installed packages...
Zac Medico [Wed, 17 Jan 2007 02:32:55 +0000 (02:32 -0000)]
Fix elimination of duplicate virtuals between the binpkg repo and installed packages. (trunk r5684)

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

17 years agoMake dep_check() work correctly with --usepkgonly. This solves issues reported by...
Zac Medico [Wed, 17 Jan 2007 00:55:43 +0000 (00:55 -0000)]
Make dep_check() work correctly with --usepkgonly. This solves issues reported by Brent Baude <ranger@gentoo.org> (trunk r5674, 5675, 5678, and 5682)

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

17 years agomake sure we rename links and not just what they point to #162451 (trunk r5677:5678)
Zac Medico [Tue, 16 Jan 2007 23:19:44 +0000 (23:19 -0000)]
make sure we rename links and not just what they point to #162451 (trunk r5677:5678)

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

17 years agoPrevent packages that are installed but masked from being incorrectly flagged as...
Zac Medico [Tue, 16 Jan 2007 23:05:51 +0000 (23:05 -0000)]
Prevent packages that are installed but masked from being incorrectly flagged as "available" (unless --usepkgonly is enabled, which currently has no package.mask support).

svn path=/main/trunk/; revision=5679

17 years agomake sure we rename links and not just what they point to #162451
Mike Frysinger [Tue, 16 Jan 2007 22:43:39 +0000 (22:43 -0000)]
make sure we rename links and not just what they point to #162451

svn path=/main/trunk/; revision=5678

17 years agomake it executable
Mike Frysinger [Tue, 16 Jan 2007 22:37:02 +0000 (22:37 -0000)]
make it executable

svn path=/main/trunk/; revision=5677

17 years agoUse the portable -o option for tar. Thanks to Timothy Redaelli <drizzt@gentoo.org...
Zac Medico [Tue, 16 Jan 2007 21:59:03 +0000 (21:59 -0000)]
Use the portable -o option for tar.  Thanks to Timothy Redaelli <drizzt@gentoo.org> for the patch.

svn path=/main/trunk/; revision=5676

17 years agoAllow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren...
Zac Medico [Tue, 16 Jan 2007 20:56:47 +0000 (20:56 -0000)]
Allow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren't available for some packages.  Thanks to Brent Baude <ranger@gentoo.org> for reporting.

svn path=/main/trunk/; revision=5675

17 years agoFor consistency, respect the use_binaries flag inside _expand_new_virtuals().
Zac Medico [Tue, 16 Jan 2007 20:08:13 +0000 (20:08 -0000)]
For consistency, respect the use_binaries flag inside _expand_new_virtuals().

svn path=/main/trunk/; revision=5674

17 years agoswitch news timestamp and unread/read storage to '/var/lib/gentoo' like the GLEP...
Alec Warner [Tue, 16 Jan 2007 16:59:34 +0000 (16:59 -0000)]
switch news timestamp and unread/read storage to '/var/lib/gentoo' like the GLEP states.

svn path=/main/trunk/; revision=5673

17 years agoIf repo/profiles/news doesn't exist, return 0 updates
Alec Warner [Tue, 16 Jan 2007 16:37:46 +0000 (16:37 -0000)]
If repo/profiles/news doesn't exist, return 0 updates

svn path=/main/trunk/; revision=5672

17 years agofix a few typos in tests
Alec Warner [Tue, 16 Jan 2007 16:35:52 +0000 (16:35 -0000)]
fix a few typos in tests

svn path=/main/trunk/; revision=5671

17 years agoVarious glep 42 fixes, fix up the portageq calls to fail properly, rewrite the news...
Alec Warner [Tue, 16 Jan 2007 16:07:10 +0000 (16:07 -0000)]
Various glep 42 fixes, fix up the portageq calls to fail properly, rewrite the news checking code to check news for all repos with a name.

svn path=/main/trunk/; revision=5670

17 years agoReplace mktemp with mkstemp since the former is deprecated for security reasons.
Zac Medico [Tue, 16 Jan 2007 07:59:41 +0000 (07:59 -0000)]
Replace mktemp with mkstemp since the former is deprecated for security reasons.

svn path=/main/trunk/; revision=5669

17 years agoFix broken commitmessagefile handling.
Zac Medico [Tue, 16 Jan 2007 07:40:33 +0000 (07:40 -0000)]
Fix broken commitmessagefile handling.

svn path=/main/trunk/; revision=5668

17 years agoFor consistency, just use os.environ.
Zac Medico [Tue, 16 Jan 2007 02:30:51 +0000 (02:30 -0000)]
For consistency, just use os.environ.

svn path=/main/trunk/; revision=5667

17 years agoMake repoman commit removals together with the other changes (instead of with the...
Zac Medico [Tue, 16 Jan 2007 02:19:10 +0000 (02:19 -0000)]
Make repoman commit removals together with the other changes (instead of with the final Manifest commit).

svn path=/main/trunk/; revision=5666

17 years agodirty dirty lies
Alec Warner [Tue, 16 Jan 2007 01:51:59 +0000 (01:51 -0000)]
dirty dirty lies

svn path=/main/trunk/; revision=5665