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
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
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
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
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
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
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
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
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
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
Zac Medico [Thu, 15 Feb 2007 20:23:26 +0000 (20:23 -0000)]
Add missing quotes.
svn path=/main/trunk/; revision=5970
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
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
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
Zac Medico [Tue, 13 Feb 2007 19:57:44 +0000 (19:57 -0000)]
Fix broken imports.
svn path=/main/trunk/; revision=5963
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
Zac Medico [Tue, 13 Feb 2007 19:22:24 +0000 (19:22 -0000)]
Fix missing imports.
svn path=/main/trunk/; revision=5960
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
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
Marius Mauch [Sun, 11 Feb 2007 01:13:56 +0000 (01:13 -0000)]
Make subpackage naming consistent
svn path=/main/trunk/; revision=5955
Zac Medico [Sun, 11 Feb 2007 01:07:30 +0000 (01:07 -0000)]
import best() from portage.versions
svn path=/main/trunk/; revision=5954
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
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
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
Zac Medico [Sat, 10 Feb 2007 21:59:24 +0000 (21:59 -0000)]
Fix vardb.cpv_all() breakage.
svn path=/main/trunk/; revision=5948
Zac Medico [Sat, 10 Feb 2007 21:50:28 +0000 (21:50 -0000)]
Fix missing stat import.
svn path=/main/trunk/; revision=5947
Zac Medico [Sat, 10 Feb 2007 21:47:02 +0000 (21:47 -0000)]
Break a recursive loop.
svn path=/main/trunk/; revision=5946
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
Zac Medico [Sat, 10 Feb 2007 20:43:43 +0000 (20:43 -0000)]
fix broken imports
svn path=/main/trunk/; revision=5944
Zac Medico [Sat, 10 Feb 2007 20:36:44 +0000 (20:36 -0000)]
remove broken dblink import
svn path=/main/trunk/; revision=5943
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
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
Zac Medico [Sat, 10 Feb 2007 19:56:41 +0000 (19:56 -0000)]
fix syntax
svn path=/main/trunk/; revision=5940
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
Alec Warner [Sat, 10 Feb 2007 18:15:24 +0000 (18:15 -0000)]
add docstrings
svn path=/main/trunk/; revision=5938
Alec Warner [Sat, 10 Feb 2007 04:46:23 +0000 (04:46 -0000)]
fix a few broken tests
svn path=/main/trunk/; revision=5935
Alec Warner [Sat, 10 Feb 2007 03:19:01 +0000 (03:19 -0000)]
update test notes
svn path=/main/trunk/; revision=5934
Marius Mauch [Thu, 8 Feb 2007 13:39:03 +0000 (13:39 -0000)]
Create namespace for emerge
svn path=/main/trunk/; revision=5931
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Zac Medico [Sat, 3 Feb 2007 05:20:05 +0000 (05:20 -0000)]
Make the tests pass.
svn path=/main/trunk/; revision=5876
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
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
Alec Warner [Fri, 2 Feb 2007 00:36:52 +0000 (00:36 -0000)]
remove redundant directory now
svn path=/main/trunk/; revision=5871
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
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
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
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
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
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
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
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
Alec Warner [Thu, 1 Feb 2007 05:50:08 +0000 (05:50 -0000)]
fix regression in test changes
svn path=/main/trunk/; revision=5857
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
Alec Warner [Thu, 1 Feb 2007 05:25:09 +0000 (05:25 -0000)]
Round one of dep_getusedeps()
svn path=/main/trunk/; revision=5855
Alec Warner [Thu, 1 Feb 2007 05:22:41 +0000 (05:22 -0000)]
rename file
svn path=/main/trunk/; revision=5854
Alec Warner [Thu, 1 Feb 2007 05:22:21 +0000 (05:22 -0000)]
add some new tests
svn path=/main/trunk/; revision=5853
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
Mike Frysinger [Wed, 31 Jan 2007 05:44:29 +0000 (05:44 -0000)]
try and fix $Rev$
svn path=/main/trunk/; revision=5849
Mike Frysinger [Wed, 31 Jan 2007 05:43:26 +0000 (05:43 -0000)]
try and fix $LastChangedRevision$
svn path=/main/trunk/; revision=5848
Mike Frysinger [Wed, 31 Jan 2007 05:41:27 +0000 (05:41 -0000)]
add some useful options
svn path=/main/trunk/; revision=5847
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
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
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
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
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
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
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
Zac Medico [Sun, 28 Jan 2007 22:10:08 +0000 (22:10 -0000)]
Minor cleanup for the LIVEVCS.stable code.
svn path=/main/trunk/; revision=5821
Marius Mauch [Sun, 28 Jan 2007 20:31:33 +0000 (20:31 -0000)]
Can't delete variable that doesn't exist anymore (bug #164280)
svn path=/main/trunk/; revision=5817
Alec Warner [Sun, 28 Jan 2007 19:04:06 +0000 (19:04 -0000)]
use errno.EACCES as suggested by Brian Harring
svn path=/main/trunk/; revision=5814
Mike Frysinger [Sun, 28 Jan 2007 10:53:37 +0000 (10:53 -0000)]
translate unicode quotes to ascii ones so we can keep our regex simple
svn path=/main/trunk/; revision=5804
Marius Mauch [Sun, 28 Jan 2007 10:31:41 +0000 (10:31 -0000)]
Catch EACCESS when running env-update, orignal patch by <phajdan.jr@gmail.com> (bug #106061)
svn path=/main/trunk/; revision=5803
Marius Mauch [Sun, 28 Jan 2007 08:07:17 +0000 (08:07 -0000)]
Add a warning about confcache to make.conf(5)
svn path=/main/trunk/; revision=5802