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

17 years agoMinor cleanup for the LIVEVCS.stable code.
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

17 years agoCan't delete variable that doesn't exist anymore (bug #164280)
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

17 years agouse errno.EACCES as suggested by Brian Harring
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

17 years agotranslate unicode quotes to ascii ones so we can keep our regex simple
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

17 years agoCatch EACCESS when running env-update, orignal patch by <phajdan.jr@gmail.com> (bug...
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

17 years agoAdd a warning about confcache to make.conf(5)
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

17 years agoRemove a stray print statement. Thanks to Rick Warner in bug #125261.
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

17 years agoIgnore EEXIST from rmdir since some kernels (such as solaris) return that instead...
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

17 years agoadd support for parsing of unicode quotes
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

17 years agofix minor sed overzeallousness
Alec Warner [Sat, 27 Jan 2007 18:23:45 +0000 (18:23 -0000)]
fix minor sed overzeallousness

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

17 years agoMove tests into new directory structure
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

17 years agoadd test to entice svn mv
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

17 years agofix namespacing in tests
Alec Warner [Sat, 27 Jan 2007 18:12:48 +0000 (18:12 -0000)]
fix namespacing in tests

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

17 years agoif requested argv cannot be matched to anything, exit with non-zero status
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

17 years agoFor consistency, do not imply --pretend with --changelog since that prevents --change...
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

17 years agoFix automatic path detection to account for new location
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

17 years agoFix broken symlink caused by exec module rename
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

17 years agoDocument namespace sanitizing
Marius Mauch [Thu, 25 Jan 2007 17:41:20 +0000 (17:41 -0000)]
Document namespace sanitizing

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

17 years agoNamespace sanitizing, step 5
Marius Mauch [Thu, 25 Jan 2007 17:37:21 +0000 (17:37 -0000)]
Namespace sanitizing, step 5

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

17 years agoNamespace sanitizing, step 4
Marius Mauch [Thu, 25 Jan 2007 17:25:47 +0000 (17:25 -0000)]
Namespace sanitizing, step 4

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

17 years agoFix some breakage caused by script malfunction
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

17 years agoNamespace sanitizing, step 3
Marius Mauch [Thu, 25 Jan 2007 17:07:32 +0000 (17:07 -0000)]
Namespace sanitizing, step 3

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

17 years agoNamespace sanitizing, step 2b
Marius Mauch [Thu, 25 Jan 2007 16:25:02 +0000 (16:25 -0000)]
Namespace sanitizing, step 2b

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

17 years agoNamespace sanitizing, step 2
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

17 years agoAdding compat symlinks for cache and elog packages
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

17 years agoNamespace sanitizing, step 1
Marius Mauch [Thu, 25 Jan 2007 15:49:26 +0000 (15:49 -0000)]
Namespace sanitizing, step 1

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

17 years agodemote KEYWORDS.missing to a warning to make KEYWORDS='' valid
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

17 years agoFix broken line number counting for CONTENTS. v2.1.2-r3
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

17 years agoFor bug #142279, detect and warn about null bytes in CONTENTS.
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

17 years agoUpdate package.keywords section in portage(5) with info about new ** token
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

17 years agoAdd new ** for package.keywords token to bypass keyword visibility layer
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

17 years agoFor bug #163219, handle binpkgs that have missing PF metadata.
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

17 years agoFor bug #163083, handle an UnsupportedAPIException thrown from the prerm phase.
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

17 years agoTo ease transition while Manifest 1 is being removed, only require hashes that will...
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

17 years agoDon't require MANIFEST2 hashes since that can trigger excessive fetches when sufficie...
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

17 years agoMinor fixes thanks to Fabio Correa <facorread@alexandria.cc> in bug #162647.
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

17 years agoUse XARGS for portable xargs handling when find doesn't find any files. (branches...
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

17 years agoFor bug #161356, prevent an AttributeError if the exception has no __module__ attribute.
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

17 years agoFor bug #161356, fix the SLOT match code to handle a KeyError thrown due to a corrupt...
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

17 years agoSome minor fixes for manifest code
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

17 years agofix programlisting output to match the sections they are in
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

17 years agoforgot to document strict alias warnings
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

17 years agoFix syntax.
Zac Medico [Fri, 19 Jan 2007 06:50:15 +0000 (06:50 -0000)]
Fix syntax.

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

17 years agoFor bug #162404, when sesandbox is enabled, only log if PORT_LOGDIR is explicitly...
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

17 years agoSimplify rsync timestamp.chk handling and print the correct path for bug #50738....
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

17 years agoRaise an informative InvalidData exception instead of 'TypeError: unsubscriptable...
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

17 years agoValidate ebuild names inside portdbapi.cp_list() in order to prevent problems later...
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

17 years agoUnified try-except-finally only works with python-2.5
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

17 years agodon't force a comparison
Alec Warner [Thu, 18 Jan 2007 20:03:09 +0000 (20:03 -0000)]
don't force a comparison

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

17 years agoDon't load a module if there is nothing to process after filtering
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

17 years agoupdate make.conf.example with per-module filtering
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

17 years agoAllow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_...
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

17 years agomore trivial fixes
Marius Mauch [Thu, 18 Jan 2007 19:27:55 +0000 (19:27 -0000)]
more trivial fixes

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

17 years agobut news lib path is global, not an attr
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

17 years agoI really meant NEWS_LIB_PATH (/var/lib/gentoo) but decent idea to have a timestamp...
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

17 years agoAttribute error
Marius Mauch [Thu, 18 Jan 2007 16:58:52 +0000 (16:58 -0000)]
Attribute error

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