portage.git
17 years agoUse blocking mode for writes since we'd rather block than trigger a EWOULDBLOCK error.
Zac Medico [Wed, 25 Jul 2007 07:55:13 +0000 (07:55 -0000)]
Use blocking mode for writes since we'd rather block than trigger a EWOULDBLOCK error.

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

17 years agoUse the hardcoded variables from portage.const rather than strings that are apt to...
Alec Warner [Wed, 25 Jul 2007 07:34:37 +0000 (07:34 -0000)]
Use the hardcoded variables from portage.const rather than strings that are apt to change, fix spacing.

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

17 years agoUse a select loop for moving input and ouput when logging is enabled in portage.spawn().
Zac Medico [Wed, 25 Jul 2007 02:18:08 +0000 (02:18 -0000)]
Use a select loop for moving input and ouput when logging is enabled in portage.spawn().

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

17 years agoAdd droppriv keyword for the depend phase (last one).
Zac Medico [Tue, 24 Jul 2007 06:57:51 +0000 (06:57 -0000)]
Add droppriv keyword for the depend phase (last one).

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

17 years agoAdd droppriv keyword for the depend phase.
Zac Medico [Tue, 24 Jul 2007 06:48:42 +0000 (06:48 -0000)]
Add droppriv keyword for the depend phase.

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

17 years agoFix make.conf.example rejects.
Zac Medico [Tue, 24 Jul 2007 06:37:41 +0000 (06:37 -0000)]
Fix make.conf.example rejects.

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

17 years agoFor bug #186337, show an ewarn message if FEATURES=installsources is enabled but...
Zac Medico [Tue, 24 Jul 2007 01:16:25 +0000 (01:16 -0000)]
For bug #186337, show an ewarn message if FEATURES=installsources is enabled but debugedit is not installed. Also document installsources and splitdebug in make.conf.example.

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

17 years agoAdd FEATURES=fakeroot support which causes install and package phases to run inside...
Zac Medico [Mon, 23 Jul 2007 23:33:08 +0000 (23:33 -0000)]
Add FEATURES=fakeroot support which causes install and package phases to run inside fakeroot when a non-root user runs the ebuild command.  Thanks to swegener for the initial patch.

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

17 years agoAdd sfperms and strict to the default FEATURES since they're already in the base...
Zac Medico [Mon, 23 Jul 2007 18:57:16 +0000 (18:57 -0000)]
Add sfperms and strict to the default FEATURES since they're already in the base profile's make.defaults.

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

17 years agoEnable FEATURES=userfetch by default.
Zac Medico [Mon, 23 Jul 2007 18:50:41 +0000 (18:50 -0000)]
Enable FEATURES=userfetch by default.

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

17 years agoDrop privileges in the "depend" phase regardless of FEATURES and RESTRICT since that...
Zac Medico [Mon, 23 Jul 2007 18:07:40 +0000 (18:07 -0000)]
Drop privileges in the "depend" phase regardless of FEATURES and RESTRICT since that phase should never need special privileges.  Thanks to swegener for the initial patch.

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

17 years agoadd more tests for keyvaluepairloader (it had a bug previously) and fix up other...
Alec Warner [Mon, 23 Jul 2007 07:49:38 +0000 (07:49 -0000)]
add more tests for keyvaluepairloader (it had a bug previously) and fix up other misc tests

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

17 years agofix broken import
Alec Warner [Mon, 23 Jul 2007 07:30:24 +0000 (07:30 -0000)]
fix broken import

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

17 years agoFix imports for style, slight optimization for grab* function, doc fixups.
Alec Warner [Mon, 23 Jul 2007 07:30:00 +0000 (07:30 -0000)]
Fix imports for style, slight optimization for grab* function, doc fixups.

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

17 years agoValidator should be a function, not a class, fix spacing/tab issues. Fix parsing...
Alec Warner [Mon, 23 Jul 2007 07:28:58 +0000 (07:28 -0000)]
Validator should be a function, not a class, fix spacing/tab issues.  Fix parsing errors for KeyValuePairLoader.  Add a GenericFileLoader class that uses more than 1 loader in a vain attempt to figure out what kind of file it is.  Fix inheritance by renaming UserConfigKlass

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

17 years agoFix imports for style, deprecate grab*, what is foo.metadata and what does it contain
Alec Warner [Mon, 23 Jul 2007 07:26:18 +0000 (07:26 -0000)]
Fix imports for style, deprecate grab*, what is foo.metadata and what does it contain

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

17 years agoMove classes out of __init__.py, they do not belong there. Fix import style, and...
Alec Warner [Mon, 23 Jul 2007 07:21:31 +0000 (07:21 -0000)]
Move classes out of __init__.py, they do not belong there.  Fix import style, and import statements broken by class moves.

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

17 years agoMove common file functionality into a FileLoader class and delegate parsing to subcla...
Alec Warner [Mon, 23 Jul 2007 05:23:18 +0000 (05:23 -0000)]
Move common file functionality into a FileLoader class and delegate parsing to subclasses via a lineParser func, no idea how this will work performance wise.  Fix errors in parser (blank lines are not errors ;))

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

17 years agofix spacing, comments, default args
Alec Warner [Mon, 23 Jul 2007 04:06:55 +0000 (04:06 -0000)]
fix spacing, comments, default args

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

17 years agoFix hardcoded /usr/bin/echo to use portage.process.find_binary().
Zac Medico [Sun, 22 Jul 2007 23:21:14 +0000 (23:21 -0000)]
Fix hardcoded /usr/bin/echo to use portage.process.find_binary().

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

17 years agofix missing import, default value for value in case we try to .join on a variable...
Alec Warner [Sun, 22 Jul 2007 22:24:30 +0000 (22:24 -0000)]
fix missing import, default value for value in case we try to .join on a variable that hasn't been assigned to yet

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

17 years agoadd docstring, fix up imports (style), add keyword expansion
Alec Warner [Sun, 22 Jul 2007 22:18:34 +0000 (22:18 -0000)]
add docstring, fix up imports (style), add keyword expansion

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

17 years agoadd test for CommandOutputSet
Alec Warner [Sun, 22 Jul 2007 22:17:12 +0000 (22:17 -0000)]
add test for CommandOutputSet

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

17 years agoFor bug #184774, put lha's -q option last since otherwise the option parser now requi...
Zac Medico [Sun, 22 Jul 2007 20:56:19 +0000 (20:56 -0000)]
For bug #184774, put lha's -q option last since otherwise the option parser now requires level 0, 1, or 2 to be specified.

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

17 years agoFix spacing issues, imports
Alec Warner [Sun, 22 Jul 2007 20:15:39 +0000 (20:15 -0000)]
Fix spacing issues, imports

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

17 years agoAdd notes about import statements (clarity) and fix spelling error in release-notes
Alec Warner [Sun, 22 Jul 2007 19:22:16 +0000 (19:22 -0000)]
Add notes about import statements (clarity) and fix spelling error in release-notes

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

17 years agoremove unused vars from xpak, fix bug in compose. Also fix tests for portage sets...
Alec Warner [Sun, 22 Jul 2007 10:08:15 +0000 (10:08 -0000)]
remove unused vars from xpak, fix bug in compose.  Also fix tests for portage sets, fix misnamed variable.

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

17 years agoRun pychecker over everything, fix obvious thing slike modules not in use, variables...
Alec Warner [Sun, 22 Jul 2007 09:55:50 +0000 (09:55 -0000)]
Run pychecker over everything, fix obvious thing slike modules not in use, variables not being used, or global exceptions not being deleted.  Also fix imports for style (1 per line)

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

17 years agoFix the reverse dependency display for --prune when there is now real parent.
Zac Medico [Sun, 22 Jul 2007 07:49:14 +0000 (07:49 -0000)]
Fix the reverse dependency display for --prune when there is now real parent.

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

17 years agoMake --update imply --oneshot since people often us it to update things when they...
Zac Medico [Sun, 22 Jul 2007 06:48:00 +0000 (06:48 -0000)]
Make --update imply --oneshot since people often us it to update things when they don't want to add them to world.  Thanks to jakub for the suggestion.

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

17 years agoDocument --depclean and --prune enhancements.
Zac Medico [Sun, 22 Jul 2007 06:33:51 +0000 (06:33 -0000)]
Document --depclean and --prune enhancements.

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

17 years agoPrevent a potential KeyError when removing world from the digraph for --prune display.
Zac Medico [Sun, 22 Jul 2007 06:08:48 +0000 (06:08 -0000)]
Prevent a potential KeyError when removing world from the digraph for --prune display.

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

17 years agoMake --prune pull in the system set since that could pull in some slots that wouldn...
Zac Medico [Sun, 22 Jul 2007 06:06:41 +0000 (06:06 -0000)]
Make --prune pull in the system set since that could pull in some slots that wouldn't be pulled in otherwise.

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

17 years agoFor bug #169500, detect when the cvs server puts /Attic/ inside the $Header path...
Zac Medico [Sat, 21 Jul 2007 11:34:23 +0000 (11:34 -0000)]
For bug #169500, detect when the cvs server puts /Attic/ inside the $Header path and automatically correct it.

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

17 years agoFor bug #185153, in commit mode do the "Fetching trivial updates" routine before...
Zac Medico [Sat, 21 Jul 2007 10:36:55 +0000 (10:36 -0000)]
For bug #185153, in commit mode do the "Fetching trivial updates" routine before the qa scan.

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

17 years agoMake --prune and --depclean return before calculating dependencies if atoms are given...
Zac Medico [Sat, 21 Jul 2007 09:42:34 +0000 (09:42 -0000)]
Make --prune and --depclean return before calculating dependencies if atoms are given but they don't match any packages.

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

17 years agoPrune really uses all installed instead of world. It's not a real reverse dependency...
Zac Medico [Sat, 21 Jul 2007 09:31:21 +0000 (09:31 -0000)]
Prune really uses all installed instead of world.  It's not a real reverse dependency so don't display it as such.

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

17 years agoJust show [0] instead of [0=>0] in the repo display.
Zac Medico [Sat, 21 Jul 2007 04:57:08 +0000 (04:57 -0000)]
Just show [0] instead of [0=>0] in the repo display.

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

17 years agoFor bug #185930, direct all FETCHCOMMAND output to stdout.
Zac Medico [Sat, 21 Jul 2007 04:20:15 +0000 (04:20 -0000)]
For bug #185930, direct all FETCHCOMMAND output to stdout.

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

17 years agoOptimize PackageSet._updateAtomMap() for the case where one or more atoms are added...
Zac Medico [Sat, 21 Jul 2007 03:51:28 +0000 (03:51 -0000)]
Optimize PackageSet._updateAtomMap() for the case where one or more atoms are added and none are removed.

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

17 years agoHint about --nodeps if --prune doesn't find anything to prune. Also enable reverse...
Zac Medico [Sat, 21 Jul 2007 03:37:08 +0000 (03:37 -0000)]
Hint about --nodeps if --prune doesn't find anything to prune.  Also enable reverse dependency display for global depclean.

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

17 years agoWhen digest verification of a distfile fails, rename instead of unlinking it in case...
Zac Medico [Sat, 21 Jul 2007 00:21:24 +0000 (00:21 -0000)]
When digest verification of a distfile fails, rename instead of unlinking it in case it's a large download and the user wants to salvage it due to a bad digest.

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

17 years agoIf the fetcher reported success and the file is too small, don't attempt to resume...
Zac Medico [Fri, 20 Jul 2007 05:40:42 +0000 (05:40 -0000)]
If the fetcher reported success and the file is too small, don't attempt to resume.  Upstream probably changed the distfile and we need to show a digest verification failure so the user gets a clue.

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

17 years agoFor bug #185504, document profiles/repo_name.
Zac Medico [Fri, 20 Jul 2007 03:19:21 +0000 (03:19 -0000)]
For bug #185504, document profiles/repo_name.

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

17 years agoDocument --prune and --depclean enhancements.
Zac Medico [Fri, 20 Jul 2007 02:46:51 +0000 (02:46 -0000)]
Document --prune and --depclean enhancements.

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

17 years agoUpdate --prune docs for bug #151653.
Zac Medico [Fri, 20 Jul 2007 02:23:33 +0000 (02:23 -0000)]
Update --prune docs for bug #151653.

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

17 years agoFix --prune so that it always correctly accounts for COUNTER when dealing with packag...
Zac Medico [Fri, 20 Jul 2007 02:00:02 +0000 (02:00 -0000)]
Fix --prune so that it always correctly accounts for COUNTER when dealing with packages in the same slot.

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

17 years agoFor bug #151653, make --prune keep the highest version whenever possible (even when...
Zac Medico [Fri, 20 Jul 2007 01:52:39 +0000 (01:52 -0000)]
For bug #151653, make --prune keep the highest version whenever possible (even when there is one with a higher counter installed).

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

17 years agoMake --prune try to prune all slotted packages if no atoms are given (that's how...
Zac Medico [Thu, 19 Jul 2007 23:55:26 +0000 (23:55 -0000)]
Make --prune try to prune all slotted packages if no atoms are given (that's how it already works with --nodeps).

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

17 years agoMake --prune bail out like depclean does if there are unresolved dependencies. Notif...
Zac Medico [Thu, 19 Jul 2007 23:43:44 +0000 (23:43 -0000)]
Make --prune bail out like depclean does if there are unresolved dependencies.  Notify the user that they can use --nodeps in that case.

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

17 years agoWith --prune and --depclean, if --verbose is enabled then show reverse dependencies...
Zac Medico [Thu, 19 Jul 2007 23:31:27 +0000 (23:31 -0000)]
With --prune and --depclean, if --verbose is enabled then show reverse dependencies for each package that is matched by an atom from the command line.  This allows the user to see why a package will not be unmerged.

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

17 years agoAllow atoms to be specified for --depclean so that it can be used to safely unmerge...
Zac Medico [Wed, 18 Jul 2007 06:26:44 +0000 (06:26 -0000)]
Allow atoms to be specified for --depclean so that it can be used to safely unmerge packages if nothing depends on them.

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

17 years agoUse the --depclean algorithm to make --prune safe. The old unsafe --prune will be...
Zac Medico [Wed, 18 Jul 2007 04:03:38 +0000 (04:03 -0000)]
Use the --depclean algorithm to make --prune safe.  The old unsafe --prune will be used if the --nodeps option is specified.

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

17 years agoIterate over a list in order to avoid breaking the iterator when an atom is removed.
Zac Medico [Tue, 17 Jul 2007 21:41:53 +0000 (21:41 -0000)]
Iterate over a list in order to avoid breaking the iterator when an atom is removed.

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

17 years agoUse PackageSet.getAtoms() as a wrapper around load() since load() can trigger unneces...
Zac Medico [Tue, 17 Jul 2007 21:16:37 +0000 (21:16 -0000)]
Use PackageSet.getAtoms() as a wrapper around load() since load() can trigger unnecessary stat calls.

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

17 years agoMake PackageSet._updateAtomMap() clear the map in case something was removed.
Zac Medico [Tue, 17 Jul 2007 21:08:46 +0000 (21:08 -0000)]
Make PackageSet._updateAtomMap() clear the map in case something was removed.

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

17 years agoUse PF in dyn_package. Thanks to swegener.
Zac Medico [Tue, 17 Jul 2007 19:26:05 +0000 (19:26 -0000)]
Use PF in dyn_package.  Thanks to swegener.

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

17 years agoUnify USE handling in the depgraph with the other metadata.
Zac Medico [Tue, 17 Jul 2007 19:13:13 +0000 (19:13 -0000)]
Unify USE handling in the depgraph with the other metadata.

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

17 years agoFor bug #185670, make sure package.use.{mask,force} are properly displayed.
Zac Medico [Tue, 17 Jul 2007 18:19:11 +0000 (18:19 -0000)]
For bug #185670, make sure package.use.{mask,force} are properly displayed.

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

17 years agoWhen expanding ambiguous atoms against the vardb, make sure the the expanded package...
Zac Medico [Tue, 17 Jul 2007 18:04:44 +0000 (18:04 -0000)]
When expanding ambiguous atoms against the vardb, make sure the the expanded package is also available in the portage tree.

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

17 years agoWhen dep_expand throws a ValueError due to an ambiguous atom, try to expand it agains...
Zac Medico [Tue, 17 Jul 2007 04:58:36 +0000 (04:58 -0000)]
When dep_expand throws a ValueError due to an ambiguous atom, try to expand it against the installed packages in case it yields a unique match.

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

17 years agoDon't show the repo display when the package list is empty.
Zac Medico [Tue, 17 Jul 2007 04:38:27 +0000 (04:38 -0000)]
Don't show the repo display when the package list is empty.

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

17 years agoMake sure the atoms are loaded when calling PackageSet.findAtomForPackage().
Zac Medico [Tue, 17 Jul 2007 04:35:22 +0000 (04:35 -0000)]
Make sure the atoms are loaded when calling PackageSet.findAtomForPackage().

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

17 years agoMake sure PackageSet._atoms is always a set.
Zac Medico [Tue, 17 Jul 2007 04:21:51 +0000 (04:21 -0000)]
Make sure PackageSet._atoms is always a set.

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

17 years agoRevert PackageSet.containsCPV() calls back to findAtomForPackage() calls so that...
Zac Medico [Tue, 17 Jul 2007 04:15:13 +0000 (04:15 -0000)]
Revert PackageSet.containsCPV() calls back to findAtomForPackage() calls so that things like slot atoms and old-style virtuals are properly supported.

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

17 years agoAlways be sure to load the latest version of the world file while it's locked.
Zac Medico [Tue, 17 Jul 2007 01:31:04 +0000 (01:31 -0000)]
Always be sure to load the latest version of the world file while it's locked.

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

17 years agoSort the atoms when writing the world file.
Zac Medico [Mon, 16 Jul 2007 18:33:36 +0000 (18:33 -0000)]
Sort the atoms when writing the world file.

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

17 years agoReplace emerge.WorldSet with portage.sets.files.WorldSet
Marius Mauch [Mon, 16 Jul 2007 13:52:27 +0000 (13:52 -0000)]
Replace emerge.WorldSet with portage.sets.files.WorldSet

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

17 years agobreak another recursion cycle, add special subclass for "world" to handle locking
Marius Mauch [Mon, 16 Jul 2007 13:51:11 +0000 (13:51 -0000)]
break another recursion cycle, add special subclass for "world" to handle locking

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

17 years agoReplace emerge.SystemSet with portage.sets.profiles.PackagesSystemSet
Marius Mauch [Mon, 16 Jul 2007 12:53:57 +0000 (12:53 -0000)]
Replace emerge.SystemSet with portage.sets.profiles.PackagesSystemSet

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

17 years agobreak recursion cycle
Marius Mauch [Mon, 16 Jul 2007 12:53:13 +0000 (12:53 -0000)]
break recursion cycle

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

17 years agoreplace emerge.AtomSet with portage.sets.InternalPackageSet
Marius Mauch [Mon, 16 Jul 2007 12:35:32 +0000 (12:35 -0000)]
replace emerge.AtomSet with portage.sets.InternalPackageSet

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

17 years agodisable FEATURES=gpg as it's unmaintained, useless and likely broken for many people
Marius Mauch [Mon, 16 Jul 2007 11:48:07 +0000 (11:48 -0000)]
disable FEATURES=gpg as it's unmaintained, useless and likely broken for many people

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

17 years agofix metadata parsing for file-based sets, add support for user-defined file sets...
Marius Mauch [Mon, 16 Jul 2007 09:15:54 +0000 (09:15 -0000)]
fix metadata parsing for file-based sets, add support for user-defined file sets in test code

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

17 years agoadd support for metadata
Marius Mauch [Mon, 16 Jul 2007 09:01:49 +0000 (09:01 -0000)]
add support for metadata

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

17 years agoignore already applied glsas when loading the security set
Marius Mauch [Mon, 16 Jul 2007 08:13:53 +0000 (08:13 -0000)]
ignore already applied glsas when loading the security set

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

17 years agofix load logic for editable sets once more
Marius Mauch [Mon, 16 Jul 2007 07:38:19 +0000 (07:38 -0000)]
fix load logic for editable sets once more

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

17 years agouse a more logical approach for editable sets
Marius Mauch [Mon, 16 Jul 2007 07:36:09 +0000 (07:36 -0000)]
use a more logical approach for editable sets

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

17 years agoMake PackageSet to behave more like a real set, and change loading logic a bit to...
Marius Mauch [Mon, 16 Jul 2007 07:23:45 +0000 (07:23 -0000)]
Make PackageSet to behave more like a real set, and change loading logic a bit to avoid unnecessary reloads for editable sets

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

17 years agos/node/atom/ and other minor updates
Marius Mauch [Mon, 16 Jul 2007 06:39:27 +0000 (06:39 -0000)]
s/node/atom/ and other minor updates

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

17 years agosync MAILSUBJECT in make.conf with make.globals
Marius Mauch [Mon, 16 Jul 2007 04:07:32 +0000 (04:07 -0000)]
sync MAILSUBJECT in make.conf with make.globals

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

17 years agosplit up the debug/sources steps as proposed by swegener and give the whole file...
Mike Frysinger [Sun, 15 Jul 2007 07:16:28 +0000 (07:16 -0000)]
split up the debug/sources steps as proposed by swegener and give the whole file a cleanup

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

17 years agoFix typo.
Zac Medico [Sun, 15 Jul 2007 03:45:36 +0000 (03:45 -0000)]
Fix typo.

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

17 years agoWhen deciding if a package is slotted inside create_world_atom(), check the vdb in...
Zac Medico [Sun, 15 Jul 2007 03:21:30 +0000 (03:21 -0000)]
When deciding if a package is slotted inside create_world_atom(), check the vdb in case the package is multislot.

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

17 years agoRemove unused repo_name code.
Zac Medico [Sat, 14 Jul 2007 23:45:19 +0000 (23:45 -0000)]
Remove unused repo_name code.

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

17 years agoUse sys.stdout instead of print to avoid an extra newline.
Zac Medico [Sat, 14 Jul 2007 23:25:36 +0000 (23:25 -0000)]
Use sys.stdout instead of print to avoid an extra newline.

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

17 years agoEncapsulate the repo display code in a class.
Zac Medico [Sat, 14 Jul 2007 23:21:37 +0000 (23:21 -0000)]
Encapsulate the repo display code in a class.

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

17 years agoAlways show PORTDIR with index 0 in the repo display.
Zac Medico [Sat, 14 Jul 2007 22:44:08 +0000 (22:44 -0000)]
Always show PORTDIR with index 0 in the repo display.

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

17 years agoMake the repo display work for overlays that don't define repo_name (like it used...
Zac Medico [Sat, 14 Jul 2007 22:33:30 +0000 (22:33 -0000)]
Make the repo display work for overlays that don't define repo_name (like it used to).

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

17 years agoFor bug #185278, make the verbose flag display show masked/forced flag status for...
Zac Medico [Sat, 14 Jul 2007 20:28:08 +0000 (20:28 -0000)]
For bug #185278, make the verbose flag display show masked/forced flag status for binary packages too.

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

17 years agoPDEPEND is now installed as soon as possible so that it behaves more like RDEPEND.
Zac Medico [Sat, 14 Jul 2007 08:05:03 +0000 (08:05 -0000)]
PDEPEND is now installed as soon as possible so that it behaves more like RDEPEND.

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

17 years agoFix it so that the 'repository could not be determined' message is shown when appropr...
Zac Medico [Sat, 14 Jul 2007 04:10:19 +0000 (04:10 -0000)]
Fix it so that the 'repository could not be determined' message is shown when appropriate (issue with variable scope).

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

17 years agoMisc fixes for verbose repo output:
Zac Medico [Sat, 14 Jul 2007 03:36:17 +0000 (03:36 -0000)]
Misc fixes for verbose repo output:
- Support binary packages by using the 'repository' metadata that's stored in the package.
- Support PORTAGE_CONFIGROOT, showing repos from both configs if necessary.
- Dynamic allocation of repo indexes so only relevant repos are shown.

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

17 years agoSave the repo name along with the other metadata inside dyn_compile() so that it...
Zac Medico [Fri, 13 Jul 2007 23:37:09 +0000 (23:37 -0000)]
Save the repo name along with the other metadata inside dyn_compile() so that it's saved inside binary packages for when they are finally merged.

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

17 years agoUse os.path.realpath(portdir) for comparison of repo paths. (branchs/prefix r7245)
Zac Medico [Fri, 13 Jul 2007 19:40:30 +0000 (19:40 -0000)]
Use os.path.realpath(portdir) for comparison of repo paths. (branchs/prefix r7245)

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

17 years agoAdd "reset" to the list of attributes.
Zac Medico [Thu, 12 Jul 2007 09:12:36 +0000 (09:12 -0000)]
Add "reset" to the list of attributes.

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

17 years agoFix the case where the currently installed package is from a repo that is no longer...
Zac Medico [Thu, 12 Jul 2007 04:50:13 +0000 (04:50 -0000)]
Fix the case where the currently installed package is from a repo that is no longer in the overlay (oldrepo is None rather than an empty string).

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

17 years agoMake depgraph._reinstall_for_flags() always return all revelant flags.
Zac Medico [Thu, 12 Jul 2007 00:22:53 +0000 (00:22 -0000)]
Make depgraph._reinstall_for_flags() always return all revelant flags.

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

17 years agoFor bug #184983, prevent USE_EXPAND_HIDDEN flags from being hidden if they are the...
Zac Medico [Thu, 12 Jul 2007 00:07:17 +0000 (00:07 -0000)]
For bug #184983, prevent USE_EXPAND_HIDDEN flags from being hidden if they are the only thing that triggered reinstallation.

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

17 years agoUse set.discard() instead of remove() to avoid a potential KeyError.
Zac Medico [Wed, 11 Jul 2007 04:54:03 +0000 (04:54 -0000)]
Use set.discard() instead of remove() to avoid a potential KeyError.

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