portage.git
17 years agoMove reverse NEEDED cache into CACHE_PATH and use a more descriptive name
Marius Mauch [Sun, 18 Feb 2007 15:38:56 +0000 (15:38 -0000)]
Move reverse NEEDED cache into CACHE_PATH and use a more descriptive name

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

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

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

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

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

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

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

17 years agoFix package.provided breakage from the fix for bug #166939.
Zac Medico [Sat, 17 Feb 2007 19:30:23 +0000 (19:30 -0000)]
Fix package.provided breakage from the fix for bug #166939.

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

17 years agoRemove unnecessary import that triggers DEPRECATION NOTICE.
Zac Medico [Sat, 17 Feb 2007 19:12:47 +0000 (19:12 -0000)]
Remove unnecessary import that triggers DEPRECATION NOTICE.

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

17 years agoFor bug #166939, make --nodeps work like a normal package for new-style virtuals.
Zac Medico [Sat, 17 Feb 2007 19:08:08 +0000 (19:08 -0000)]
For bug #166939, make --nodeps work like a normal package for new-style virtuals.

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

17 years agoReplace compat symlinks with a new compat module as the symlink solution prevents...
Marius Mauch [Sat, 17 Feb 2007 13:11:28 +0000 (13:11 -0000)]
Replace compat symlinks with a new compat module as the symlink solution prevents reuse of state information (requested by ferringb)

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

17 years agoRemove portage_exec.py as subversion is stupid and can't convert it in one step
Marius Mauch [Sat, 17 Feb 2007 13:10:47 +0000 (13:10 -0000)]
Remove portage_exec.py as subversion is stupid and can't convert it in one step

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

17 years agoFor full backwards compat (with symlinks or other weird stuff) import everything...
Marius Mauch [Sat, 17 Feb 2007 11:21:13 +0000 (11:21 -0000)]
For full backwards compat (with symlinks or other weird stuff) import everything into the main namespace

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

17 years agoMove bin/emerge to pym/emerge/__init__.py to restore old import behavior as the load_...
Marius Mauch [Sat, 17 Feb 2007 11:07:39 +0000 (11:07 -0000)]
Move bin/emerge to pym/emerge/__init__.py to restore old import behavior as the load_source solution doesn't work properly

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

17 years agoMake emerge importable again without relying on module search path order
Marius Mauch [Sat, 17 Feb 2007 10:46:49 +0000 (10:46 -0000)]
Make emerge importable again without relying on module search path order

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

17 years agoPrint hostname in xterm title if sheridan is available in the environment
Marius Mauch [Sat, 17 Feb 2007 09:14:53 +0000 (09:14 -0000)]
Print hostname in xterm title if sheridan is available in the environment

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

17 years agoIgnore compiled files.
Marius Mauch [Sat, 17 Feb 2007 08:53:35 +0000 (08:53 -0000)]
Ignore compiled files.

Add new feature 'preserve-libs' that injects files into $D that
- belong to a package instance that is about to be autocleaned
- are not installed by the new package instance
- are listed in at least one NEEDED file in vdb
- are not just used by other files of the package instance
As a side-effect a new file /var/db/pkg/.NEEDED is created that
contains a reversed map of the NEEDED files found in a packages dbdir.

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

17 years agoPrint filename when displaying package.mask comments
Marius Mauch [Sat, 17 Feb 2007 04:17:14 +0000 (04:17 -0000)]
Print filename when displaying package.mask comments

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

17 years agoAdd support for RSYNC_EXTRA_OPTS to webrsync
Marius Mauch [Sat, 17 Feb 2007 03:53:30 +0000 (03:53 -0000)]
Add support for RSYNC_EXTRA_OPTS to webrsync

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

17 years agoAdd missing quotes.
Zac Medico [Thu, 15 Feb 2007 20:23:26 +0000 (20:23 -0000)]
Add missing quotes.

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

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

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

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

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

17 years agoFor bug #158100, use an exact reversal of the actual merge order for --tree output...
Zac Medico [Wed, 14 Feb 2007 18:27:36 +0000 (18:27 -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.

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

17 years agoFix broken imports.
Zac Medico [Tue, 13 Feb 2007 19:57:44 +0000 (19:57 -0000)]
Fix broken imports.

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

17 years agoDetect potential issues with mtime granlarity in env_update() and sleep if necessary...
Zac Medico [Tue, 13 Feb 2007 19:25:59 +0000 (19:25 -0000)]
Detect potential issues with mtime granlarity in env_update() and sleep if necessary.  Thanks to Brian Harring for reporting.

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

17 years agoFix missing imports.
Zac Medico [Tue, 13 Feb 2007 19:22:24 +0000 (19:22 -0000)]
Fix missing imports.

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

17 years agotweak PORT_LOGDIR comments so as to not give the wrong impression about the default...
Mike Frysinger [Tue, 13 Feb 2007 00:38:47 +0000 (00:38 -0000)]
tweak PORT_LOGDIR comments so as to not give the wrong impression about the default value

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

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

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

17 years agoMake subpackage naming consistent
Marius Mauch [Sun, 11 Feb 2007 01:13:56 +0000 (01:13 -0000)]
Make subpackage naming consistent

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

17 years agoimport best() from portage.versions
Zac Medico [Sun, 11 Feb 2007 01:07:30 +0000 (01:07 -0000)]
import best() from portage.versions

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

17 years agoUse the real symbols in import statements, not the references in __init__.py
Marius Mauch [Sun, 11 Feb 2007 00:57:06 +0000 (00:57 -0000)]
Use the real symbols in import statements, not the references in __init__.py

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

17 years agoMake xterm titles work even when color is disabled. Thanks to Joachim Kaeber <joachi...
Zac Medico [Sat, 10 Feb 2007 22:18:07 +0000 (22:18 -0000)]
Make xterm titles work even when color is disabled.  Thanks to Joachim Kaeber <joachim.kaeber@web.de> in bug #166255.

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

17 years agoAdd missing VDB_PATH to fix vardbapi.aux_get() breakage.
Zac Medico [Sat, 10 Feb 2007 22:04:41 +0000 (22:04 -0000)]
Add missing VDB_PATH to fix vardbapi.aux_get() breakage.

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

17 years agoFix vardb.cpv_all() breakage.
Zac Medico [Sat, 10 Feb 2007 21:59:24 +0000 (21:59 -0000)]
Fix vardb.cpv_all() breakage.

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

17 years agoFix missing stat import.
Zac Medico [Sat, 10 Feb 2007 21:50:28 +0000 (21:50 -0000)]
Fix missing stat import.

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

17 years agoBreak a recursive loop.
Zac Medico [Sat, 10 Feb 2007 21:47:02 +0000 (21:47 -0000)]
Break a recursive loop.

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

17 years agoUse os.path.realpath to handle symlinks properly.
Zac Medico [Sat, 10 Feb 2007 21:43:35 +0000 (21:43 -0000)]
Use os.path.realpath to handle symlinks properly.

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

17 years agofix broken imports
Zac Medico [Sat, 10 Feb 2007 20:43:43 +0000 (20:43 -0000)]
fix broken imports

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

17 years agoremove broken dblink import
Zac Medico [Sat, 10 Feb 2007 20:36:44 +0000 (20:36 -0000)]
remove broken dblink import

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

17 years agoFix automatic sys.path insertions so that they're relative instead of absolute hard...
Zac Medico [Sat, 10 Feb 2007 20:26:20 +0000 (20:26 -0000)]
Fix automatic sys.path insertions so that they're relative instead of absolute hard coded.

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

17 years agoFix imports from the emerge package.
Zac Medico [Sat, 10 Feb 2007 20:01:13 +0000 (20:01 -0000)]
Fix imports from the emerge package.

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

17 years agofix syntax
Zac Medico [Sat, 10 Feb 2007 19:56:41 +0000 (19:56 -0000)]
fix syntax

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

17 years agoMove dbapi and related classes out of __init__.py into their own subpackage.
Marius Mauch [Sat, 10 Feb 2007 18:18:48 +0000 (18:18 -0000)]
Move dbapi and related classes  out of __init__.py into their own subpackage.
Also perform some minor cleanups.

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

17 years agoadd docstrings
Alec Warner [Sat, 10 Feb 2007 18:15:24 +0000 (18:15 -0000)]
add docstrings

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

17 years agofix a few broken tests
Alec Warner [Sat, 10 Feb 2007 04:46:23 +0000 (04:46 -0000)]
fix a few broken tests

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

17 years agoupdate test notes
Alec Warner [Sat, 10 Feb 2007 03:19:01 +0000 (03:19 -0000)]
update test notes

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

17 years agoCreate namespace for emerge
Marius Mauch [Thu, 8 Feb 2007 13:39:03 +0000 (13:39 -0000)]
Create namespace for emerge

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

17 years agodie requires diefunc and dump_trace too; duh; also move extdebug into isolated-functi...
Alec Warner [Thu, 8 Feb 2007 04:38:21 +0000 (04:38 -0000)]
die requires diefunc and dump_trace too; duh; also move extdebug into isolated-functions.sh

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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:45:49 +0000 (20:45 -0000)]
Only echo PORTAGE_LOG_FILE if it's actually set (may not be if sesandbox is enabled).

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

17 years agomove die into isolated-functions.sh
Alec Warner [Wed, 7 Feb 2007 20:33:45 +0000 (20:33 -0000)]
move die into isolated-functions.sh

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

17 years agoFor bug #165783, handle an InvalidDependString exception triggered by an invalid...
Zac Medico [Wed, 7 Feb 2007 19:54:13 +0000 (19:54 -0000)]
For bug #165783, handle an InvalidDependString exception triggered by an invalid SRC_URI.

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

17 years agoFor backward compatibility with api consumers, _dep_check_strict behavior will be...
Zac Medico [Wed, 7 Feb 2007 19:27:50 +0000 (19:27 -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.

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

17 years agoUpdate modules doc for the new portage namespace.
Zac Medico [Tue, 6 Feb 2007 21:45:53 +0000 (21:45 -0000)]
Update modules doc for the new portage namespace.

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

17 years agoDocument PORTAGE_WORKDIR_MODE for bug #8688. Thanks to Peter Hjalmarsson in bug...
Zac Medico [Tue, 6 Feb 2007 18:45:34 +0000 (18:45 -0000)]
Document PORTAGE_WORKDIR_MODE for bug #8688.  Thanks to Peter Hjalmarsson in bug #164617.

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

17 years agoMake sure to fetch files if MANIFEST2_REQUIRED_HASH is missing.
Zac Medico [Tue, 6 Feb 2007 09:36:53 +0000 (09:36 -0000)]
Make sure to fetch files if MANIFEST2_REQUIRED_HASH is missing.

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

17 years agoCheck if entries contain the required hashes before writing the Manifest
Marius Mauch [Tue, 6 Feb 2007 09:28:54 +0000 (09:28 -0000)]
Check if entries contain the required hashes before writing the Manifest

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

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

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

17 years agoFix another UnboundLocalError (branches/prefix r5893)
Zac Medico [Mon, 5 Feb 2007 20:13:37 +0000 (20:13 -0000)]
Fix another UnboundLocalError (branches/prefix r5893)

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

17 years agoEnsure that the code for bug #165342 only affects name collisions with virtuals.
Zac Medico [Mon, 5 Feb 2007 06:46:31 +0000 (06:46 -0000)]
Ensure that the code for bug #165342 only affects name collisions with virtuals.

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

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 06:27:35 +0000 (06:27 -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.

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

17 years agoDocument --config-root for bug #165334.
Zac Medico [Mon, 5 Feb 2007 01:22:22 +0000 (01:22 -0000)]
Document --config-root for bug #165334.

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

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

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

17 years agoFix "UnboundLocalError: local variable 'portage' referenced before assignment" caused...
Zac Medico [Sat, 3 Feb 2007 23:49:22 +0000 (23:49 -0000)]
Fix "UnboundLocalError: local variable 'portage' referenced before assignment" caused by a local import hiding a global import.

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

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:03:23 +0000 (12:03 -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).

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

17 years agoFix a typo from the previos commit.
Zac Medico [Sat, 3 Feb 2007 11:16:18 +0000 (11:16 -0000)]
Fix a typo from the previos commit.

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

17 years agoUse ! -type l to exclude symlinks better. Thanks to marienz.
Zac Medico [Sat, 3 Feb 2007 11:13:03 +0000 (11:13 -0000)]
Use ! -type l to exclude symlinks better.  Thanks to marienz.

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

17 years agoFor bug #165034, make sure that symlinks are excluded from chmod calls.
Zac Medico [Sat, 3 Feb 2007 10:26:08 +0000 (10:26 -0000)]
For bug #165034, make sure that symlinks are excluded from chmod calls.

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

17 years agoMake the tests pass.
Zac Medico [Sat, 3 Feb 2007 05:20:05 +0000 (05:20 -0000)]
Make the tests pass.

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

17 years agoFor bug #165065, use the proper RESTRICT setting when fetching files in digestgen().
Zac Medico [Sat, 3 Feb 2007 00:26:42 +0000 (00:26 -0000)]
For bug #165065, use the proper RESTRICT setting when fetching files in digestgen().

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

17 years agogrrr I thought I removed this
Alec Warner [Fri, 2 Feb 2007 00:42:20 +0000 (00:42 -0000)]
grrr I thought I removed this

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

17 years agoremove redundant directory now
Alec Warner [Fri, 2 Feb 2007 00:36:52 +0000 (00:36 -0000)]
remove redundant directory now

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

17 years agoFor bug #153109, replace our old chflags module with the one provided by the py-freeb...
Zac Medico [Thu, 1 Feb 2007 22:41:13 +0000 (22:41 -0000)]
For bug #153109, replace our old chflags module with the one provided by the py-freebsd package.  Thanks to Diego Pettenò <flameeyes@gentoo.org> for the initial patch.

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

17 years agoadd warning about storing data in PORTDIR
Alec Warner [Thu, 1 Feb 2007 20:13:39 +0000 (20:13 -0000)]
add warning about storing data in PORTDIR

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

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

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

17 years agoapparently I'm retarded and missed some of the tests..
Alec Warner [Thu, 1 Feb 2007 19:00:56 +0000 (19:00 -0000)]
apparently I'm retarded and missed some of the tests..

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

17 years agoA somewhat more intelligent layout, move tests into portaage namespace so we can...
Alec Warner [Thu, 1 Feb 2007 18:58:23 +0000 (18:58 -0000)]
A somewhat more intelligent layout, move tests into portaage namespace so we can import them easier, seems to be a more common layout from what I've seen.  Also rewrite the test runner to work with new layout

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

17 years agofix doc typo; more test fiddling
Alec Warner [Thu, 1 Feb 2007 18:26:04 +0000 (18:26 -0000)]
fix doc typo; more test fiddling

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

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

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

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

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

17 years agofix regression in test changes
Alec Warner [Thu, 1 Feb 2007 05:50:08 +0000 (05:50 -0000)]
fix regression in test changes

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

17 years agoincrease test coverage to cover slots, uncovering a few corner cases that need fixing
Alec Warner [Thu, 1 Feb 2007 05:46:41 +0000 (05:46 -0000)]
increase test coverage to cover slots, uncovering a few corner cases that need fixing

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

17 years agoRound one of dep_getusedeps()
Alec Warner [Thu, 1 Feb 2007 05:25:09 +0000 (05:25 -0000)]
Round one of dep_getusedeps()

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

17 years agorename file
Alec Warner [Thu, 1 Feb 2007 05:22:41 +0000 (05:22 -0000)]
rename file

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

17 years agoadd some new tests
Alec Warner [Thu, 1 Feb 2007 05:22:21 +0000 (05:22 -0000)]
add some new tests

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

17 years agoDon't use os.path.isdir() because it can swallow errors related to filesystem/disk...
Zac Medico [Wed, 31 Jan 2007 22:46:33 +0000 (22:46 -0000)]
Don't use os.path.isdir() because it can swallow errors related to filesystem/disk corruption.

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

17 years agotry and fix $Rev$
Mike Frysinger [Wed, 31 Jan 2007 05:44:29 +0000 (05:44 -0000)]
try and fix $Rev$

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

17 years agotry and fix $LastChangedRevision$
Mike Frysinger [Wed, 31 Jan 2007 05:43:26 +0000 (05:43 -0000)]
try and fix $LastChangedRevision$

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

17 years agoadd some useful options
Mike Frysinger [Wed, 31 Jan 2007 05:41:27 +0000 (05:41 -0000)]
add some useful options

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

17 years agoUse find + xargs to avoid a potential 'Argument list too long' from bash. Thanks...
Zac Medico [Wed, 31 Jan 2007 00:07:38 +0000 (00:07 -0000)]
Use find + xargs to avoid a potential 'Argument list too long' from bash.  Thanks to solar for reporting.

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

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

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

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

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

17 years agoFix "UnboundLocalError: local variable 'portage' referenced before assignment" caused...
Zac Medico [Tue, 30 Jan 2007 20:52:16 +0000 (20:52 -0000)]
Fix "UnboundLocalError: local variable 'portage' referenced before assignment" caused by an unnecessary local import hiding a global import.

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

17 years agoFor bug #164363, shuffle the ip addresses returned from socket.getaddrinfo().
Zac Medico [Tue, 30 Jan 2007 08:11:55 +0000 (08:11 -0000)]
For bug #164363, shuffle the ip addresses returned from socket.getaddrinfo().

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

17 years agoFor bug #164078, don't trigger the CLEAN_DELAY countdown for autoclean operations...
Zac Medico [Mon, 29 Jan 2007 01:13:44 +0000 (01:13 -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.

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

17 years agoadd support for transparently decompressing gz/Z/bz2 files since some upstream packag...
Mike Frysinger [Sun, 28 Jan 2007 23:41:28 +0000 (23:41 -0000)]
add support for transparently decompressing gz/Z/bz2 files since some upstream packages will compress for us

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