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
Zac Medico [Sun, 28 Jan 2007 01:08:52 +0000 (01:08 -0000)]
Remove a stray print statement. Thanks to Rick Warner in bug #125261.
svn path=/main/trunk/; revision=5799
Zac Medico [Sat, 27 Jan 2007 22:58:49 +0000 (22:58 -0000)]
Ignore EEXIST from rmdir since some kernels (such as solaris) return that instead of ENOTEMPTY.
svn path=/main/trunk/; revision=5798
Mike Frysinger [Sat, 27 Jan 2007 19:41:52 +0000 (19:41 -0000)]
add support for parsing of unicode quotes
svn path=/main/trunk/; revision=5796
Alec Warner [Sat, 27 Jan 2007 18:23:45 +0000 (18:23 -0000)]
fix minor sed overzeallousness
svn path=/main/trunk/; revision=5795
Alec Warner [Sat, 27 Jan 2007 18:16:08 +0000 (18:16 -0000)]
Move tests into new directory structure
svn path=/main/trunk/; revision=5794
Alec Warner [Sat, 27 Jan 2007 18:14:57 +0000 (18:14 -0000)]
add test to entice svn mv
svn path=/main/trunk/; revision=5793
Alec Warner [Sat, 27 Jan 2007 18:12:48 +0000 (18:12 -0000)]
fix namespacing in tests
svn path=/main/trunk/; revision=5792
Mike Frysinger [Sat, 27 Jan 2007 04:49:42 +0000 (04:49 -0000)]
if requested argv cannot be matched to anything, exit with non-zero status
svn path=/main/trunk/; revision=5791
Zac Medico [Sat, 27 Jan 2007 01:39:26 +0000 (01:39 -0000)]
For consistency, do not imply --pretend with --changelog since that prevents --changelog from being usable in EMERGE_DEFAULTS_OPTS. Thanks to Ryan Hill <dirtyepic@gentoo.org> in #151250.
svn path=/main/trunk/; revision=5790
Marius Mauch [Thu, 25 Jan 2007 21:53:25 +0000 (21:53 -0000)]
Fix automatic path detection to account for new location
svn path=/main/trunk/; revision=5789
Marius Mauch [Thu, 25 Jan 2007 18:34:31 +0000 (18:34 -0000)]
Fix broken symlink caused by exec module rename
svn path=/main/trunk/; revision=5788
Marius Mauch [Thu, 25 Jan 2007 17:41:20 +0000 (17:41 -0000)]
Document namespace sanitizing
svn path=/main/trunk/; revision=5786
Marius Mauch [Thu, 25 Jan 2007 17:37:21 +0000 (17:37 -0000)]
Namespace sanitizing, step 5
svn path=/main/trunk/; revision=5785
Marius Mauch [Thu, 25 Jan 2007 17:25:47 +0000 (17:25 -0000)]
Namespace sanitizing, step 4
svn path=/main/trunk/; revision=5784
Marius Mauch [Thu, 25 Jan 2007 17:17:43 +0000 (17:17 -0000)]
Fix some breakage caused by script malfunction
svn path=/main/trunk/; revision=5783
Marius Mauch [Thu, 25 Jan 2007 17:07:32 +0000 (17:07 -0000)]
Namespace sanitizing, step 3
svn path=/main/trunk/; revision=5782
Marius Mauch [Thu, 25 Jan 2007 16:25:02 +0000 (16:25 -0000)]
Namespace sanitizing, step 2b
svn path=/main/trunk/; revision=5781
Marius Mauch [Thu, 25 Jan 2007 16:20:19 +0000 (16:20 -0000)]
Namespace sanitizing, step 2
Rename portage.exec to portage.process to avoid syntax errors
svn path=/main/trunk/; revision=5780
Marius Mauch [Thu, 25 Jan 2007 15:51:18 +0000 (15:51 -0000)]
Adding compat symlinks for cache and elog packages
svn path=/main/trunk/; revision=5779
Marius Mauch [Thu, 25 Jan 2007 15:49:26 +0000 (15:49 -0000)]
Namespace sanitizing, step 1
svn path=/main/trunk/; revision=5778
Marius Mauch [Wed, 24 Jan 2007 01:40:28 +0000 (01:40 -0000)]
demote KEYWORDS.missing to a warning to make KEYWORDS='' valid
svn path=/main/trunk/; revision=5768
Zac Medico [Tue, 23 Jan 2007 23:49:59 +0000 (23:49 -0000)]
Fix broken line number counting for CONTENTS.
svn path=/main/trunk/; revision=5765
Zac Medico [Tue, 23 Jan 2007 21:38:58 +0000 (21:38 -0000)]
For bug #142279, detect and warn about null bytes in CONTENTS.
svn path=/main/trunk/; revision=5763
Marius Mauch [Tue, 23 Jan 2007 18:03:09 +0000 (18:03 -0000)]
Update package.keywords section in portage(5) with info about new ** token
svn path=/main/trunk/; revision=5760
Marius Mauch [Tue, 23 Jan 2007 17:41:00 +0000 (17:41 -0000)]
Add new ** for package.keywords token to bypass keyword visibility layer
svn path=/main/trunk/; revision=5759
Zac Medico [Mon, 22 Jan 2007 11:24:45 +0000 (11:24 -0000)]
For bug #163219, handle binpkgs that have missing PF metadata.
svn path=/main/trunk/; revision=5757
Zac Medico [Sun, 21 Jan 2007 22:14:58 +0000 (22:14 -0000)]
For bug #163083, handle an UnsupportedAPIException thrown from the prerm phase.
svn path=/main/trunk/; revision=5749
Zac Medico [Sun, 21 Jan 2007 07:20:18 +0000 (07:20 -0000)]
To ease transition while Manifest 1 is being removed, only require hashes that will exist before and after the transition.
svn path=/main/trunk/; revision=5746
Zac Medico [Sun, 21 Jan 2007 00:40:45 +0000 (00:40 -0000)]
Don't require MANIFEST2 hashes since that can trigger excessive fetches when sufficient digests already exist. Thanks to vapier for reporting.
svn path=/main/trunk/; revision=5743
Zac Medico [Sat, 20 Jan 2007 22:59:17 +0000 (22:59 -0000)]
Minor fixes thanks to Fabio Correa <facorread@alexandria.cc> in bug #162647.
svn path=/main/trunk/; revision=5742
Zac Medico [Sat, 20 Jan 2007 22:02:04 +0000 (22:02 -0000)]
Use XARGS for portable xargs handling when find doesn't find any files. (branches/2.1.2 r5740)
svn path=/main/trunk/; revision=5741
Zac Medico [Sat, 20 Jan 2007 20:07:21 +0000 (20:07 -0000)]
For bug #161356, prevent an AttributeError if the exception has no __module__ attribute.
svn path=/main/trunk/; revision=5737
Zac Medico [Sat, 20 Jan 2007 20:02:59 +0000 (20:02 -0000)]
For bug #161356, fix the SLOT match code to handle a KeyError thrown due to a corrupt ebuild.
svn path=/main/trunk/; revision=5736
Marius Mauch [Sat, 20 Jan 2007 16:06:50 +0000 (16:06 -0000)]
Some minor fixes for manifest code
svn path=/main/trunk/; revision=5735
Mike Frysinger [Sat, 20 Jan 2007 13:48:07 +0000 (13:48 -0000)]
fix programlisting output to match the sections they are in
svn path=/main/trunk/; revision=5734
Mike Frysinger [Sat, 20 Jan 2007 13:43:39 +0000 (13:43 -0000)]
forgot to document strict alias warnings
svn path=/main/trunk/; revision=5733
Zac Medico [Fri, 19 Jan 2007 06:50:15 +0000 (06:50 -0000)]
Fix syntax.
svn path=/main/trunk/; revision=5722
Zac Medico [Fri, 19 Jan 2007 01:16:36 +0000 (01:16 -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.
svn path=/main/trunk/; revision=5718
Zac Medico [Thu, 18 Jan 2007 23:50:35 +0000 (23:50 -0000)]
Simplify rsync timestamp.chk handling and print the correct path for bug #50738. Thanks to jeka for reporting on irc.
svn path=/main/trunk/; revision=5716
Zac Medico [Thu, 18 Jan 2007 20:48:15 +0000 (20:48 -0000)]
Raise an informative InvalidData exception instead of 'TypeError: unsubscriptable object' when pkgsplit returns None.
svn path=/main/trunk/; revision=5714
Zac Medico [Thu, 18 Jan 2007 20:37:24 +0000 (20:37 -0000)]
Validate ebuild names inside portdbapi.cp_list() in order to prevent problems later on. Thanks to delusions for reporting on irc.
svn path=/main/trunk/; revision=5713
Marius Mauch [Thu, 18 Jan 2007 20:06:50 +0000 (20:06 -0000)]
Unified try-except-finally only works with python-2.5
svn path=/main/trunk/; revision=5711
Alec Warner [Thu, 18 Jan 2007 20:03:09 +0000 (20:03 -0000)]
don't force a comparison
svn path=/main/trunk/; revision=5710
Marius Mauch [Thu, 18 Jan 2007 20:00:38 +0000 (20:00 -0000)]
Don't load a module if there is nothing to process after filtering
svn path=/main/trunk/; revision=5709
Marius Mauch [Thu, 18 Jan 2007 19:45:19 +0000 (19:45 -0000)]
update make.conf.example with per-module filtering
svn path=/main/trunk/; revision=5708
Marius Mauch [Thu, 18 Jan 2007 19:41:27 +0000 (19:41 -0000)]
Allow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_CLASSES one, add wildcard support for loglevels
svn path=/main/trunk/; revision=5707
Marius Mauch [Thu, 18 Jan 2007 19:27:55 +0000 (19:27 -0000)]
more trivial fixes
svn path=/main/trunk/; revision=5706
Alec Warner [Thu, 18 Jan 2007 17:39:15 +0000 (17:39 -0000)]
but news lib path is global, not an attr
svn path=/main/trunk/; revision=5705
Alec Warner [Thu, 18 Jan 2007 17:37:27 +0000 (17:37 -0000)]
I really meant NEWS_LIB_PATH (/var/lib/gentoo) but decent idea to have a timestamp per repo ;)
svn path=/main/trunk/; revision=5704
Marius Mauch [Thu, 18 Jan 2007 16:58:52 +0000 (16:58 -0000)]
Attribute error
svn path=/main/trunk/; revision=5703
Marius Mauch [Thu, 18 Jan 2007 16:45:40 +0000 (16:45 -0000)]
Syntax error
svn path=/main/trunk/; revision=5702
Alec Warner [Thu, 18 Jan 2007 07:15:10 +0000 (07:15 -0000)]
locking, try 100
svn path=/main/trunk/; revision=5701
Alec Warner [Thu, 18 Jan 2007 06:59:50 +0000 (06:59 -0000)]
lock file around chown/chmod
svn path=/main/trunk/; revision=5700
Alec Warner [Thu, 18 Jan 2007 06:34:52 +0000 (06:34 -0000)]
fix apply_permissions import and use keyworded args in the call, as well as PORTAGE_INST_UID instead of root, also fix some spacies in emerge, thanks for Zac for reporting
svn path=/main/trunk/; revision=5699
Alec Warner [Thu, 18 Jan 2007 06:23:12 +0000 (06:23 -0000)]
dump emerge's normpath in favor of portage_util's normalize_path
svn path=/main/trunk/; revision=5698