portage.git
16 years agoRemove a chdir() call that's no longer needed for the
Zac Medico [Sat, 13 Oct 2007 05:59:12 +0000 (05:59 -0000)]
Remove a chdir() call that's no longer needed for the
collision-protect symlink code.

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

16 years agoUse os.listdir() instead of portage.listdir() in dblink.mergeme().
Zac Medico [Sat, 13 Oct 2007 05:40:35 +0000 (05:40 -0000)]
Use os.listdir() instead of portage.listdir() in dblink.mergeme().

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

16 years agoIn dblink.treewalk(), use os.walk() instead of portage.listdir()
Zac Medico [Sat, 13 Oct 2007 05:27:17 +0000 (05:27 -0000)]
In dblink.treewalk(), use os.walk() instead of portage.listdir()
in order to avoid cacheddir() bloat when listing the files to be
merged from ${D}.

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

16 years agoBug #195370 - Filter some more bogus matches due to
Zac Medico [Fri, 12 Oct 2007 22:34:53 +0000 (22:34 -0000)]
Bug #195370 - Filter some more bogus matches due to
old-style virtuals.

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

16 years agoRemove a redundant call to elog_process().
Zac Medico [Fri, 12 Oct 2007 22:00:07 +0000 (22:00 -0000)]
Remove a redundant call to elog_process().

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

16 years agos:this package wants:this package will:
Zac Medico [Fri, 12 Oct 2007 21:42:09 +0000 (21:42 -0000)]
s:this package wants:this package will:

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

16 years agoBug #195527 - Add some more information to the file collision
Zac Medico [Fri, 12 Oct 2007 20:56:26 +0000 (20:56 -0000)]
Bug #195527 - Add some more information to the file collision
eerror message to try and prevent user confusion:

 - Hint that `equery belongs <filename>` can be used to find
   the installed package that owns a file.

 - Advise then NOT to file a bug without reporting exactly
   which two packages install the same file(s).

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

16 years agoBug #195527 - Unconditionally detect file collisions and log
Zac Medico [Fri, 12 Oct 2007 18:55:00 +0000 (18:55 -0000)]
Bug #195527 - Unconditionally detect file collisions and log
them as eerror messages via elog. This will allow us to
collect more file collision data but it won't be quite as
annoying as enabling collision-protect by default would be.

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

16 years agoUse writemsg() to send exception string to stderr.
Zac Medico [Fri, 12 Oct 2007 05:41:12 +0000 (05:41 -0000)]
Use writemsg() to send exception string to stderr.

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

16 years agoPass into the PackageIndex constructor a list of package
Zac Medico [Fri, 12 Oct 2007 01:03:34 +0000 (01:03 -0000)]
Pass into the PackageIndex constructor a list of package
metadata keys that inherit a default value from the header.

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

16 years agoPass default package metadata values into the PackageIndex
Zac Medico [Fri, 12 Oct 2007 00:38:35 +0000 (00:38 -0000)]
Pass default package metadata values into the PackageIndex
constructor for optional things like EAPI and SLOT.

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

16 years agoSync code between binarytree.inject() and populate().
Zac Medico [Fri, 12 Oct 2007 00:12:15 +0000 (00:12 -0000)]
Sync code between binarytree.inject() and populate().

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

16 years agoSplit USE evaluation code out of binarytree.inject() so
Zac Medico [Thu, 11 Oct 2007 18:14:18 +0000 (18:14 -0000)]
Split USE evaluation code out of binarytree.inject() so
that it can be reused in populate().

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

16 years agoStrip the leading path separator from USER_CONFIG_PATH
Zac Medico [Thu, 11 Oct 2007 16:29:55 +0000 (16:29 -0000)]
Strip the leading path separator from USER_CONFIG_PATH
so that os.path.join works correctly.

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

16 years agoIn depgraph.select_dep(), check for existing nodes in
Zac Medico [Thu, 11 Oct 2007 14:22:29 +0000 (14:22 -0000)]
In depgraph.select_dep(), check for existing nodes in
installed packages when necessary.

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

16 years agotypo fix
Marius Mauch [Thu, 11 Oct 2007 08:17:24 +0000 (08:17 -0000)]
typo fix

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

16 years agoDo not use aux_get to parse the NEEDED file as we need to distinguish spaces and...
Marius Mauch [Thu, 11 Oct 2007 08:14:31 +0000 (08:14 -0000)]
Do not use aux_get to parse the NEEDED file as we need to distinguish spaces and newlines

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

16 years agoUpdate todo list
Marius Mauch [Thu, 11 Oct 2007 06:05:32 +0000 (06:05 -0000)]
Update todo list

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

16 years agoAdd a set to group all consumers of missing libraries as a simple revdep-rebuild...
Marius Mauch [Thu, 11 Oct 2007 05:59:11 +0000 (05:59 -0000)]
Add a set to group all consumers of missing libraries as a simple revdep-rebuild replacement

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

16 years agoMake depgraph.select_dep() reject installed packages
Zac Medico [Thu, 11 Oct 2007 05:37:00 +0000 (05:37 -0000)]
Make depgraph.select_dep() reject installed packages
in the same cases that it used to so that a warning
message is properly generated in depgraph.xcreate()
when a package is unavailable but installed.

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

16 years agoimplement new set to group all consumers of preserved libraries
Marius Mauch [Thu, 11 Oct 2007 05:19:32 +0000 (05:19 -0000)]
implement new set to group all consumers of preserved libraries

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

16 years agoRaise a PackageNotFound exception instead of a ValueError
Zac Medico [Thu, 11 Oct 2007 05:19:14 +0000 (05:19 -0000)]
Raise a PackageNotFound exception instead of a ValueError
in order to avoid ambiguity if an unexpected ValueError
occurs.

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

16 years agoMove some package selection code from depgraph.create()
Zac Medico [Thu, 11 Oct 2007 02:54:00 +0000 (02:54 -0000)]
Move some package selection code from depgraph.create()
to select_dep() so that all package selection is done
in the same place.

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

16 years agoMake portdbapi and bindbapi cache PROVIDE in order
Zac Medico [Thu, 11 Oct 2007 02:02:32 +0000 (02:02 -0000)]
Make portdbapi and bindbapi cache PROVIDE in order
to optimize matching of old-style virtuals.

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

16 years agoRemove ambiguous "you should edit this file" warning.
Zac Medico [Wed, 10 Oct 2007 15:34:25 +0000 (15:34 -0000)]
Remove ambiguous "you should edit this file" warning.
Thanks to Cardoe.

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

16 years agoPrevent bogus upgrade display when a new-style virtual
Zac Medico [Wed, 10 Oct 2007 08:33:36 +0000 (08:33 -0000)]
Prevent bogus upgrade display when a new-style virtual
is first installed and it replaces an old-style virtual.

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

16 years agoComment about avoiding expensive metadata pulls
Zac Medico [Wed, 10 Oct 2007 08:07:00 +0000 (08:07 -0000)]
Comment about avoiding expensive metadata pulls
in depgraph.select_dep().

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

16 years agoRefactor depgraph.select_dep() to eliminate redundant
Zac Medico [Wed, 10 Oct 2007 07:46:00 +0000 (07:46 -0000)]
Refactor depgraph.select_dep() to eliminate redundant
code that was duplicated for each package type.

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

16 years agoCache IUSE in bindbapi to optimize --newuse calculations.
Zac Medico [Wed, 10 Oct 2007 06:33:28 +0000 (06:33 -0000)]
Cache IUSE in bindbapi to optimize --newuse calculations.
Also, fix filtering code for reading/writing USE and IUSE
from/to the metadata index.

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

16 years agoMigrate depgraph.select_files() to use the filtered repo
Zac Medico [Wed, 10 Oct 2007 02:55:07 +0000 (02:55 -0000)]
Migrate depgraph.select_files() to use the filtered repo
for expansion of greedy atoms. Also, use the list of
repos to clean up the category expansion code.

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

16 years agoInitialize the list of package repos inside the
Zac Medico [Wed, 10 Oct 2007 02:03:45 +0000 (02:03 -0000)]
Initialize the list of package repos inside the
depgraph constructor so it's always available.

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

16 years agoUnify the masking reasons output so that the same code
Zac Medico [Tue, 9 Oct 2007 23:36:16 +0000 (23:36 -0000)]
Unify the masking reasons output so that the same code
path is used for both ebuilds and binary packages.

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

16 years agodocument default sets
Marius Mauch [Tue, 9 Oct 2007 21:41:07 +0000 (21:41 -0000)]
document default sets

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

16 years agoadd descriptions for dbapi set classes
Marius Mauch [Tue, 9 Oct 2007 21:29:54 +0000 (21:29 -0000)]
add descriptions for dbapi set classes

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

16 years agoadd description to security set handlers
Marius Mauch [Tue, 9 Oct 2007 21:26:01 +0000 (21:26 -0000)]
add description to security set handlers

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

16 years agosecurity sets actually have one option
Marius Mauch [Tue, 9 Oct 2007 20:48:28 +0000 (20:48 -0000)]
security sets actually have one option

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

16 years agodocument all options
Marius Mauch [Tue, 9 Oct 2007 20:13:46 +0000 (20:13 -0000)]
document all options

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

16 years agoStart documentation of set handler classes
Marius Mauch [Tue, 9 Oct 2007 19:21:03 +0000 (19:21 -0000)]
Start documentation of set handler classes

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

16 years agoExclude .metadata files in multi set configurations for StaticFileSet
Marius Mauch [Tue, 9 Oct 2007 18:55:33 +0000 (18:55 -0000)]
Exclude .metadata files in multi set configurations for StaticFileSet

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

16 years agoFix USE logic for built packages when populating the filtered repo.
Zac Medico [Tue, 9 Oct 2007 17:57:37 +0000 (17:57 -0000)]
Fix USE logic for built packages when populating the filtered repo.

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

16 years agoReplace hardcoded path with new constant
Marius Mauch [Tue, 9 Oct 2007 17:43:26 +0000 (17:43 -0000)]
Replace hardcoded path with new constant

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

16 years agoFix InvalidDependString namespace and initialize USE before
Zac Medico [Tue, 9 Oct 2007 15:46:11 +0000 (15:46 -0000)]
Fix InvalidDependString namespace and initialize USE before
visibility check.

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

16 years agoWhen an ebuild has conditionals in it's LICENSE, calculate
Zac Medico [Tue, 9 Oct 2007 15:38:53 +0000 (15:38 -0000)]
When an ebuild has conditionals in it's LICENSE, calculate
USE before the visibility check.

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

16 years agoIn depgraph.xcreate(), installed packages are excluded
Zac Medico [Tue, 9 Oct 2007 11:07:33 +0000 (11:07 -0000)]
In depgraph.xcreate(), installed packages are excluded
from the filtered tree. Clear out the history of atoms
so that they can be processed again to satisfy
dependencies with installed packages if necessary.

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

16 years agoBug #149816 - Implement visibility filtering support for
Zac Medico [Tue, 9 Oct 2007 10:06:55 +0000 (10:06 -0000)]
Bug #149816 - Implement visibility filtering support for
binary packages. This works by creating a virtual filtered
repository that can be composed of multiple package types,
including ebuilds, binary packages, and installed packages.

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

16 years agoMake portdbapi.aux_get() cache more often.
Zac Medico [Tue, 9 Oct 2007 09:28:29 +0000 (09:28 -0000)]
Make portdbapi.aux_get() cache more often.

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

16 years agoProperly exclude old-style virtuals from the portdbapi.cp_list() cache.
Zac Medico [Tue, 9 Oct 2007 09:26:49 +0000 (09:26 -0000)]
Properly exclude old-style virtuals from the portdbapi.cp_list() cache.

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

16 years agoRemove a redundant os.access() call in portdbapi.aux_get()
Zac Medico [Tue, 9 Oct 2007 06:06:27 +0000 (06:06 -0000)]
Remove a redundant os.access() call in portdbapi.aux_get()
and handle the potential OSError instead.

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

16 years agoOptimize away a match_from_list() call inside
Zac Medico [Tue, 9 Oct 2007 03:50:54 +0000 (03:50 -0000)]
Optimize away a match_from_list() call inside
portdbapi.xmatch("match-all") when given atom has no
operator or version. Also, make cp_list() use the
xmatch("match-all") cache when possible.

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

16 years agoFactor package.mask and profile masking logic out of
Zac Medico [Sun, 7 Oct 2007 23:04:52 +0000 (23:04 -0000)]
Factor package.mask and profile masking logic out of
portdbapi.visible() and move it to config.getMaskAtom()
and getProfileMaskAtom(). This will allow the code to
be reused for binary packages.

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

16 years agoCache IUSE for portdbapi.gvisible() calls.
Zac Medico [Sun, 7 Oct 2007 22:24:39 +0000 (22:24 -0000)]
Cache IUSE for portdbapi.gvisible() calls.

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

16 years agoRestore profile masking support to getmaskingstatus().
Zac Medico [Sun, 7 Oct 2007 22:08:02 +0000 (22:08 -0000)]
Restore profile masking support to getmaskingstatus().

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

16 years agoAllow config.setcpv() to take a dictionary of package metadata
Zac Medico [Sun, 7 Oct 2007 21:55:35 +0000 (21:55 -0000)]
Allow config.setcpv() to take a dictionary of package metadata
in place of a dbapi instance so that extra cache pulls can be
avoided.

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

16 years agoFactor the KEYWORDS masking logic out of portdbapi.visible()
Zac Medico [Sun, 7 Oct 2007 21:46:34 +0000 (21:46 -0000)]
Factor the KEYWORDS masking logic out of portdbapi.visible()
and move it to config.getMissingEeywords(). This will allow
the code to be reused for binary packages.

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

16 years agoRemove duplicate call to digestgen().
Zac Medico [Sun, 7 Oct 2007 21:28:23 +0000 (21:28 -0000)]
Remove duplicate call to digestgen().

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

16 years agoMove the "commit" mode manifest generation earlier in order
Zac Medico [Sun, 7 Oct 2007 21:25:02 +0000 (21:25 -0000)]
Move the "commit" mode manifest generation earlier in order
to avoid digest verification issues when FEATURES="strict"
is enabled.

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

16 years agoadd --debug option and display a message about skipping non-files so we dont get...
Mike Frysinger [Sun, 7 Oct 2007 19:33:35 +0000 (19:33 -0000)]
add --debug option and display a message about skipping non-files so we dont get confusing loops where portage claims there are things to update but etc-update claims there are not

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

16 years agoadd standard --help/--version options
Mike Frysinger [Sun, 7 Oct 2007 19:16:50 +0000 (19:16 -0000)]
add standard --help/--version options

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

16 years agounify diff_command handling
Mike Frysinger [Sun, 7 Oct 2007 19:06:49 +0000 (19:06 -0000)]
unify diff_command handling

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

16 years agoadd support for .lzma / .tar.lzma to unpack
Mike Frysinger [Sun, 7 Oct 2007 18:00:56 +0000 (18:00 -0000)]
add support for .lzma / .tar.lzma to unpack

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

16 years agoadd QA check for .pyc/.pyo files in /usr/share
Mike Frysinger [Sun, 7 Oct 2007 17:52:51 +0000 (17:52 -0000)]
add QA check for .pyc/.pyo files in /usr/share

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

16 years agoFix binarytree.populate() so that it properly caches
Zac Medico [Sat, 6 Oct 2007 22:26:49 +0000 (22:26 -0000)]
Fix binarytree.populate() so that it properly caches
all the metadata necessary for visibility filtering.

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

16 years agoIn PackageIndex.write(), skip writing the CHOST for a
Zac Medico [Sat, 6 Oct 2007 22:23:05 +0000 (22:23 -0000)]
In PackageIndex.write(), skip writing the CHOST for a
package entry if it's CHOST matches the header.

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

16 years agoIn PackageIndex.readBody(), make each package entry
Zac Medico [Sat, 6 Oct 2007 22:02:10 +0000 (22:02 -0000)]
In PackageIndex.readBody(), make each package entry
inherit CHOST from the header.

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

16 years agoBug #194552 - Include EAPI in the binary package metadata index.
Zac Medico [Sat, 6 Oct 2007 20:24:36 +0000 (20:24 -0000)]
Bug #194552 - Include EAPI in the binary package metadata index.

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

16 years agoFix package.license support so that SLOT atoms
Zac Medico [Sat, 6 Oct 2007 19:19:43 +0000 (19:19 -0000)]
Fix package.license support so that SLOT atoms
will work.

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

16 years agoHandle Exceptions in mod_mail_summary.finalize() and check if the server actually...
Marius Mauch [Sat, 6 Oct 2007 16:30:29 +0000 (16:30 -0000)]
Handle Exceptions in mod_mail_summary.finalize() and check if the server actually supports TLS, bug #183808

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

16 years agolet dohtml handle weird filenames, patch by TGL (bug #171272)
Marius Mauch [Sat, 6 Oct 2007 15:40:38 +0000 (15:40 -0000)]
let dohtml handle weird filenames, patch by TGL (bug #171272)

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

16 years agoAdd @localhost to default PORTAGE_ELOG_MAILFROM to account for mail servers that...
Marius Mauch [Sat, 6 Oct 2007 15:12:30 +0000 (15:12 -0000)]
Add @localhost to default PORTAGE_ELOG_MAILFROM to account for mail servers that don't accept mails without a domainname

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

16 years agoclean up module namespace
Marius Mauch [Sat, 6 Oct 2007 14:27:58 +0000 (14:27 -0000)]
clean up module namespace

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

16 years agoAlso clean portage.txt
Marius Mauch [Sat, 6 Oct 2007 14:04:11 +0000 (14:04 -0000)]
Also clean portage.txt

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

16 years agoAlso look for sets.conf in overlays
Marius Mauch [Sat, 6 Oct 2007 13:59:37 +0000 (13:59 -0000)]
Also look for sets.conf in overlays

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

16 years agoAdd some documentation about set configuration
Marius Mauch [Sat, 6 Oct 2007 13:49:08 +0000 (13:49 -0000)]
Add some documentation about set configuration

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

16 years agodefault set configuration, should probably go into /usr/share/portage
Marius Mauch [Sat, 6 Oct 2007 12:04:28 +0000 (12:04 -0000)]
default set configuration, should probably go into /usr/share/portage

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

16 years agoStrip the - prefix from EAPI in getmaskingstatus()
Zac Medico [Fri, 5 Oct 2007 23:09:27 +0000 (23:09 -0000)]
Strip the - prefix from EAPI in getmaskingstatus()
if necessary.

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

16 years agohandle empty sets properly
Marius Mauch [Fri, 5 Oct 2007 22:07:23 +0000 (22:07 -0000)]
handle empty sets properly

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

16 years agoShorten the reference to IUSE defaults since
Zac Medico [Fri, 5 Oct 2007 21:27:41 +0000 (21:27 -0000)]
Shorten the reference to IUSE defaults since
it's now documented in ebuild(5).

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

16 years agoDocument IUSE defaults.
Zac Medico [Fri, 5 Oct 2007 21:19:19 +0000 (21:19 -0000)]
Document IUSE defaults.

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

16 years agoinclude sets in emerge --search
Marius Mauch [Fri, 5 Oct 2007 20:46:12 +0000 (20:46 -0000)]
include sets in emerge --search

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

16 years agoDocument SLOT dependencies.
Zac Medico [Fri, 5 Oct 2007 20:43:28 +0000 (20:43 -0000)]
Document SLOT dependencies.

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

16 years agoreplace category sets in test configuration with user sets
Marius Mauch [Fri, 5 Oct 2007 20:05:43 +0000 (20:05 -0000)]
replace category sets in test configuration with user sets

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

16 years agoGeneralize the first paragraph of the MASKED PACKAGES section
Zac Medico [Fri, 5 Oct 2007 20:05:17 +0000 (20:05 -0000)]
Generalize the first paragraph of the MASKED PACKAGES section
and document binary package CHOST masking.

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

16 years agoonly add short names for sets if they begin with 'sets/'
Marius Mauch [Fri, 5 Oct 2007 19:34:21 +0000 (19:34 -0000)]
only add short names for sets if they begin with 'sets/'

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

16 years agofirst version of set integration in emerge
Marius Mauch [Fri, 5 Oct 2007 19:29:17 +0000 (19:29 -0000)]
first version of set integration in emerge

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

16 years agoAdd set configuration framework in preparation for emerge integration
Marius Mauch [Fri, 5 Oct 2007 17:27:34 +0000 (17:27 -0000)]
Add set configuration framework in preparation for emerge integration

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

16 years agoDocumnet EAPI in the MASKED PACKAGES section.
Zac Medico [Fri, 5 Oct 2007 17:09:58 +0000 (17:09 -0000)]
Documnet EAPI in the MASKED PACKAGES section.

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

16 years agoFix spelling of backward.
Zac Medico [Fri, 5 Oct 2007 17:01:48 +0000 (17:01 -0000)]
Fix spelling of backward.

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

16 years agoDocument the EAPI variable.
Zac Medico [Fri, 5 Oct 2007 16:53:40 +0000 (16:53 -0000)]
Document the EAPI variable.

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

16 years agoignore missing files
Marius Mauch [Fri, 5 Oct 2007 16:40:12 +0000 (16:40 -0000)]
ignore missing files

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

16 years agoadd TODO list for portage-2.2
Marius Mauch [Fri, 5 Oct 2007 15:16:37 +0000 (15:16 -0000)]
add TODO list for portage-2.2

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

16 years agocopy of gentoolkit r451
Marius Mauch [Fri, 5 Oct 2007 14:17:03 +0000 (14:17 -0000)]
copy of gentoolkit r451

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

16 years agoBug #194764 - All the match* functions can raise
Zac Medico [Fri, 5 Oct 2007 04:20:14 +0000 (04:20 -0000)]
Bug #194764 - All the match* functions can raise
a ValueError if cpv_expand() receives an ambiguous
atom. Therefore, move the ValueError handling code
out of match() and use it to handle all such errors
when appropriate.

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

16 years agoMake the EbuildQuote check ignore lines beginning
Zac Medico [Fri, 5 Oct 2007 03:56:47 +0000 (03:56 -0000)]
Make the EbuildQuote check ignore lines beginning
with local or export builtins since unquoted
assignments are okay there.

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

16 years agoIn portdbapi.aux_get(), simplify code by using string
Zac Medico [Thu, 4 Oct 2007 08:19:42 +0000 (08:19 -0000)]
In portdbapi.aux_get(), simplify code by using string
manipulation instead of int conversion to manipulate
negative EAPI when deciding whether or not regen is
necessary.

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

16 years agoHandle UnsupportedAPIException when running the ebuild(1)
Zac Medico [Thu, 4 Oct 2007 07:53:37 +0000 (07:53 -0000)]
Handle UnsupportedAPIException when running the ebuild(1)
command.

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

16 years agoInclude the package name in all exceptions raised from
Zac Medico [Thu, 4 Oct 2007 07:25:38 +0000 (07:25 -0000)]
Include the package name in all exceptions raised from
portdbapi.getfetchlist() so that a redundant and
sometimes inaccurate message doesn't have to be shown
when the error is caught in digestgen().

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

16 years agoMake portdbapi.getfetchlist() bail out if the EAPI
Zac Medico [Thu, 4 Oct 2007 07:05:11 +0000 (07:05 -0000)]
Make portdbapi.getfetchlist() bail out if the EAPI
is unsupported. This makes it impossible for an
unsupported EAPI to result in invalid Manifest
generation.

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

16 years agoFix logic for the message that's show when
Zac Medico [Thu, 4 Oct 2007 06:46:44 +0000 (06:46 -0000)]
Fix logic for the message that's show when
--force is disabled.

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

16 years agoMake repoman bail out if it is unable to properly
Zac Medico [Thu, 4 Oct 2007 06:35:05 +0000 (06:35 -0000)]
Make repoman bail out if it is unable to properly
access ebuild metadata for some reason. In this
case it's impossible to generate a Manifest and
therefore the --force option has to be disabled.

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

16 years agoAdd EAPI masking support for binary packages.
Zac Medico [Thu, 4 Oct 2007 04:00:28 +0000 (04:00 -0000)]
Add EAPI masking support for binary packages.

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