portage.git
17 years agoFor bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge... v2.1.2.12
Zac Medico [Fri, 17 Aug 2007 18:19:02 +0000 (18:19 -0000)]
For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge display. (branches/2.1.2 r7640)

svn path=/main/branches/2.1.2.9/; revision=7641

17 years agoMake etc-update copy owner and group bits when it merges config files. (branches...
Zac Medico [Thu, 16 Aug 2007 21:58:52 +0000 (21:58 -0000)]
Make etc-update copy owner and group bits when it merges config files. (branches/2.1.2 r7637)

svn path=/main/branches/2.1.2.9/; revision=7638

17 years agomake -f/-F distinction clearer (branches/2.1.2 r7634)
Zac Medico [Thu, 16 Aug 2007 20:05:41 +0000 (20:05 -0000)]
make -f/-F distinction clearer (branches/2.1.2 r7634)

svn path=/main/branches/2.1.2.9/; revision=7635

17 years agoFor bug #187016, add env.d to the default USE_ORDER. (branches/2.1.2 r7429)
Zac Medico [Thu, 16 Aug 2007 20:01:33 +0000 (20:01 -0000)]
For bug #187016, add env.d to the default USE_ORDER. (branches/2.1.2 r7429)

svn path=/main/branches/2.1.2.9/; revision=7633

17 years agoThe "myuse" parameter to depgraph.create() is still needed in this branch.
Zac Medico [Thu, 16 Aug 2007 09:46:22 +0000 (09:46 -0000)]
The "myuse" parameter to depgraph.create() is still needed in this branch.

svn path=/main/branches/2.1.2.9/; revision=7631

17 years agoAlways assign higher priority to dependencies on packages that are being rebuilt...
Zac Medico [Thu, 16 Aug 2007 07:27:51 +0000 (07:27 -0000)]
Always assign higher priority to dependencies on packages that are being rebuilt (except when --emptytree is enabled since all packages are merged in that case). This optimizes merge order so that dependencies are rebuilt/updated as soon as possible. (branches/2.1.2 r7625:7629)

svn path=/main/branches/2.1.2.9/; revision=7630

17 years agoAdd some floating point vercmp cases. (branches/2.1.2 r7623)
Zac Medico [Wed, 15 Aug 2007 22:21:28 +0000 (22:21 -0000)]
Add some floating point vercmp cases. (branches/2.1.2 r7623)

svn path=/main/branches/2.1.2.9/; revision=7624

17 years ago'decent' CFLAGS should not feature -O3. Bug 188619 (branches/2.1.2 r7608)
Zac Medico [Wed, 15 Aug 2007 21:25:06 +0000 (21:25 -0000)]
'decent' CFLAGS should not feature -O3. Bug 188619 (branches/2.1.2 r7608)

svn path=/main/branches/2.1.2.9/; revision=7621

17 years agoFor bug #188449, since python floats have limited range, we multiply both floating...
Zac Medico [Wed, 15 Aug 2007 21:10:47 +0000 (21:10 -0000)]
For bug #188449, since python floats have limited range, we multiply both floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length. (branches/2.1.2 r7607)

svn path=/main/branches/2.1.2.9/; revision=7620

17 years agoFor bug #188782, dependencies on packages specified as arguments are given higher...
Zac Medico [Wed, 15 Aug 2007 20:53:52 +0000 (20:53 -0000)]
For bug #188782, dependencies on packages specified as arguments are given higher priority since the currently installed version has been rendered useless by ABI breakage. It's okay to increase the priority here even if the caller is not revdep-rebuild. (branches/2.1.2 r7605)

svn path=/main/branches/2.1.2.9/; revision=7619

17 years agoFor bug #188782, keep "nomerge" nodes in the graph during the merge order calculation...
Zac Medico [Wed, 15 Aug 2007 20:37:47 +0000 (20:37 -0000)]
For bug #188782, keep "nomerge" nodes in the graph during the merge order calculation so that merge order is better in cases where installed packages have unsatisfied dependencies. (branches/2.1.2 r7600)

svn path=/main/branches/2.1.2.9/; revision=7618

17 years agoUpdate emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis...
Zac Medico [Wed, 15 Aug 2007 20:36:23 +0000 (20:36 -0000)]
Update emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis in bug #137483. (branches/2.1.2 r7584)

svn path=/main/branches/2.1.2.9/; revision=7617

17 years agoFor bug #187795, remove pointless digest.disjointed and digest.notadded warnings...
Zac Medico [Wed, 15 Aug 2007 20:35:21 +0000 (20:35 -0000)]
For bug #187795, remove pointless digest.disjointed and digest.notadded warnings since they are always added to cvs automatically anyway. (branches/2.1.2 r7581)

svn path=/main/branches/2.1.2.9/; revision=7616

17 years agoFor bug #187806, use mkstemp to create tmpservertimestampfile (instead of using PORTA...
Zac Medico [Wed, 15 Aug 2007 20:34:01 +0000 (20:34 -0000)]
For bug #187806, use mkstemp to create tmpservertimestampfile (instead of using PORTAGE_TMPDIR). (branches/2.1.2 r7577)

svn path=/main/branches/2.1.2.9/; revision=7615

17 years agoMake sure that portage always has all of it's RDEPENDs installed first. (branches...
Zac Medico [Wed, 15 Aug 2007 20:32:10 +0000 (20:32 -0000)]
Make sure that portage always has all of it's RDEPENDs installed first. (branches/2.1.2 r7572:7575)

svn path=/main/branches/2.1.2.9/; revision=7614

17 years agoMake config updates get counted correctly for bug #187741. (branches/2.1.2 r7564)
Zac Medico [Wed, 15 Aug 2007 20:29:44 +0000 (20:29 -0000)]
Make config updates get counted correctly for bug #187741. (branches/2.1.2 r7564)

svn path=/main/branches/2.1.2.9/; revision=7613

17 years agocd to ${WORKDIR} if the ${S} directory does not exist. (branches/2.1.2 r7557 and...
Zac Medico [Wed, 15 Aug 2007 20:25:11 +0000 (20:25 -0000)]
cd to ${WORKDIR} if the ${S} directory does not exist. (branches/2.1.2 r7557 and r7588)

svn path=/main/branches/2.1.2.9/; revision=7612

17 years agoFor bug #187518, handle EISDIR thrown from mkdir when the directory already exists...
Zac Medico [Thu, 2 Aug 2007 17:20:01 +0000 (17:20 -0000)]
For bug #187518, handle EISDIR thrown from mkdir when the directory already exists on FreeBSD. (branches/2.1.2 r7545)

svn path=/main/branches/2.1.2.9/; revision=7546

17 years agoFor bug #187480, fix writemsg args in portdbapi.gvisible(). (branches/2.1.2 r7542)
Zac Medico [Thu, 2 Aug 2007 16:46:16 +0000 (16:46 -0000)]
For bug #187480, fix writemsg args in portdbapi.gvisible(). (branches/2.1.2 r7542)

svn path=/main/branches/2.1.2.9/; revision=7543

17 years agoIn dblink.treewalk(), handle the case where the current cpv is already installed... v2.1.2.11
Zac Medico [Tue, 31 Jul 2007 04:47:37 +0000 (04:47 -0000)]
In dblink.treewalk(), handle the case where the current cpv is already installed but it has a different slot (multislot or unapplied slotmove). (branches/2.1.2 r6834)

svn path=/main/branches/2.1.2.9/; revision=7532

17 years agoChange the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEN...
Zac Medico [Tue, 31 Jul 2007 01:22:11 +0000 (01:22 -0000)]
Change the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEND since there is currently nothing with lower priority. (branches/2.1.2 r7529)

svn path=/main/branches/2.1.2.9/; revision=7530

17 years agoInitialize dblink.contentscache to None since getcontents() expects that now.
Zac Medico [Mon, 30 Jul 2007 08:12:00 +0000 (08:12 -0000)]
Initialize dblink.contentscache to None since getcontents() expects that now.

svn path=/main/branches/2.1.2.9/; revision=7519

17 years agoFor bug #186960, try to create a directory for $ROOT if it doesn't exist. (branches...
Zac Medico [Mon, 30 Jul 2007 07:53:56 +0000 (07:53 -0000)]
For bug #186960, try to create a directory for $ROOT if it doesn't exist. (branches/2.1.2 r7517)

svn path=/main/branches/2.1.2.9/; revision=7518

17 years agoRemove some useless dircache code. (branches/2.1.2 r6819)
Zac Medico [Mon, 30 Jul 2007 07:33:48 +0000 (07:33 -0000)]
Remove some useless dircache code. (branches/2.1.2 r6819)

svn path=/main/branches/2.1.2.9/; revision=7515

17 years agoMake dblink invalidate the vardbapi caches for each merge and unmerge. Don't use...
Zac Medico [Mon, 30 Jul 2007 07:26:07 +0000 (07:26 -0000)]
Make dblink invalidate the vardbapi caches for each merge and unmerge.  Don't use portage.listdir() since mtime granularity can prevent cachedir from invalidating it's cache properly and
 this redundant cache layer isn't needed anyway.  This should solve the intermittent failure of AUTOCLEAN to properly clean packages. (branches/2.1.2 r7205)

svn path=/main/branches/2.1.2.9/; revision=7514

17 years agoFor bug #182964, replace os.rename() with portage.movefile() in cases where the paren...
Zac Medico [Mon, 30 Jul 2007 07:13:09 +0000 (07:13 -0000)]
For bug #182964, replace os.rename() with portage.movefile() in cases where the parent directory might change. (branches/2.1.2 r6984)

svn path=/main/branches/2.1.2.9/; revision=7513

17 years agoFor bug #139670, update the dohtml docs to show all supported file extensions. Thank...
Zac Medico [Mon, 30 Jul 2007 07:09:42 +0000 (07:09 -0000)]
For bug #139670, update the dohtml docs to show all supported file extensions.  Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (branches/2.1.2 r7433)

svn path=/main/branches/2.1.2.9/; revision=7512

17 years agoFor bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks...
Zac Medico [Mon, 30 Jul 2007 07:07:52 +0000 (07:07 -0000)]
For bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (branches/2.1.2 r7431)

svn path=/main/branches/2.1.2.9/; revision=7511

17 years agoFor bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf...
Zac Medico [Mon, 30 Jul 2007 07:05:34 +0000 (07:05 -0000)]
For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf. (branches/2.1.2 r7416)

svn path=/main/branches/2.1.2.9/; revision=7510

17 years agoFor bug #186639, note that /etc/portage/profile/ supports all of the same file types...
Zac Medico [Mon, 30 Jul 2007 07:04:47 +0000 (07:04 -0000)]
For bug #186639, note that /etc/portage/profile/ supports all of the same file types that /etc/make.profile/ does, except parent. (branches/2.1.2 r7411:7414)

svn path=/main/branches/2.1.2.9/; revision=7509

17 years agoFor --buildpkgonly, say "built" instead of "merged" in the "These are the packages...
Zac Medico [Mon, 30 Jul 2007 07:02:17 +0000 (07:02 -0000)]
For --buildpkgonly, say "built" instead of "merged" in the "These are the packages that would be <action>" message. (branches/2.1.2 r7406)

svn path=/main/branches/2.1.2.9/; revision=7508

17 years agouse ${MAKE:-make} rather than make in einstall() (branches/2.1.2 r7404)
Zac Medico [Mon, 30 Jul 2007 07:01:10 +0000 (07:01 -0000)]
use ${MAKE:-make} rather than make in einstall() (branches/2.1.2 r7404)

svn path=/main/branches/2.1.2.9/; revision=7507

17 years agoFor bug #186610, use `find <path>` to scan for config updates since `cd <path>` could...
Zac Medico [Mon, 30 Jul 2007 07:00:22 +0000 (07:00 -0000)]
For bug #186610, use `find <path>` to scan for config updates since `cd <path>` could fail and cause the cwd to be scanned. (branches/2.1.2 r7403)

svn path=/main/branches/2.1.2.9/; revision=7506

17 years agoFor bug #184774, put lha's -q option last since otherwise the option parser now requi...
Zac Medico [Mon, 30 Jul 2007 06:57:42 +0000 (06:57 -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. (branches/2.1.2 r7359)

svn path=/main/branches/2.1.2.9/; revision=7505

17 years agoFor bug #169500, detect when the cvs server puts /Attic/ inside the path and automat...
Zac Medico [Mon, 30 Jul 2007 06:56:23 +0000 (06:56 -0000)]
For bug #169500, detect when the cvs server puts /Attic/ inside the  path and automatically correct it. (branches/2.1.2 r7341)

svn path=/main/branches/2.1.2.9/; revision=7504

17 years agoFor bug #185930, direct all FETCHCOMMAND output to stdout. (branches/2.1.2 r7331)
Zac Medico [Mon, 30 Jul 2007 06:55:10 +0000 (06:55 -0000)]
For bug #185930, direct all FETCHCOMMAND output to stdout. (branches/2.1.2 r7331)

svn path=/main/branches/2.1.2.9/; revision=7503

17 years agoFor bug #162923, when digest verification of a distfile fails, rename instead of...
Zac Medico [Mon, 30 Jul 2007 06:54:20 +0000 (06:54 -0000)]
For bug #162923, 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. (branches/2.1.2 r7326)

svn path=/main/branches/2.1.2.9/; revision=7502

17 years agoIf the fetcher reported success and the file is too small, don't attempt to resume...
Zac Medico [Mon, 30 Jul 2007 06:50:13 +0000 (06:50 -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. (branches/2.1.2 r7322)

svn path=/main/branches/2.1.2.9/; revision=7501

17 years agoFor bug #185670, make sure package.use.{mask,force} are properly displayed. (branches...
Zac Medico [Mon, 30 Jul 2007 06:48:46 +0000 (06:48 -0000)]
For bug #185670, make sure package.use.{mask,force} are properly displayed. (branches/2.1.2 r7254, r7296, and r7499)

svn path=/main/branches/2.1.2.9/; revision=7500

17 years agoFor bug #185504, document profiles/repo_name. (branches/2.1.2 r7320)
Zac Medico [Mon, 30 Jul 2007 06:35:54 +0000 (06:35 -0000)]
For bug #185504, document profiles/repo_name. (branches/2.1.2 r7320)

svn path=/main/branches/2.1.2.9/; revision=7498

17 years agoDiscard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used...
Zac Medico [Mon, 30 Jul 2007 06:31:54 +0000 (06:31 -0000)]
Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used and the --tree algorithm does a good job of regenerating them when appropriate. This also fixes the display algorithm so it doesn't falsely detect duplicate edges as much. (branches/2.1.2 r7068)

svn path=/main/branches/2.1.2.9/; revision=7497

17 years agoDocument PORTAGE_WORKDIR_MODE for bug #8688. (branches/2.1.2 r7236)
Zac Medico [Mon, 30 Jul 2007 06:12:38 +0000 (06:12 -0000)]
Document PORTAGE_WORKDIR_MODE for bug #8688. (branches/2.1.2 r7236)

svn path=/main/branches/2.1.2.9/; revision=7495

17 years agoUpdate the FEATURES=strict docs for better clarity. (branches/2.1.2 r7235)
Zac Medico [Mon, 30 Jul 2007 06:10:26 +0000 (06:10 -0000)]
Update the FEATURES=strict docs for better clarity. (branches/2.1.2 r7235)

svn path=/main/branches/2.1.2.9/; revision=7494

17 years agodocument FEATURES=sesandbox #161985 (branches/2.1.2 r7234)
Zac Medico [Mon, 30 Jul 2007 06:09:15 +0000 (06:09 -0000)]
document FEATURES=sesandbox #161985 (branches/2.1.2 r7234)

svn path=/main/branches/2.1.2.9/; revision=7493

17 years agoremove readable bits for debug files if the souce ELF is setXid (branches/2.1.2 r7232)
Zac Medico [Mon, 30 Jul 2007 06:05:58 +0000 (06:05 -0000)]
remove readable bits for debug files if the souce ELF is setXid (branches/2.1.2 r7232)

svn path=/main/branches/2.1.2.9/; revision=7492

17 years agoFor bug #184412, make depclean more consistent with the update algorithm by keeping...
Zac Medico [Mon, 30 Jul 2007 05:48:28 +0000 (05:48 -0000)]
For bug #184412, make depclean more consistent with the update algorithm by keeping the highest version that as visible in the portage tree and pruning any versions that are either masked or no longer exist in the portage tree. (branches/2.1.2 r7196)

svn path=/main/branches/2.1.2.9/; revision=7491

17 years agoRemove redundant config update notification (bug #184116, branches/2.1.2 r7160)
Zac Medico [Mon, 30 Jul 2007 05:39:29 +0000 (05:39 -0000)]
Remove redundant config update notification (bug #184116, branches/2.1.2 r7160)

svn path=/main/branches/2.1.2.9/; revision=7490

17 years agoImplement BlockerCache.keys() so that DictMixin.__repr__() works. (branches/2.1.2...
Zac Medico [Mon, 30 Jul 2007 05:36:55 +0000 (05:36 -0000)]
Implement BlockerCache.keys() so that DictMixin.__repr__() works. (branches/2.1.2 r7136)

svn path=/main/branches/2.1.2.9/; revision=7489

17 years agoFor bug #131030, update the warning about potential for emerge --sync overwrite or...
Zac Medico [Mon, 30 Jul 2007 05:35:44 +0000 (05:35 -0000)]
For bug #131030, update the warning about potential for emerge --sync overwrite or delete files in ${PORTDIR}.  Add references to the PKGDIR and DISTDIR docs. (branches/2.1.2 r7112:7115)

svn path=/main/branches/2.1.2.9/; revision=7488

17 years agoFor bug #180045, try to merge PDEPEND as soon as possible so that it behaves more...
Zac Medico [Mon, 30 Jul 2007 05:33:16 +0000 (05:33 -0000)]
For bug #180045, try to merge PDEPEND as soon as possible so that it behaves more like RDEPEND. (branches/2.1.2 r7104:7107, r7116:7119, and r7122:7127)

svn path=/main/branches/2.1.2.9/; revision=7487

17 years agoFor bug #183431, catch a ParseError caused by a corrupt profile and dump an error...
Zac Medico [Mon, 30 Jul 2007 05:17:28 +0000 (05:17 -0000)]
For bug #183431, catch a ParseError caused by a corrupt profile and dump an error message.  This allows emerge to continue with actions that don't require a valid profile, such as --sync. (branches/2.1.2 r7074)

svn path=/main/branches/2.1.2.9/; revision=7486

17 years agoAdd sanity checks in fetch() and digestgen() to automatically detect and handle inval...
Zac Medico [Mon, 30 Jul 2007 05:13:31 +0000 (05:13 -0000)]
Add sanity checks in fetch() and digestgen() to automatically detect and handle invalid empty distfiles since some users have reported difficulty when trying to create digests. (branches/2.1.2 r7039:7045)

svn path=/main/branches/2.1.2.9/; revision=7485

17 years agoUpdate FETCHCOMMAND and RESUMECOMMAND docs (bug #141550, branches/2.1.2 r7005:7007)
Zac Medico [Mon, 30 Jul 2007 05:04:52 +0000 (05:04 -0000)]
Update FETCHCOMMAND and RESUMECOMMAND docs (bug #141550, branches/2.1.2 r7005:7007)

svn path=/main/branches/2.1.2.9/; revision=7484

17 years agodont break when the binhost url doesn't end with a slash (bug #144440, branches/2...
Zac Medico [Mon, 30 Jul 2007 05:03:03 +0000 (05:03 -0000)]
dont break when the binhost url doesn't end with a slash (bug #144440, branches/2.1.2 r7003)

svn path=/main/branches/2.1.2.9/; revision=7483

17 years agochange default diff_command for emacs (bug #147558, branches/2.1.2 r7001)
Zac Medico [Mon, 30 Jul 2007 05:01:10 +0000 (05:01 -0000)]
change default diff_command for emacs (bug #147558, branches/2.1.2 r7001)

svn path=/main/branches/2.1.2.9/; revision=7482

17 years agoget ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values...
Zac Medico [Mon, 30 Jul 2007 04:58:06 +0000 (04:58 -0000)]
get ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values (bug #139600) (branches/2.1.2 r6998)

svn path=/main/branches/2.1.2.9/; revision=7481

17 years agoDocument RESTRICT=bindist and add a note about allowance for conditional syntax....
Zac Medico [Mon, 30 Jul 2007 04:52:55 +0000 (04:52 -0000)]
Document RESTRICT=bindist and add a note about allowance for conditional syntax. (branches/2.1.2 r6957)

svn path=/main/branches/2.1.2.9/; revision=7480

17 years agoClean up the profile masking code. (branches/2.1.2 r6936)
Zac Medico [Mon, 30 Jul 2007 04:51:11 +0000 (04:51 -0000)]
Clean up the profile masking code. (branches/2.1.2 r6936)

svn path=/main/branches/2.1.2.9/; revision=7479

17 years agocache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_...
Zac Medico [Mon, 30 Jul 2007 04:49:45 +0000 (04:49 -0000)]
cache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_ (branches/2.1.2 r6935)

svn path=/main/branches/2.1.2.9/; revision=7478

17 years agoAdd support for RSYNC_EXTRA_OPTS to webrsync (branches/2.1.2 r6927)
Zac Medico [Mon, 30 Jul 2007 04:45:05 +0000 (04:45 -0000)]
Add support for RSYNC_EXTRA_OPTS to webrsync (branches/2.1.2 r6927)

svn path=/main/branches/2.1.2.9/; revision=7477

17 years agoSome minor fixes for manifest code (branches/2.1.2 r6923)
Zac Medico [Mon, 30 Jul 2007 04:42:00 +0000 (04:42 -0000)]
Some minor fixes for manifest code (branches/2.1.2 r6923)

svn path=/main/branches/2.1.2.9/; revision=7476

17 years agoDisplay message about --buildpkgonly restriction in pretend mode as well (branches...
Zac Medico [Mon, 30 Jul 2007 04:40:35 +0000 (04:40 -0000)]
Display message about --buildpkgonly restriction in pretend mode as well (branches/2.1.2 r6908)

svn path=/main/branches/2.1.2.9/; revision=7475

17 years agodefault --help should be usable, so make the extended output require --verbose (branc...
Zac Medico [Mon, 30 Jul 2007 04:38:58 +0000 (04:38 -0000)]
default --help should be usable, so make the extended output require --verbose (branches/2.1.2 r6906)

svn path=/main/branches/2.1.2.9/; revision=7474

17 years agofix grammar in error output (branches/2.1.2 r6905)
Zac Medico [Mon, 30 Jul 2007 04:37:49 +0000 (04:37 -0000)]
fix grammar in error output (branches/2.1.2 r6905)

svn path=/main/branches/2.1.2.9/; revision=7473

17 years agomake PDEPEND wording less restrictive #172511 and clarify install status wrt ||(...
Zac Medico [Mon, 30 Jul 2007 04:37:04 +0000 (04:37 -0000)]
make PDEPEND wording less restrictive #172511 and clarify install status wrt ||() as noted by ferringb (branches/2.1.2 r6904)

svn path=/main/branches/2.1.2.9/; revision=7472

17 years agoUse the the optparse options for --ignore-default-opts since that allows option abrev...
Zac Medico [Mon, 30 Jul 2007 04:33:54 +0000 (04:33 -0000)]
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. (branches/2.1.2 r6891)

svn path=/main/branches/2.1.2.9/; revision=7471

17 years agoFor bug #180165, make portageq print a "Permission denied" error when appropriate...
Zac Medico [Mon, 30 Jul 2007 04:31:03 +0000 (04:31 -0000)]
For bug #180165, make portageq print a "Permission denied" error when appropriate and make has_version die if portageq has an unexpected exit code. (branches/2.1.2 r6885)

svn path=/main/branches/2.1.2.9/; revision=7470

17 years agoIf a package is in the world set but it's not installed, go ahead and install it...
Zac Medico [Mon, 30 Jul 2007 04:29:11 +0000 (04:29 -0000)]
If a package is in the world set but it's not installed, go ahead and install it if it's available (instead of telling the user to run emaint). (branches/2.1.2 r6884 and r6888)

svn path=/main/branches/2.1.2.9/; revision=7469

17 years agoFix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission...
Zac Medico [Mon, 30 Jul 2007 04:26:52 +0000 (04:26 -0000)]
Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission denied). (branches/2.1.2 r6880)

svn path=/main/branches/2.1.2.9/; revision=7468

17 years agoFor bug #143340, give an appropriate message when there is no read access to a binary...
Zac Medico [Mon, 30 Jul 2007 04:23:08 +0000 (04:23 -0000)]
For bug #143340, give an appropriate message when there is no read access to a binary package. (branches/2.1.2 r6878)

svn path=/main/branches/2.1.2.9/; revision=7467

17 years agoMake repoman exit with nonzero status whenever there are qa issues (already does...
Zac Medico [Mon, 30 Jul 2007 04:17:23 +0000 (04:17 -0000)]
Make repoman exit with nonzero status whenever there are qa issues (already does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. (branches/2.1.2 r6857)

svn path=/main/branches/2.1.2.9/; revision=7466

17 years agoFor bug #182021, use active voice when notifying the user that superuser access is...
Zac Medico [Mon, 30 Jul 2007 04:16:05 +0000 (04:16 -0000)]
For bug #182021, use active voice when notifying the user that superuser access is required. (branches/2.1.2 r6855)

svn path=/main/branches/2.1.2.9/; revision=7465

17 years agoFor bug #182157, never chmod 0 symlinks before unlinking them. (branches/2.1.2 r6849)
Zac Medico [Mon, 30 Jul 2007 04:14:21 +0000 (04:14 -0000)]
For bug #182157, never chmod 0 symlinks before unlinking them. (branches/2.1.2 r6849)

svn path=/main/branches/2.1.2.9/; revision=7464

17 years agoFor bug #181953, prevent the circular_blocks code from selecting a node that's alread...
Zac Medico [Mon, 30 Jul 2007 04:06:52 +0000 (04:06 -0000)]
For bug #181953, prevent the circular_blocks code from selecting a node that's already been selected by the normal node selection process. (branches/2.1.2 r6838)

svn path=/main/branches/2.1.2.9/; revision=7463

17 years agoFix dblink.isowner() so it works properly when ROOT!=/. (branches/2.1.2 r6828)
Zac Medico [Mon, 30 Jul 2007 04:03:08 +0000 (04:03 -0000)]
Fix dblink.isowner() so it works properly when ROOT!=/. (branches/2.1.2 r6828)

svn path=/main/branches/2.1.2.9/; revision=7462

17 years agoAlways return a dict from dblink.getcontents() since callers never expect to get...
Zac Medico [Mon, 30 Jul 2007 03:50:38 +0000 (03:50 -0000)]
Always return a dict from dblink.getcontents() since callers never expect to get None. (branches/2.1.2 r6817)

svn path=/main/branches/2.1.2.9/; revision=7461

17 years agoUpdate the PORT_LOGDIR docs for bug #82378. Thanks to Arfrever FTA for reporting...
Zac Medico [Mon, 30 Jul 2007 03:46:30 +0000 (03:46 -0000)]
Update the PORT_LOGDIR docs for bug #82378.  Thanks to Arfrever FTA for reporting. (branches/2.1.2 r6811)

svn path=/main/branches/2.1.2.9/; revision=7460

17 years agoFor bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDepen...
Zac Medico [Mon, 30 Jul 2007 03:45:08 +0000 (03:45 -0000)]
For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDependString exception, and make sure that all callers handle the exception properly. (branches/2.1.2 r6798)

svn path=/main/branches/2.1.2.9/; revision=7459

17 years agoFor bug #181551, support slot deps in package.keywords. (branches/2.1.2 r6791)
Zac Medico [Mon, 30 Jul 2007 03:43:18 +0000 (03:43 -0000)]
For bug #181551, support slot deps in package.keywords. (branches/2.1.2 r6791)

svn path=/main/branches/2.1.2.9/; revision=7458

17 years agoMake repoman work with both + and - flags in IUSE. (branches/2.1.2 r6789)
Zac Medico [Mon, 30 Jul 2007 03:42:15 +0000 (03:42 -0000)]
Make repoman work with both + and - flags in IUSE. (branches/2.1.2 r6789)

svn path=/main/branches/2.1.2.9/; revision=7457

17 years agoSkip bogus '$ECLASS inherited illegally' messages when installing from a binary packa...
Zac Medico [Mon, 30 Jul 2007 03:38:54 +0000 (03:38 -0000)]
Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. (branches/2.1.2 r6776)

svn path=/main/branches/2.1.2.9/; revision=7456

17 years agoFor bug #152828, run -ldconfig when != . (branches/2.1.2 r6771)
Zac Medico [Mon, 30 Jul 2007 03:37:38 +0000 (03:37 -0000)]
For bug #152828, run -ldconfig when  != . (branches/2.1.2 r6771)

svn path=/main/branches/2.1.2.9/; revision=7455

17 years agoFor bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput...
Zac Medico [Mon, 30 Jul 2007 03:35:35 +0000 (03:35 -0000)]
For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput() since the latter puts too much restriction on what echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\" may contain. (branches/2.1.2 r6769, r6773, r6800, and r6847)

svn path=/main/branches/2.1.2.9/; revision=7454

17 years agoFor bug #181104, make econf give an appropriate error message when configure is not...
Zac Medico [Mon, 30 Jul 2007 03:22:53 +0000 (03:22 -0000)]
For bug #181104, make econf give an appropriate error message when configure is not executable. (branches/2.1.2 r6767)

svn path=/main/branches/2.1.2.9/; revision=7453

17 years agoMake all the python code respect USE conditionals in RESTRICT. It's already handled...
Zac Medico [Mon, 30 Jul 2007 03:21:33 +0000 (03:21 -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. (branches/2.1.2 r6763:6765)

svn path=/main/branches/2.1.2.9/; revision=7452

17 years agoReturn copies of the cached values from pkgsplit and catpkgsplit. (branches/2.1.2...
Zac Medico [Mon, 30 Jul 2007 03:17:10 +0000 (03:17 -0000)]
Return copies of the cached values from pkgsplit and catpkgsplit. (branches/2.1.2 r6763)

svn path=/main/branches/2.1.2.9/; revision=7451

17 years agoFor bug #156536, update --resume docs to show that the resume history is capable...
Zac Medico [Mon, 30 Jul 2007 03:15:32 +0000 (03:15 -0000)]
For bug #156536, update --resume docs to show that the resume history is capable of storing two merge lists. (branches/2.1.2 r6762)

svn path=/main/branches/2.1.2.9/; revision=7450

17 years agoFor bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND. (branches...
Zac Medico [Mon, 30 Jul 2007 03:14:25 +0000 (03:14 -0000)]
For bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND. (branches/2.1.2 r6761)

svn path=/main/branches/2.1.2.9/; revision=7449

17 years agoWhen dblink.treewalk() looks for an installed instance in the same slot, make sure...
Zac Medico [Mon, 30 Jul 2007 03:11:58 +0000 (03:11 -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. (branches/2.1.2 r6758)

svn path=/main/branches/2.1.2.9/; revision=7448

17 years agoRemove duplicate entries from special variables processed by env_update() (bug #17219...
Zac Medico [Mon, 30 Jul 2007 03:09:24 +0000 (03:09 -0000)]
Remove duplicate entries from special variables processed by env_update() (bug #172194) (branches/2.1.2 r6757 and r6759)

svn path=/main/branches/2.1.2.9/; revision=7447

17 years agoUse user-provided ${mv_opts} for -5 (bug #47442) (branches/2.1.2 r6756)
Zac Medico [Mon, 30 Jul 2007 03:06:32 +0000 (03:06 -0000)]
Use user-provided ${mv_opts} for -5 (bug #47442) (branches/2.1.2 r6756)

svn path=/main/branches/2.1.2.9/; revision=7446

17 years agoAdd ECONF_SOURCE to the econf docs. (branches/2.1.2 r6755)
Zac Medico [Mon, 30 Jul 2007 03:05:17 +0000 (03:05 -0000)]
Add ECONF_SOURCE to the econf docs. (branches/2.1.2 r6755)

svn path=/main/branches/2.1.2.9/; revision=7445

17 years agoDocument EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (branches/2.1.2 r6754)
Zac Medico [Mon, 30 Jul 2007 03:03:45 +0000 (03:03 -0000)]
Document EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (branches/2.1.2 r6754)

svn path=/main/branches/2.1.2.9/; revision=7444

17 years agoFor bug #82378, only set permissions on PORT_LOGDIR if it is created automatically...
Zac Medico [Mon, 30 Jul 2007 03:02:17 +0000 (03:02 -0000)]
For bug #82378, only set permissions on PORT_LOGDIR if it is created automatically. (branches/2.1.2 r6744)

svn path=/main/branches/2.1.2.9/; revision=7443

17 years agoImprove support for slot deps atoms given on the command line. (branches/2.1.2 r6731)
Zac Medico [Mon, 30 Jul 2007 03:00:20 +0000 (03:00 -0000)]
Improve support for slot deps atoms given on the command line. (branches/2.1.2 r6731)

svn path=/main/branches/2.1.2.9/; revision=7442

17 years agoDon't complain when is missing unless manifest1 compatibility is enabled. (branches...
Zac Medico [Mon, 30 Jul 2007 02:57:44 +0000 (02:57 -0000)]
Don't complain when  is missing unless manifest1 compatibility is enabled. (branches/2.1.2 r6717)

svn path=/main/branches/2.1.2.9/; revision=7441

17 years agoInstead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert...
Zac Medico [Mon, 30 Jul 2007 02:55:06 +0000 (02:55 -0000)]
Instead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert the KeyError to an InvalidDependString exception since callers already handle it. (branches/2.1.2 r6715)

svn path=/main/branches/2.1.2.9/; revision=7440

17 years agoDon't repeatedly invoke the depend phase for ebuilds that are already known to be...
Zac Medico [Mon, 30 Jul 2007 02:53:45 +0000 (02:53 -0000)]
Don't repeatedly invoke the depend phase for ebuilds that are already known to be broken. (branches/2.1.2 r6714)

svn path=/main/branches/2.1.2.9/; revision=7439

17 years agoFor bug #149397, raise an InvalidDependString exception if a USE has no basename...
Zac Medico [Mon, 30 Jul 2007 02:52:34 +0000 (02:52 -0000)]
For bug #149397, raise an InvalidDependString exception if a USE has no basename. (branches/2.1.2 r6713)

svn path=/main/branches/2.1.2.9/; revision=7438

17 years agoOnly check ChangeLog if we're dealing with an ebuild (bug #170604) (branches/2.1...
Zac Medico [Mon, 30 Jul 2007 02:48:40 +0000 (02:48 -0000)]
Only check ChangeLog if we're dealing with an ebuild (bug #170604) (branches/2.1.2 r6702)

svn path=/main/branches/2.1.2.9/; revision=7437