portage.git
17 years agoFor bug #181104, make econf give an appropriate error message when configure is not...
Zac Medico [Fri, 8 Jun 2007 21:40:53 +0000 (21:40 -0000)]
For bug #181104, make econf give an appropriate error message when configure is not executable.

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

17 years agoIgnore InvalidDependString exceptions from the RESTRICT of "nomerge" nodes.
Zac Medico [Thu, 7 Jun 2007 23:38:07 +0000 (23:38 -0000)]
Ignore InvalidDependString exceptions from the RESTRICT of "nomerge" nodes.

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

17 years agoMake all the python code respect USE conditionals in RESTRICT. It's already handled...
Zac Medico [Thu, 7 Jun 2007 18:57:04 +0000 (18:57 -0000)]
Make all the python code respect USE conditionals in RESTRICT.  It's already handled on the bash side since RESTRICT is assigned the value of PORTAGE_RESTRICT.

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

17 years agoMake pkgsplit and catpkgsplit return imutable tuples instead of mutable lists so...
Zac Medico [Thu, 7 Jun 2007 14:47:39 +0000 (14:47 -0000)]
Make pkgsplit and catpkgsplit return imutable tuples instead of mutable lists so that cached values can be safely returned without cloning them first.  Thanks to Brian Harring for the suggestion.

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

17 years agoFix strange _DevNull instance has no attribute 'isatty' warnings that occur when...
Zac Medico [Thu, 7 Jun 2007 12:17:10 +0000 (12:17 -0000)]
Fix strange _DevNull instance has no attribute 'isatty' warnings that occur when epydoc generates docs.

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

17 years agoWhen using a pty for logging, use setsid() to create a new session and make the pty...
Zac Medico [Thu, 7 Jun 2007 12:02:59 +0000 (12:02 -0000)]
When using a pty for logging, use setsid() to create a new session and make the pty into the controlling terminal of the new session.  This makes interactive ebuild behave properly in interactive cases like check_license() where ${PAGER:-less} is invoked.

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

17 years agoReturn copies of the cached values from pkgsplit and catpkgsplit.
Zac Medico [Wed, 6 Jun 2007 07:54:25 +0000 (07:54 -0000)]
Return copies of the cached values from pkgsplit and catpkgsplit.

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

17 years agoFor bug #181021, don't compare attributes of contents entries when deciding which...
Zac Medico [Wed, 6 Jun 2007 07:45:19 +0000 (07:45 -0000)]
For bug #181021, don't compare attributes of contents entries when deciding which files not to unmerge.  Simply keep any file that's listed in the new contents in order to avoid problematic scenarios such as those described in comments #32 and #40 of bug #8423.

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

17 years agoFor bug #82378, only set permissions on PORT_LOGDIR if it is created automatically.
Zac Medico [Wed, 6 Jun 2007 05:58:17 +0000 (05:58 -0000)]
For bug #82378, only set permissions on PORT_LOGDIR if it is created automatically.

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

17 years agoFor bug #156536, update --resume docs to show that the resume history is capable...
Zac Medico [Wed, 6 Jun 2007 05:25:06 +0000 (05:25 -0000)]
For bug #156536, update --resume docs to show that the resume history is capable of storing two merge lists.

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

17 years agoFor bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND.
Zac Medico [Wed, 6 Jun 2007 04:09:08 +0000 (04:09 -0000)]
For bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND.

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

17 years agoComment in portage.movefile() that it's impossible to preserve timestamps of a symlin...
Zac Medico [Wed, 6 Jun 2007 03:37:11 +0000 (03:37 -0000)]
Comment in portage.movefile() that it's impossible to preserve timestamps of a symlink since utime() only works on the target.

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

17 years agoFor bug #181021, preserve timestamps from ${D} during merge. For replacement operati...
Zac Medico [Wed, 6 Jun 2007 02:59:37 +0000 (02:59 -0000)]
For bug #181021, preserve timestamps from ${D} during merge.  For replacement operations, the unmerge phase checks the contents of the newer instance in order to prevent identical files in the newer instance from being unmerged.

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

17 years agoFix typo, split SPACE_SEPARATED variables on whitespace.
Zac Medico [Wed, 6 Jun 2007 00:59:49 +0000 (00:59 -0000)]
Fix typo, split SPACE_SEPARATED variables on whitespace.

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

17 years agoWhen dblink.treewalk() looks for an installed instance in the same slot, make sure...
Zac Medico [Tue, 5 Jun 2007 23:34:04 +0000 (23:34 -0000)]
When dblink.treewalk() looks for an installed instance in the same slot, make sure that it selects the one with the highest COUNTER in case there are multiple matches.

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

17 years agoRemove duplicate entries from special variables processed by env_update() (bug #172194)
Marius Mauch [Tue, 5 Jun 2007 17:55:03 +0000 (17:55 -0000)]
Remove duplicate entries from special variables processed by env_update() (bug #172194)

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

17 years agoUse user-provided $mv_opts for -5 (bug #47442)
Marius Mauch [Tue, 5 Jun 2007 16:58:08 +0000 (16:58 -0000)]
Use user-provided $mv_opts for -5 (bug #47442)

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

17 years agoAdd ECONF_SOURCE to the econf docs.
Zac Medico [Tue, 5 Jun 2007 02:28:26 +0000 (02:28 -0000)]
Add ECONF_SOURCE to the econf docs.

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

17 years agoDocument EXTRA_ECONF, thanks to Arfrever FTA in bug #167057.
Zac Medico [Tue, 5 Jun 2007 02:23:26 +0000 (02:23 -0000)]
Document EXTRA_ECONF, thanks to Arfrever FTA in bug #167057.

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

17 years agoImprove support for slot deps atoms given on the command line. Thanks to Flameeyes...
Zac Medico [Mon, 4 Jun 2007 09:29:13 +0000 (09:29 -0000)]
Improve support for slot deps atoms given on the command line.  Thanks to Flameeyes for reporting.

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

17 years agoFix typo.
Zac Medico [Mon, 4 Jun 2007 03:13:43 +0000 (03:13 -0000)]
Fix typo.

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

17 years agoFor bug #164655, port quickpkg to python and use the tarfile module for proper handli...
Zac Medico [Mon, 4 Jun 2007 01:44:34 +0000 (01:44 -0000)]
For bug #164655, port quickpkg to python and use the tarfile module for proper handling of symlinks to directories.  Thanks to Martin Parm <parmus@diku.dk> for the initial port.

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

17 years agoFix broken usage of lstrip in creating the PROFILE header field.
Zac Medico [Sun, 3 Jun 2007 21:48:56 +0000 (21:48 -0000)]
Fix broken usage of lstrip in creating the PROFILE header field.

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

17 years agoRemove pym/{cache,elog_modules} directory symlinks since they lead to upgrade/downgra...
Zac Medico [Sun, 3 Jun 2007 07:15:54 +0000 (07:15 -0000)]
Remove pym/{cache,elog_modules} directory symlinks since they lead to upgrade/downgrade issues.  These modules probably aren't referenced from outside of portage anyway.  There's a hack in config.load_best_module() so that cache.* in /etc/portage/modules will first try cache.* and then try portage.cache.* if there's an ImportError.

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

17 years agoUse the PORTAGE_BINHOST_HEADER_URI environment variable to define the URI header...
Zac Medico [Sat, 2 Jun 2007 04:45:39 +0000 (04:45 -0000)]
Use the PORTAGE_BINHOST_HEADER_URI environment variable to define the URI header field for the Packages index.  If the URI header field is defined then the client will use it as a base URI for fetching packages.

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

17 years agocopyrights.. id? what?
Alec Warner [Sat, 2 Jun 2007 01:35:45 +0000 (01:35 -0000)]
copyrights.. id? what?

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

17 years agoIf PORTAGE_BINHOST is defined then use it as a URI attribute in the Packages index...
Zac Medico [Fri, 1 Jun 2007 22:08:30 +0000 (22:08 -0000)]
If PORTAGE_BINHOST is defined then use it as a URI attribute in the Packages index header.

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

17 years agoInclude SHA1 digests in the Packages index.
Zac Medico [Fri, 1 Jun 2007 22:00:10 +0000 (22:00 -0000)]
Include SHA1 digests in the Packages index.

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

17 years agoAdd a VERSION attribute to the Packages index header and reject any index with an...
Zac Medico [Fri, 1 Jun 2007 21:41:23 +0000 (21:41 -0000)]
Add a VERSION attribute to the Packages index header and reject any index with an unsupported version (current supported version is 0).

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

17 years agoMake binarytree.prevent_collision() update the Packages index since it changes the...
Zac Medico [Fri, 1 Jun 2007 20:59:56 +0000 (20:59 -0000)]
Make binarytree.prevent_collision() update the Packages index since it changes the PATH attribute.

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

17 years agoAdd an optional PATH attribute to the Packages index in order to indicate the relativ...
Zac Medico [Fri, 1 Jun 2007 20:35:55 +0000 (20:35 -0000)]
Add an optional PATH attribute to the Packages index in order to indicate the relative path of the package within the repository.  In the future this will allow storage of more than one package per cpv but for now it's just use to indicate if a package is stored in the old-style All/ directory (instead of the category directory).

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

17 years agoFix it so repoman still does QA when $FILESDIR doesn't exist.
Zac Medico [Fri, 1 Jun 2007 19:33:37 +0000 (19:33 -0000)]
Fix it so repoman still does QA when $FILESDIR doesn't exist.

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

17 years agoDon't complain when $FILESDIR is missing unless manifest1 compatibility is enabled.
Zac Medico [Fri, 1 Jun 2007 18:30:22 +0000 (18:30 -0000)]
Don't complain when $FILESDIR is missing unless manifest1 compatibility is enabled.

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

17 years agoAdd --getbinpkg digest verification.
Zac Medico [Fri, 1 Jun 2007 17:33:23 +0000 (17:33 -0000)]
Add --getbinpkg digest verification.

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

17 years agoInstead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert...
Zac Medico [Fri, 1 Jun 2007 15:51:36 +0000 (15:51 -0000)]
Instead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert the KeyError to an InvalidDependString exception since callers already handle it.

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

17 years agoDon't repeatedly invoke the depend phase for ebuilds that are already known to be...
Zac Medico [Fri, 1 Jun 2007 15:44:53 +0000 (15:44 -0000)]
Don't repeatedly invoke the depend phase for ebuilds that are already known to be broken.

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

17 years agoFor bug #149397, raise an InvalidDependString exception if a USE has no basename.
Zac Medico [Fri, 1 Jun 2007 15:03:48 +0000 (15:03 -0000)]
For bug #149397, raise an InvalidDependString exception if a USE has no basename.

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

17 years agoAdd some additional variables to the Packages header.
Zac Medico [Fri, 1 Jun 2007 01:50:06 +0000 (01:50 -0000)]
Add some additional variables to the Packages header.

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

17 years agoFix typo.
Zac Medico [Thu, 31 May 2007 21:56:18 +0000 (21:56 -0000)]
Fix typo.

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

17 years agoRaise a KeyError from bindbapi.aux_get() when appropriate.
Zac Medico [Thu, 31 May 2007 21:28:06 +0000 (21:28 -0000)]
Raise a KeyError from bindbapi.aux_get() when appropriate.

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

17 years agoMake dep_zapdeps() pull SLOT from the correct dbapi instance when it falls back to...
Zac Medico [Thu, 31 May 2007 21:26:49 +0000 (21:26 -0000)]
Make dep_zapdeps() pull SLOT from the correct dbapi instance when it falls back to the vdb.

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

17 years agoReplace deprecated binarytree.remotepkgs usage with binarytree._remotepkgs since...
Zac Medico [Thu, 31 May 2007 21:07:11 +0000 (21:07 -0000)]
Replace deprecated binarytree.remotepkgs usage with binarytree._remotepkgs since the former is vulnerable to collisions in the tbz2 filename.

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

17 years agoFix typos.
Zac Medico [Thu, 31 May 2007 13:18:34 +0000 (13:18 -0000)]
Fix typos.

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

17 years agoAdd PORTAGE_BINHOST support for fetching a remote Packages index. If the index is...
Zac Medico [Thu, 31 May 2007 12:47:05 +0000 (12:47 -0000)]
Add PORTAGE_BINHOST support for fetching a remote Packages index.  If the index is not found then it falls back to the old directory listing method.

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

17 years agoImplement bindbapi.cpv_all() since the one from fakedbapi won't populate the tree.
Zac Medico [Thu, 31 May 2007 08:53:56 +0000 (08:53 -0000)]
Implement bindbapi.cpv_all() since the one from fakedbapi won't populate the tree.

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

17 years agoDon't define bindbapi.move_slot_ent() since the inherited one works fine. Override...
Zac Medico [Thu, 31 May 2007 08:46:26 +0000 (08:46 -0000)]
Don't define bindbapi.move_slot_ent() since the inherited one works fine.  Override cp_all() instead of cpv_all() since the latter calls the former.

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

17 years agoDon't try to perform global updates on binary packages unless $PKGDIR is writable.
Zac Medico [Thu, 31 May 2007 08:09:55 +0000 (08:09 -0000)]
Don't try to perform global updates on binary packages unless $PKGDIR is writable.

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

17 years agoTrigger an update of the Packages index when a package is moved or aux_update() is...
Zac Medico [Thu, 31 May 2007 07:41:05 +0000 (07:41 -0000)]
Trigger an update of the Packages index when a package is moved or aux_update() is called.

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

17 years agoAllow dbapi.aux_update() to prune empty metadata values from storage.
Zac Medico [Thu, 31 May 2007 07:15:18 +0000 (07:15 -0000)]
Allow dbapi.aux_update() to prune empty metadata values from storage.

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

17 years agoCreate one unified dbapi.move_slot_ent() method to replace the corresponding binarytr...
Zac Medico [Thu, 31 May 2007 07:00:45 +0000 (07:00 -0000)]
Create one unified dbapi.move_slot_ent() method to replace the corresponding binarytree and vardbapi methods.

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

17 years agoMake automatic "global updates" always use the config instance that's associated...
Zac Medico [Thu, 31 May 2007 05:43:41 +0000 (05:43 -0000)]
Make automatic "global updates" always use the config instance that's associated with /, since the rest of the code is targeted at /.

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

17 years agoCreate one unified dbapi.update_ents() method and use it for both fixpackages and...
Zac Medico [Thu, 31 May 2007 04:49:16 +0000 (04:49 -0000)]
Create one unified dbapi.update_ents() method and use it for both fixpackages and the emaint move{inst,bin} targets.

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

17 years agoOnly check ChangeLog if we're dealing with an ebuild (bug #170604)
Marius Mauch [Thu, 31 May 2007 01:36:22 +0000 (01:36 -0000)]
Only check ChangeLog if we're dealing with an ebuild (bug #170604)

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

17 years agocatch GetoptError
Marius Mauch [Thu, 31 May 2007 01:26:33 +0000 (01:26 -0000)]
catch GetoptError

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

17 years agoremove pointless $PORTDIR lock
Marius Mauch [Thu, 31 May 2007 00:22:06 +0000 (00:22 -0000)]
remove pointless $PORTDIR lock

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

17 years agoFix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty...
Zac Medico [Wed, 30 May 2007 23:31:14 +0000 (23:31 -0000)]
Fix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty string.

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

17 years agoFor bug #180399, raise an appropriate InvalidDependString exception if there is no...
Zac Medico [Wed, 30 May 2007 23:22:29 +0000 (23:22 -0000)]
For bug #180399, raise an appropriate InvalidDependString exception if there is no flag attached directly to a '?' token.

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

17 years agoShow deprecation warnings if the "clone" parameters are used for the binartree, vartr...
Zac Medico [Wed, 30 May 2007 22:33:10 +0000 (22:33 -0000)]
Show deprecation warnings if the "clone" parameters are used for the binartree, vartree, or portagetree constructors.

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

17 years agoReturn a copy of the cached result from match_from_list().
Zac Medico [Wed, 30 May 2007 05:45:06 +0000 (05:45 -0000)]
Return a copy of the cached result from match_from_list().

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

17 years agoFor bug #61732, support -flag in USE (instead of just +flag). Given the current...
Zac Medico [Wed, 30 May 2007 02:42:05 +0000 (02:42 -0000)]
For bug #61732, support -flag in USE (instead of just +flag).  Given the current default USE_ORDER, -flag in IUSE has no effect.

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

17 years agoFix slot handling at the beginning of match_from_list().
Zac Medico [Wed, 30 May 2007 02:23:36 +0000 (02:23 -0000)]
Fix slot handling at the beginning of match_from_list().

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

17 years agoFor bug #180222, make ecompressdir use -f for the automatic decompression phase.
Zac Medico [Wed, 30 May 2007 02:05:13 +0000 (02:05 -0000)]
For bug #180222, make ecompressdir use -f for the automatic decompression phase.

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

17 years agoFor bug #179870, correctly handle slot deps in the profile's package.* files.
Zac Medico [Tue, 29 May 2007 21:57:34 +0000 (21:57 -0000)]
For bug #179870, correctly handle slot deps in the profile's package.* files.

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

17 years agoFix get_operator() and best_match_to_list() so that slot deps mesh properly with...
Zac Medico [Tue, 29 May 2007 20:36:40 +0000 (20:36 -0000)]
Fix get_operator() and best_match_to_list() so that slot deps mesh properly with operators.

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

17 years agoFix dep_getcpv() so that it always properly removes the slot regardless of which...
Zac Medico [Tue, 29 May 2007 12:41:08 +0000 (12:41 -0000)]
Fix dep_getcpv() so that it always properly removes the slot regardless of which operator is present.

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

17 years agoDon't pass slotted packages into pkgsplit since it doesn't handle them.
Zac Medico [Tue, 29 May 2007 12:10:09 +0000 (12:10 -0000)]
Don't pass slotted packages into pkgsplit since it doesn't handle them.

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

17 years agoFor bug #179870, add support for cpv:slot in match_from_list() and use it to make...
Zac Medico [Tue, 29 May 2007 11:26:33 +0000 (11:26 -0000)]
For bug #179870, add support for cpv:slot in match_from_list() and use it to make config.setcpv() distinguish slot atoms in package.use.

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

17 years agoFix binarytree.gettbz2() so that it works without $PKGDIR/All/ and inserts the downlo...
Zac Medico [Mon, 28 May 2007 23:41:13 +0000 (23:41 -0000)]
Fix binarytree.gettbz2() so that it works without $PKGDIR/All/ and inserts the downloaded package into the local index.

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

17 years agoInclude IUSE in the Package index so that it can be used for --newuse calculations.
Zac Medico [Mon, 28 May 2007 22:16:36 +0000 (22:16 -0000)]
Include IUSE in the Package index so that it can be used for --newuse calculations.

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

17 years agoCap the progress bar columns at 80 since it looks ridiculous when it gets too wide.
Zac Medico [Mon, 28 May 2007 21:31:45 +0000 (21:31 -0000)]
Cap the progress bar columns at 80 since it looks ridiculous when it gets too wide.

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

17 years agoFix emaint world $ROOT handling.
Zac Medico [Mon, 28 May 2007 09:34:52 +0000 (09:34 -0000)]
Fix emaint world $ROOT handling.

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

17 years agoAdd new emaint targets called "moveinst" and "movebin" for applying package moves...
Zac Medico [Mon, 28 May 2007 09:31:26 +0000 (09:31 -0000)]
Add new emaint targets called "moveinst" and "movebin" for applying package moves from $PORTDIR/profiles/updates/ on installed packages and binary packages.

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

17 years agoFor bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable. The default...
Zac Medico [Mon, 28 May 2007 07:28:48 +0000 (07:28 -0000)]
For bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable.  The default is 15 seconds and it can be disabled by setting it to 0.

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

17 years agoFor bug #180079, fix a KeyError so that a search for the empty string will go ahead...
Zac Medico [Mon, 28 May 2007 07:11:01 +0000 (07:11 -0000)]
For bug #180079, fix a KeyError so that a search for the empty string will go ahead and match all packages.

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

17 years agoFix typo.
Zac Medico [Sun, 27 May 2007 22:00:56 +0000 (22:00 -0000)]
Fix typo.

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

17 years agoMake emaint prune stale entires from $PKGDIR/Packages.
Zac Medico [Sun, 27 May 2007 14:48:39 +0000 (14:48 -0000)]
Make emaint prune stale entires from $PKGDIR/Packages.

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

17 years agoAdd an emaint "binhost" target which does the time consuming population of $PKGDIR...
Zac Medico [Sun, 27 May 2007 13:59:47 +0000 (13:59 -0000)]
Add an emaint "binhost" target which does the time consuming population of $PKGDIR/Packages that is necessary for a binhost (MD5 makes it relatively slow).  It reuses metadata from the existing Packages file whenever possible.

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

17 years agoFix a typo.
Zac Medico [Sun, 27 May 2007 13:06:29 +0000 (13:06 -0000)]
Fix a typo.

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

17 years agoFix an UnboundLocalError when there's no tty.
Zac Medico [Sun, 27 May 2007 12:48:22 +0000 (12:48 -0000)]
Fix an UnboundLocalError when there's no tty.

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

17 years agoAdd SIGWINCH support so that the progress bar is resized if the xterm is resized.
Zac Medico [Sun, 27 May 2007 12:39:35 +0000 (12:39 -0000)]
Add SIGWINCH support so that the progress bar is resized if the xterm is resized.

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

17 years agoAdd progress support to emaint (similar to wget's progress bar).
Zac Medico [Sun, 27 May 2007 12:12:51 +0000 (12:12 -0000)]
Add progress support to emaint (similar to wget's progress bar).

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

17 years agoAdd a get_term_size() function that uses the curses module if available and otherwise...
Zac Medico [Sun, 27 May 2007 06:17:58 +0000 (06:17 -0000)]
Add a get_term_size() function that uses the curses module if available and otherwise falls back to parsing the output of `stty size`.

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

17 years agoIn the WorldHandler class, add support for an onProgress callback that can be used...
Zac Medico [Sun, 27 May 2007 02:10:23 +0000 (02:10 -0000)]
In the WorldHandler class, add support for an onProgress callback that can be used notify the user of job progress.  This isn't really useful for WorldHandler since it completes quickly, but it will be useful for longer running tasks.

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

17 years agoFix logic for USE_EXPAND variables that are incremental (there are none currently).
Zac Medico [Sat, 26 May 2007 21:17:19 +0000 (21:17 -0000)]
Fix logic for USE_EXPAND variables that are incremental (there are none currently).

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

17 years agoFix broken dict.get logic.
Zac Medico [Sat, 26 May 2007 02:41:39 +0000 (02:41 -0000)]
Fix broken dict.get logic.

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

17 years agoCreate the Packages index whether or not $PKGDIR/All/ exists so that improved binaryt...
Zac Medico [Sat, 26 May 2007 02:13:51 +0000 (02:13 -0000)]
Create the Packages index whether or not $PKGDIR/All/ exists so that improved binarytree.populate() performance will be available in either case.  When dealing with packages in $PKGDIR/All/, it's assumed that the file name, size, and timestamp are enough information to avoid reading the xpak data.

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

17 years agoxmlint can produce garbage output even on success, so only dump the ouput when it...
Zac Medico [Sat, 26 May 2007 01:26:20 +0000 (01:26 -0000)]
xmlint can produce garbage output even on success, so only dump the ouput when it fails.  See bug #179008.

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

17 years agoIn the econf die message, don't mention bugs.gentoo.org specifically.
Zac Medico [Sat, 26 May 2007 00:41:06 +0000 (00:41 -0000)]
In the econf die message, don't mention bugs.gentoo.org specifically.

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

17 years agos/filing a report to/seeking support at/ Thanks to marienz.
Zac Medico [Sat, 26 May 2007 00:36:27 +0000 (00:36 -0000)]
s/filing a report to/seeking support at/ Thanks to marienz.

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

17 years agoStore flags as a set inside the USE incremental loop.
Zac Medico [Fri, 25 May 2007 22:13:15 +0000 (22:13 -0000)]
Store flags as a set inside the USE incremental loop.

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

17 years agoCall tcgetattr and tcsetattr on the slave end of the pty in order to avoid an "invali...
Zac Medico [Fri, 25 May 2007 20:22:53 +0000 (20:22 -0000)]
Call tcgetattr and tcsetattr on the slave end of the pty in order to avoid an "invalid argument" error on Solaris.  Thanks to grobian.

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

17 years agoFor bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that...
Zac Medico [Fri, 25 May 2007 19:14:11 +0000 (19:14 -0000)]
For bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that USE"-*" will not always destroy them.

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

17 years agoTo ease the namespace transition, automatically translate cache.* to portage.cache...
Zac Medico [Fri, 25 May 2007 07:06:41 +0000 (07:06 -0000)]
To ease the namespace transition, automatically translate cache.* to portage.cache.* if an ImportError occurs.

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

17 years agoSkip fetching of metadata.dtd when mymode == "manifest".
Zac Medico [Fri, 25 May 2007 00:22:15 +0000 (00:22 -0000)]
Skip fetching of metadata.dtd when mymode == "manifest".

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

17 years agoDon't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that way and...
Zac Medico [Thu, 24 May 2007 22:11:41 +0000 (22:11 -0000)]
Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that way and the * behavior was already annoying enough.

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

17 years agoFix the ignore-previously-merged option so that it compares the original files, since...
Zac Medico [Thu, 24 May 2007 20:55:37 +0000 (20:55 -0000)]
Fix the ignore-previously-merged option so that it compares the original files, since mrgconf can be identical to conf['current'] even when conf['new'] is different from the archived .dist version (due to diff3 merging).

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

17 years agoMake PackageIndex.write() omit USE when appropriate.
Zac Medico [Thu, 24 May 2007 05:49:44 +0000 (05:49 -0000)]
Make PackageIndex.write() omit USE when appropriate.

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

17 years agoRemember to call the superclass constructor.
Zac Medico [Thu, 24 May 2007 05:17:31 +0000 (05:17 -0000)]
Remember to call the superclass constructor.

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

17 years agoMake PackageIndex.write() alphabetize the metadata keys.
Zac Medico [Thu, 24 May 2007 03:54:56 +0000 (03:54 -0000)]
Make PackageIndex.write() alphabetize the metadata keys.

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

17 years agoFix paren_normalize logic.
Zac Medico [Thu, 24 May 2007 03:36:01 +0000 (03:36 -0000)]
Fix paren_normalize logic.

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