portage.git
16 years agoRemove an extra \$ from the EbuildQuote.var_reference regex
Zac Medico [Thu, 1 Nov 2007 18:19:53 +0000 (18:19 -0000)]
Remove an extra \$ from the EbuildQuote.var_reference regex
so that it will properly match things like variable references
without braces, like $S.

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

16 years agoMake the EbuildUselessCdS check for both quoted and unquoted ${S}
Zac Medico [Thu, 1 Nov 2007 17:49:49 +0000 (17:49 -0000)]
Make the EbuildUselessCdS check for both quoted and unquoted ${S}
so the user doesn't have to fix quoting before this check will
recognize the violation.

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

16 years agoAvoid making unnecessary copies of PackageSet._atoms by
Zac Medico [Thu, 1 Nov 2007 06:37:55 +0000 (06:37 -0000)]
Avoid making unnecessary copies of PackageSet._atoms by
replacing calls to self.getAtoms() with self._load().

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

16 years agoAdd a check for redundant cd "${S}" statements on the first
Zac Medico [Thu, 1 Nov 2007 02:25:18 +0000 (02:25 -0000)]
Add a check for redundant cd "${S}" statements on the first
line of src_(compile|install|test) ebuild methods. Thanks to
Petteri Räty <betelgeuse@gentoo.org> for this patch.

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

16 years agoMake depgraph.select_files() recursively expand sets given as
Zac Medico [Wed, 31 Oct 2007 22:12:41 +0000 (22:12 -0000)]
Make depgraph.select_files() recursively expand sets given as
arguments so that containment tests in _get_parent_sets()
properly match atoms in nested sets (like if world contains
system). Otherwise, atoms from nested sets would get recorded
in the world file.

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

16 years agoFix diefunc() so that it doesn't report that the ebuild is from
Zac Medico [Wed, 31 Oct 2007 17:33:00 +0000 (17:33 -0000)]
Fix diefunc() so that it doesn't report that the ebuild is from
an overlay when EMERGE_FROM == binary.

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

16 years agoUpdate the FEATURES=mirror docs to more accurately reflect behavior.
Zac Medico [Wed, 31 Oct 2007 17:12:42 +0000 (17:12 -0000)]
Update the FEATURES=mirror docs to more accurately reflect behavior.

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

16 years agoDefer selection of package dependency atoms until they are
Zac Medico [Wed, 31 Oct 2007 05:27:48 +0000 (05:27 -0000)]
Defer selection of package dependency atoms until they are
actually needed since the appropriate atom selection behavior
can change between the time that the package is initially
added to the graph and when it's dependencies are traversed
(like when --consistent is enabled).

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

16 years agoGather some ignored dependencies so that they can be properly
Zac Medico [Wed, 31 Oct 2007 02:38:29 +0000 (02:38 -0000)]
Gather some ignored dependencies so that they can be properly
processed by the depgraph when "conistent" mode is enabled.

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

16 years agoRemove a few unused depgraph attributes.
Zac Medico [Wed, 31 Oct 2007 01:35:17 +0000 (01:35 -0000)]
Remove a few unused depgraph attributes.

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

16 years agoFix "args" set handling wrt $ROOT in depgraph._complete_graph().
Zac Medico [Tue, 30 Oct 2007 23:33:11 +0000 (23:33 -0000)]
Fix "args" set handling wrt $ROOT in depgraph._complete_graph().

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

16 years agoImplement license filtering for xmatch minimum-visible and
Zac Medico [Tue, 30 Oct 2007 22:00:49 +0000 (22:00 -0000)]
Implement license filtering for xmatch minimum-visible and
bestmatch-visible. Also, make the gvisible license filtering
conditional on config.local_config since repoman doesn't do
license filtering.

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

16 years agoOptimize xmatch "bestmatch-visible" to do fewer metadata
Zac Medico [Tue, 30 Oct 2007 21:48:11 +0000 (21:48 -0000)]
Optimize xmatch "bestmatch-visible" to do fewer metadata
accesses by using the same code as "minimum-visible" but
with a reverse iterator.

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

16 years agoImplement a "consistent" depgraph parameter (enabled by --consistent)
Zac Medico [Tue, 30 Oct 2007 21:25:29 +0000 (21:25 -0000)]
Implement a "consistent" depgraph parameter (enabled by --consistent)
that can be used ensure that installation of new packages does not
break any deep dependencies of required sets (args, system, or world).
Unfortunately, the performance penalty for small dep calculations is
too great to enable this parameter by default. At least it will be
useful for testing backtracking behavior when that is implemented.

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

16 years agoUse rstrip("\n") to remove trailing newlines from
Zac Medico [Mon, 29 Oct 2007 05:26:59 +0000 (05:26 -0000)]
Use rstrip("\n") to remove trailing newlines from
CONTENTS lines.

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

16 years agoRewrite the dblink.getcontents() code to use str.split(" ")
Zac Medico [Mon, 29 Oct 2007 05:22:39 +0000 (05:22 -0000)]
Rewrite the dblink.getcontents() code to use str.split(" ")
for splitting CONTENTS lines so that even file paths that
end with spaces can be handled. This patch makes the fix for
bug #196836#c6 more complete. Some code for parsing old
malformed symlink entries has been removed sinces it's
probably not useful or worth maintaining anymore.

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

16 years agoMake portdbapi.cp_list() use os.listdir() instead of
Zac Medico [Mon, 29 Oct 2007 00:08:28 +0000 (00:08 -0000)]
Make portdbapi.cp_list() use os.listdir() instead of
portage.listdir() since portage.listdir() has unnecessary
overhead and it's cache isn't needed since cp_list() has
it's own cache.

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

16 years agoFix PackageSet.getAtoms() and getNonAtoms() so that they
Zac Medico [Sun, 28 Oct 2007 21:34:36 +0000 (21:34 -0000)]
Fix PackageSet.getAtoms() and getNonAtoms() so that they
don't return references to private data structures.

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

16 years agoFix --depclean to use SetConfig.getSetAtoms() and also fix a
Zac Medico [Sun, 28 Oct 2007 20:47:02 +0000 (20:47 -0000)]
Fix --depclean to use SetConfig.getSetAtoms() and also fix a
broken reference to packagesets which is now settings.sets.

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

16 years agoFix SetConfig.getSetAtoms() to stop initializing ignorelist
Zac Medico [Sun, 28 Oct 2007 20:30:46 +0000 (20:30 -0000)]
Fix SetConfig.getSetAtoms() to stop initializing ignorelist
in the parameter list since otherwise the ignorelist persists
between calls and causes unpredictable results for callers.

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

16 years agoOptimize stdout_spinner.update() methods so that they don't
Zac Medico [Sun, 28 Oct 2007 18:56:59 +0000 (18:56 -0000)]
Optimize stdout_spinner.update() methods so that they don't
waste cpu time by flushing ouput to the tty too frequently.

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

16 years agoFix cp_list() to prevent it from returning a reference
Zac Medico [Sun, 28 Oct 2007 09:05:18 +0000 (09:05 -0000)]
Fix cp_list() to prevent it from returning a reference
to one of it's internal lists.

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

16 years agoSort all dbapi.cp_list() results in ascending order and
Zac Medico [Sun, 28 Oct 2007 07:26:24 +0000 (07:26 -0000)]
Sort all dbapi.cp_list() results in ascending order and
cache the results when possible. The order is preserved
in dbapi.match() so those results are also sorted.

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

16 years agoReplace depgraph._slot_node_map with _slot_pkg_map so
Zac Medico [Sat, 27 Oct 2007 20:43:49 +0000 (20:43 -0000)]
Replace depgraph._slot_node_map with _slot_pkg_map so
that it's easier to get existing Package instances.

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

16 years agoMake depgraph._select_atoms() more flexible by allowing
Zac Medico [Sat, 27 Oct 2007 04:41:56 +0000 (04:41 -0000)]
Make depgraph._select_atoms() more flexible by allowing
the repositories to be passed in as a parameter.

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

16 years agoReuse an existing EmergeConfig instance instead of
Zac Medico [Sat, 27 Oct 2007 01:59:32 +0000 (01:59 -0000)]
Reuse an existing EmergeConfig instance instead of
constructing a new one.

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

16 years agoFix broken $ROOT handling for setconfig in the MergeTask
Zac Medico [Sat, 27 Oct 2007 01:46:37 +0000 (01:46 -0000)]
Fix broken $ROOT handling for setconfig in the MergeTask
constructor.

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

16 years agoIn portage.fetch(), condense digest check ouput to a single
Zac Medico [Fri, 26 Oct 2007 19:35:01 +0000 (19:35 -0000)]
In portage.fetch(), condense digest check ouput to a single
line for all digests.

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

16 years agoOptimize repoman to share portdbapi.cp_list() results
Zac Medico [Fri, 26 Oct 2007 18:06:07 +0000 (18:06 -0000)]
Optimize repoman to share portdbapi.cp_list() results
between all profiles since those results never change.
The cached results also propagate to the xmatch
match-all when appropriate (old-style virtuals are
excluded since they are profile dependent).

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

16 years agoAdd missing break statement for xmatch minimum-visible.
Zac Medico [Fri, 26 Oct 2007 16:34:51 +0000 (16:34 -0000)]
Add missing break statement for xmatch minimum-visible.

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

16 years agoOptimize repoman visibility checks to access as little
Zac Medico [Fri, 26 Oct 2007 08:38:16 +0000 (08:38 -0000)]
Optimize repoman visibility checks to access as little
metadata as possible. (improves performance especially
in cases where metadata needs to be generated). This
works by starting at the lowest version since that's
most likely to have keywords and it returns as soon as
the first visible package is found.

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

16 years agoMake emerge add sets to the world file as one would expect.
Zac Medico [Fri, 26 Oct 2007 06:10:58 +0000 (06:10 -0000)]
Make emerge add sets to the world file as one would expect.

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

16 years agoAllow sets to get through world file validation and
Zac Medico [Fri, 26 Oct 2007 05:18:38 +0000 (05:18 -0000)]
Allow sets to get through world file validation and
expand properly. It's now possible to put @system
in the world file and get the old behavior where
world includes system.

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

16 years agoPrevent premature expansion of old-style virtuals
Zac Medico [Fri, 26 Oct 2007 04:38:59 +0000 (04:38 -0000)]
Prevent premature expansion of old-style virtuals
inside depgraph.select_files().

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

16 years agoOptimize the algorithm used for expansion of set
Zac Medico [Fri, 26 Oct 2007 03:55:22 +0000 (03:55 -0000)]
Optimize the algorithm used for expansion of set
arguments into atoms.

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

16 years agoupdate notes about package sets
Marius Mauch [Fri, 26 Oct 2007 01:13:26 +0000 (01:13 -0000)]
update notes about package sets

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

16 years agobreak potential cycles in set expansion
Marius Mauch [Fri, 26 Oct 2007 01:07:06 +0000 (01:07 -0000)]
break potential cycles in set expansion

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

16 years agouse SetConfig.getSetAtoms instead of PackageSet.getAtoms for expanding sets to allow...
Marius Mauch [Fri, 26 Oct 2007 01:03:24 +0000 (01:03 -0000)]
use SetConfig.getSetAtoms instead of PackageSet.getAtoms for expanding sets to allow recursion, and drop the default 'sets/' prefix for setnames

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

16 years agouse a @ prefix for sets, and replace world/system with their real prefixed names...
Marius Mauch [Fri, 26 Oct 2007 00:55:26 +0000 (00:55 -0000)]
use a @ prefix for sets, and replace world/system with their real prefixed names if found on the commandline

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

16 years agoAllow sets to contain non-atoms
Marius Mauch [Thu, 25 Oct 2007 23:59:44 +0000 (23:59 -0000)]
Allow sets to contain non-atoms

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

16 years agoFIX: indentation problem, also end the Portage identification
Zac Medico [Thu, 25 Oct 2007 19:56:45 +0000 (19:56 -0000)]
FIX: indentation problem, also end the Portage identification
line with a ) if repoman wasn't forced to do its job.
(branches/prefix r8281)

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

16 years agoFix: Make repoman actually USE -m commit message again (and -M
Zac Medico [Thu, 25 Oct 2007 19:54:36 +0000 (19:54 -0000)]
Fix: Make repoman actually USE -m commit message again (and -M
commit message file). (branches/prefix r8280)

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

16 years agoCorrect expected split counts for CONTENTS lines.
Zac Medico [Thu, 25 Oct 2007 17:01:32 +0000 (17:01 -0000)]
Correct expected split counts for CONTENTS lines.

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

16 years agoHandle a potential IndexError.
Zac Medico [Thu, 25 Oct 2007 16:49:59 +0000 (16:49 -0000)]
Handle a potential IndexError.

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

16 years agoRemove obsolete whitespace handling code for "obj" filenames
Zac Medico [Thu, 25 Oct 2007 16:43:06 +0000 (16:43 -0000)]
Remove obsolete whitespace handling code for "obj" filenames
in CONTENTS.

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

16 years agoHandle multiple consecutive spaces in filenames as per
Zac Medico [Thu, 25 Oct 2007 16:36:48 +0000 (16:36 -0000)]
Handle multiple consecutive spaces in filenames as per
bug #196836#c6.

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

16 years agoFor the emergelog message, send in the original list of
Zac Medico [Thu, 25 Oct 2007 06:02:17 +0000 (06:02 -0000)]
For the emergelog message, send in the original list of
arguments that exists before expansion of sets.

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

16 years agoIf the title string is too big then xtermTitle() can
Zac Medico [Thu, 25 Oct 2007 05:57:32 +0000 (05:57 -0000)]
If the title string is too big then xtermTitle() can
misbehave by causing the terminal to echo some of the
characters and generate a "beep" sound. This is easily
triggered by doing things like `emerge world` now since
all the the atoms are expanded.

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

16 years agoFilter atoms that come from sets when generating
Zac Medico [Thu, 25 Oct 2007 05:29:01 +0000 (05:29 -0000)]
Filter atoms that come from sets when generating
the list of atoms to record in the world file.

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

16 years agoFor the global AUTOCLEAN, pass an empty list into unmerge()
Zac Medico [Thu, 25 Oct 2007 04:50:01 +0000 (04:50 -0000)]
For the global AUTOCLEAN, pass an empty list into unmerge()
so it behaves like it used to.

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

16 years agoSpit out a depgraph._get_existing_pkg() method for getting an
Zac Medico [Thu, 25 Oct 2007 02:52:54 +0000 (02:52 -0000)]
Spit out a depgraph._get_existing_pkg() method for getting an
existing Package instance added to the graph for a given SLOT.

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

16 years agoMake the Package class generate the digraph nodes.
Zac Medico [Thu, 25 Oct 2007 02:01:02 +0000 (02:01 -0000)]
Make the Package class generate the digraph nodes.

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

16 years agoFix inverted logic error.
Zac Medico [Thu, 25 Oct 2007 00:05:39 +0000 (00:05 -0000)]
Fix inverted logic error.

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

16 years agoConvert depgraph creation from using recursive calls to
Zac Medico [Wed, 24 Oct 2007 21:31:07 +0000 (21:31 -0000)]
Convert depgraph creation from using recursive calls to
using a stack of dependencies which will be more suitable
for implementation of backtracking.

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

16 years agoAdd back support for greedy SLOTs when --update is enabled as
Zac Medico [Wed, 24 Oct 2007 15:45:24 +0000 (15:45 -0000)]
Add back support for greedy SLOTs when --update is enabled as
per bug #150361. This is currently disabled for sets since
greedy SLOT atoms could be a property of the set itself.

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

16 years agoFix broken import.
Zac Medico [Wed, 24 Oct 2007 06:47:59 +0000 (06:47 -0000)]
Fix broken import.

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

16 years agoAdd back support for helpful `emaint --check world` suggestions
Zac Medico [Wed, 24 Oct 2007 06:42:39 +0000 (06:42 -0000)]
Add back support for helpful `emaint --check world` suggestions
and also show package masking reasons when appropriate.

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

16 years agoAdd back support for detecting if the world file contains
Zac Medico [Wed, 24 Oct 2007 06:13:13 +0000 (06:13 -0000)]
Add back support for detecting if the world file contains
atoms that match packages in package.provided.

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

16 years agoAdd back support for handling missing system/world atoms
Zac Medico [Wed, 24 Oct 2007 05:50:53 +0000 (05:50 -0000)]
Add back support for handling missing system/world atoms
that was removed with depgraph.xcreate(). This doesn't
have support for mapping atoms back to the original sets
yet, but at least a masked or unavailable system/world
atom won't compeletely break the depgraph now.

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

16 years agoReplace sys.exit() calls with return statements in emerge_main().
Zac Medico [Wed, 24 Oct 2007 01:59:42 +0000 (01:59 -0000)]
Replace sys.exit() calls with return statements in emerge_main().

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

16 years agoRemove --update greedy SLOTs code from depgraph.select_files()
Zac Medico [Wed, 24 Oct 2007 01:44:21 +0000 (01:44 -0000)]
Remove --update greedy SLOTs code from depgraph.select_files()
so that any desired SLOTs have to be pulled in explicitly. Any
SLOTs that are not explicitly pulled in will be removed by
--depclean.

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

16 years agoMake world atoms non-greedy for SLOTs in action_depclean()
Zac Medico [Wed, 24 Oct 2007 01:33:51 +0000 (01:33 -0000)]
Make world atoms non-greedy for SLOTs in action_depclean()
since users can simply add SLOT atoms to world for any
specific SLOTs that they want to keep.

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

16 years agoremove 'system' and 'world' as actions, and remove most of the special case code...
Marius Mauch [Wed, 24 Oct 2007 01:11:52 +0000 (01:11 -0000)]
remove 'system' and 'world' as actions, and remove most of the special case code as well

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

16 years agoFix selective logic to work properly with masked packages.
Zac Medico [Tue, 23 Oct 2007 23:11:33 +0000 (23:11 -0000)]
Fix selective logic to work properly with masked packages.

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

16 years agoMatch packages against arguments earlier in
Zac Medico [Tue, 23 Oct 2007 22:58:53 +0000 (22:58 -0000)]
Match packages against arguments earlier in
depgraph._select_package() so that corrupt
PROVIDE is detected sooner.

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

16 years agoFix logic for the "selective" depgraph parameter so
Zac Medico [Tue, 23 Oct 2007 22:55:04 +0000 (22:55 -0000)]
Fix logic for the "selective" depgraph parameter so
that it behaves correctly in cases where installed
packages provide old-style virtuals but none of the
available packages do.

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

16 years agodocument PROFILE_ONLY_VARIABLES
Marius Mauch [Tue, 23 Oct 2007 22:35:27 +0000 (22:35 -0000)]
document PROFILE_ONLY_VARIABLES

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

16 years agorevert r8256 (plans changed)
Marius Mauch [Tue, 23 Oct 2007 20:58:13 +0000 (20:58 -0000)]
revert r8256 (plans changed)

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

16 years agomove base classes for package sets into a separate module
Marius Mauch [Tue, 23 Oct 2007 20:33:08 +0000 (20:33 -0000)]
move base classes for package sets into a separate module

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

16 years agojust pass the SetConfig instance instead of only the settings and trees attributes
Marius Mauch [Tue, 23 Oct 2007 20:24:54 +0000 (20:24 -0000)]
just pass the SetConfig instance instead of only the settings and trees attributes

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

16 years agoOptimize PROFILE_ONLY_VARIABLES handling.
Zac Medico [Tue, 23 Oct 2007 19:30:15 +0000 (19:30 -0000)]
Optimize PROFILE_ONLY_VARIABLES handling.

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

16 years agomake 'world' and 'system' behave like their sets/ counterparts
Marius Mauch [Tue, 23 Oct 2007 19:24:27 +0000 (19:24 -0000)]
make 'world' and 'system' behave like their sets/ counterparts

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

16 years agomake PROFILE_ONLY_VARIABLES incremental
Marius Mauch [Tue, 23 Oct 2007 19:13:31 +0000 (19:13 -0000)]
make PROFILE_ONLY_VARIABLES incremental

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

16 years agoprotect variables specified in PROFILE_ONLY_VARIABLES from being set by the user
Marius Mauch [Tue, 23 Oct 2007 18:50:09 +0000 (18:50 -0000)]
protect variables specified in PROFILE_ONLY_VARIABLES from being set by the user

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

16 years agoadd quickie logger function
Alec Warner [Tue, 23 Oct 2007 07:49:22 +0000 (07:49 -0000)]
add quickie logger function

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

16 years agoBegin to use python logging framework. Remove if quiet < bla logic and instead use...
Alec Warner [Tue, 23 Oct 2007 07:48:47 +0000 (07:48 -0000)]
Begin to use python logging framework.  Remove if quiet < bla logic and instead use loglevels (critical, error, warn, info, debug).  Default to WARN for repoman, which will print CRITICAL, ERROR, and WARN messages.  one -v will print INFO messages and two -v's will print DEBUG messages, each -q will reduce the loglevel by one.  -q and -v can be given in any order.

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

16 years agoDon't show the "checking files for package collisions" message
Zac Medico [Tue, 23 Oct 2007 05:36:37 +0000 (05:36 -0000)]
Don't show the "checking files for package collisions" message
when --quiet is enabled.

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

16 years agoaha, i knew that diff was screwy, the mail to portage-commits and grep made it obviou...
Alec Warner [Tue, 23 Oct 2007 03:57:29 +0000 (03:57 -0000)]
aha, i knew that diff was screwy, the mail to portage-commits and grep made it obvious as to why; lets try removing those dupe checks.

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

16 years agofix tabbing
Alec Warner [Tue, 23 Oct 2007 03:53:49 +0000 (03:53 -0000)]
fix tabbing

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

16 years agoSigh, this integration did not go well, please check the diff (it seemed to add some...
Alec Warner [Tue, 23 Oct 2007 03:51:01 +0000 (03:51 -0000)]
Sigh, this integration did not go well, please check the diff (it seemed to add some weird ass code, but it looked fine on sources.gentoo.org).  Next time I'll try and either work in a branch or commit faster ;)

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

16 years agoPrint the Id tag an it's own line to avoid going
Zac Medico [Tue, 23 Oct 2007 02:38:02 +0000 (02:38 -0000)]
Print the Id tag an it's own line to avoid going
over 80 columns.

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

16 years agoFix the version Id tag.
Zac Medico [Tue, 23 Oct 2007 02:32:54 +0000 (02:32 -0000)]
Fix the version Id tag.

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

16 years agoFix config.setinst() to return early when the given
Zac Medico [Tue, 23 Oct 2007 01:11:08 +0000 (01:11 -0000)]
Fix config.setinst() to return early when the given
package already provides the virtual.

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

16 years agoRemove a redundant self.treeVirtuals deepcopy from the
Zac Medico [Tue, 23 Oct 2007 00:49:24 +0000 (00:49 -0000)]
Remove a redundant self.treeVirtuals deepcopy from the
config constructor.

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

16 years agoBug #196652 - Check for useless ABOUT-NLS|COPYING|LICENSE
Zac Medico [Tue, 23 Oct 2007 00:27:33 +0000 (00:27 -0000)]
Bug #196652 - Check for useless ABOUT-NLS|COPYING|LICENSE
files in dodoc arguments.

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

16 years agoFix broken imports.
Zac Medico [Mon, 22 Oct 2007 23:32:24 +0000 (23:32 -0000)]
Fix broken imports.

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

16 years agoIn depgraph.create(), if a direct circular dependency is
Zac Medico [Mon, 22 Oct 2007 22:32:08 +0000 (22:32 -0000)]
In depgraph.create(), if a direct circular dependency is
not an unsatisfied buildtime dependency then drop it here
since otherwise it can skew the merge order calculation
in an unwanted way.

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

16 years agoIn depgraph.create(), don't ignore direct circular dependencies
Zac Medico [Mon, 22 Oct 2007 06:59:26 +0000 (06:59 -0000)]
In depgraph.create(), don't ignore direct circular dependencies
anymore since altlist() is able to handle it properly in cases
where the dependency is satisfied. If the dep is unsatisfied
then it can not be ignored.

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

16 years agoBug #184118 - Add an emaint "cleanresume" action that deletes
Zac Medico [Mon, 22 Oct 2007 05:45:58 +0000 (05:45 -0000)]
Bug #184118 - Add an emaint "cleanresume" action that deletes
any existing resume lists from the mtimedb. Thanks to Arfrever
Frehtes Taifersar Arahesis for the initial patch.

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

16 years agoBug #196680 - Handle a CacheError inside mirror_cache() when
Zac Medico [Mon, 22 Oct 2007 03:50:32 +0000 (03:50 -0000)]
Bug #196680 - Handle a CacheError inside mirror_cache() when
reading from the source cache.

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

16 years agoCombine depgraph._select_dep() into create() so that
Zac Medico [Sun, 21 Oct 2007 23:23:42 +0000 (23:23 -0000)]
Combine depgraph._select_dep() into create() so that
create() simply calls itself recursively. In order
to implement backtracking, create() will eventually
operate on a stack instead of calling itself.

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

16 years agoAlways pass package metadata into depgraph.create() so
Zac Medico [Sun, 21 Oct 2007 21:23:36 +0000 (21:23 -0000)]
Always pass package metadata into depgraph.create() so
it doesn't have to get it itself.

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

16 years agoDo a loop over each dependency type to simplify
Zac Medico [Sun, 21 Oct 2007 20:59:00 +0000 (20:59 -0000)]
Do a loop over each dependency type to simplify
select_dep() calls.

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

16 years agoDon't catch a ValueError if it isn't the type that's expected
Zac Medico [Sun, 21 Oct 2007 20:31:06 +0000 (20:31 -0000)]
Don't catch a ValueError if it isn't the type that's expected
from portage.cpv_expand().

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

16 years agoFix NewsManager.getUnreadItems() so that it works properly
Zac Medico [Sun, 21 Oct 2007 18:38:00 +0000 (18:38 -0000)]
Fix NewsManager.getUnreadItems() so that it works properly
for an unprivileged user in readonly mode.

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

16 years agoBug #196427 - Prevent various news related tracebacks
Zac Medico [Sun, 21 Oct 2007 18:07:15 +0000 (18:07 -0000)]
Bug #196427 - Prevent various news related tracebacks
from occuring when running emerge as an unprivileged
user in --pretend mode.

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

16 years agonote that sets can't contain other sets
Marius Mauch [Sun, 21 Oct 2007 11:51:57 +0000 (11:51 -0000)]
note that sets can't contain other sets

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

16 years agoadd some notes about restrictions wrt package sets
Marius Mauch [Sun, 21 Oct 2007 10:55:14 +0000 (10:55 -0000)]
add some notes about restrictions wrt package sets

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

16 years agofix comment
Marius Mauch [Sun, 21 Oct 2007 10:36:17 +0000 (10:36 -0000)]
fix comment

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

16 years agoignore "permission denied" errors when changing perms of news skipfile that happen...
Marius Mauch [Sun, 21 Oct 2007 10:34:35 +0000 (10:34 -0000)]
ignore "permission denied" errors when changing perms of news skipfile that happen when running with user priviledges in pretend mode

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