portage.git
17 years agoFor pty logging, handle the EAGAIN error that is thrown from fcntl when the slave...
Zac Medico [Sun, 29 Jul 2007 02:10:36 +0000 (02:10 -0000)]
For pty logging, handle the EAGAIN error that is thrown from fcntl when the slave end of the pty is closed on FreeBSD. (trunk r7424)

svn path=/main/branches/2.1.2/; revision=7425

17 years agoFor bug #186876, fall back it os.pipe() if pty.openpty() fails. (trunk r7422)
Zac Medico [Sat, 28 Jul 2007 22:52:37 +0000 (22:52 -0000)]
For bug #186876, fall back it os.pipe() if pty.openpty() fails. (trunk r7422)

svn path=/main/branches/2.1.2/; revision=7423

17 years agoWhen the fetch phase fails inside doebuild(), create an eerror log since the mod_echo... v2.1.3
Zac Medico [Sat, 28 Jul 2007 04:13:47 +0000 (04:13 -0000)]
When the fetch phase fails inside doebuild(), create an eerror log since the mod_echo module might push the original message off of the top of the terminal and prevent the user from being able to see it. (trunk r7419)

svn path=/main/branches/2.1.2/; revision=7420

17 years agoHandle 2 more cases where elog_process() needs to be called:
Zac Medico [Sat, 28 Jul 2007 03:07:07 +0000 (03:07 -0000)]
Handle 2 more cases where elog_process() needs to be called:
- binary install via pkgmerge() fails before reaching the merge phase (pkg_setup dies)
- doebuild() is called for the merge phase but it dies before reaching the merge phase
(trunk r7417)

svn path=/main/branches/2.1.2/; revision=7418

17 years agoFor bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf...
Zac Medico [Sat, 28 Jul 2007 00:09:40 +0000 (00:09 -0000)]
For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf. (trunk r7415)

svn path=/main/branches/2.1.2/; revision=7416

17 years agoFor bug #186639, note that /etc/portage/profile/ supports all of the same file types...
Zac Medico [Fri, 27 Jul 2007 23:31:31 +0000 (23:31 -0000)]
For bug #186639, note that /etc/portage/profile/ supports all of the same file types that /etc/make.profile/ does, except parent. (trunk r7413)

svn path=/main/branches/2.1.2/; revision=7414

17 years agoFor bug #186639, add more clarification about the relationship between /etc/make...
Zac Medico [Fri, 27 Jul 2007 23:17:54 +0000 (23:17 -0000)]
For bug #186639, add more clarification about the relationship between /etc/make.profile/ and /etc/portage/profile/. (trunk r7411)

svn path=/main/branches/2.1.2/; revision=7412

17 years agoFor bug #186480, while we transition to repository lables, avoid ? spam in the reposi...
Zac Medico [Fri, 27 Jul 2007 22:35:15 +0000 (22:35 -0000)]
For bug #186480, while we transition to repository lables, avoid ? spam in the repository display by ignoring a missing repository label for an installed package.

svn path=/main/branches/2.1.2/; revision=7409

17 years agoFor bug #186826, always show --newuse flags that trigger reinstallation even when...
Zac Medico [Fri, 27 Jul 2007 22:03:31 +0000 (22:03 -0000)]
For bug #186826, always show --newuse flags that trigger reinstallation even when not in --verbose mode. (trunk r7407)

svn path=/main/branches/2.1.2/; revision=7408

17 years agoFor --buildpkgonly, say "built" instead of "merged" in the "These are the packages...
Zac Medico [Fri, 27 Jul 2007 18:57:58 +0000 (18:57 -0000)]
For --buildpkgonly, say "built" instead of "merged" in the "These are the packages that would be <action>" message. (trunk r7405)

svn path=/main/branches/2.1.2/; revision=7406

17 years agouse ${MAKE:-make} rather than make in einstall() (trunk r7396)
Zac Medico [Fri, 27 Jul 2007 18:34:54 +0000 (18:34 -0000)]
use ${MAKE:-make} rather than make in einstall() (trunk r7396)

svn path=/main/branches/2.1.2/; revision=7404

17 years agoFor bug #186610, use `find <path>` to scan for config updates since `cd <path>` could...
Zac Medico [Thu, 26 Jul 2007 21:54:49 +0000 (21:54 -0000)]
For bug #186610, use `find <path>` to scan for config updates since `cd <path>` could fail and cause the cwd to be scanned. (trunk r7402)

svn path=/main/branches/2.1.2/; revision=7403

17 years agoWhen setting the size of the pty for logging, check if stdout isatty rather than...
Zac Medico [Thu, 26 Jul 2007 21:26:23 +0000 (21:26 -0000)]
When setting the size of the pty for logging, check if stdout isatty rather than stdin. (trunk r7400)

svn path=/main/branches/2.1.2/; revision=7401

17 years agoMerge the portage.spawn() implementation with pty logging from trunk:
Zac Medico [Wed, 25 Jul 2007 11:16:27 +0000 (11:16 -0000)]
Merge the portage.spawn() implementation with pty logging from trunk:
- Sending output through the pty device makes logging compatible with
  sesandbox and the default selinux security policy (see bug #162404).
- Having a pty device for stdout makes $PAGER behave nicely for things like
  check_license() from eutils.eclass.

svn path=/main/branches/2.1.2/; revision=7395

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

svn path=/main/branches/2.1.2/; revision=7388

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

svn path=/main/branches/2.1.2/; revision=7386

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

svn path=/main/branches/2.1.2/; revision=7384

17 years agoFor bug #186337, show an ewarn message if FEATURES=installsources is enabled but...
Zac Medico [Tue, 24 Jul 2007 01:18:08 +0000 (01:18 -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. (trunk r7381)

svn path=/main/branches/2.1.2/; revision=7382

17 years agoAdd FEATURES=fakeroot support which causes install and package phases to run inside...
Zac Medico [Tue, 24 Jul 2007 00:52:59 +0000 (00:52 -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. (trunk r7379)

svn path=/main/branches/2.1.2/; revision=7380

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:53 +0000 (18:57 -0000)]
Add sfperms and strict to the default FEATURES since they're already in the base profile's make.defaults. (trunk r7377)

svn path=/main/branches/2.1.2/; revision=7378

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

svn path=/main/branches/2.1.2/; revision=7376

17 years agoDrop privileges in the "depend" phase regardless of FEATURES and RESTRICT since that...
Zac Medico [Mon, 23 Jul 2007 18:09:59 +0000 (18:09 -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. (trunk r7373)

svn path=/main/branches/2.1.2/; revision=7374

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:45 +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. (trunk r7358)

svn path=/main/branches/2.1.2/; revision=7359

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

svn path=/main/branches/2.1.2/; revision=7352

17 years agoMake --update imply --oneshot since people often us it to update things when they...
Zac Medico [Sun, 22 Jul 2007 06:48:32 +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. (trunk r7349)

svn path=/main/branches/2.1.2/; revision=7350

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

svn path=/main/branches/2.1.2/; revision=7348

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

svn path=/main/branches/2.1.2/; revision=7347

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:38:42 +0000 (06:38 -0000)]
Make --prune pull in the system set since that could pull in some slots that wouldn't be pulled in otherwise. (trunk r7343)

svn path=/main/branches/2.1.2/; revision=7346

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

svn path=/main/branches/2.1.2/; revision=7341

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

svn path=/main/branches/2.1.2/; revision=7339

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

svn path=/main/branches/2.1.2/; revision=7337

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:49 +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. (trunk r7334)

svn path=/main/branches/2.1.2/; revision=7335

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

svn path=/main/branches/2.1.2/; revision=7333

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

svn path=/main/branches/2.1.2/; revision=7331

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

svn path=/main/branches/2.1.2/; revision=7328

17 years agoWhen digest verification of a distfile fails, rename instead of unlinking it in case...
Zac Medico [Sat, 21 Jul 2007 00:24:06 +0000 (00:24 -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. (trunk r7325)

svn path=/main/branches/2.1.2/; revision=7326

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:43:07 +0000 (05:43 -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. (trunk r7321)

svn path=/main/branches/2.1.2/; revision=7322

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

svn path=/main/branches/2.1.2/; revision=7320

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

svn path=/main/branches/2.1.2/; revision=7318

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

svn path=/main/branches/2.1.2/; revision=7316

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

svn path=/main/branches/2.1.2/; revision=7314

17 years agoMerge --depclean and --prune enhancements from trunk r7304:7310.
Zac Medico [Fri, 20 Jul 2007 01:11:31 +0000 (01:11 -0000)]
Merge --depclean and --prune enhancements from trunk r7304:7310.

svn path=/main/branches/2.1.2/; revision=7311

17 years agosplit up the debug/sources steps as proposed by swegener and give the whole file...
Zac Medico [Wed, 18 Jul 2007 01:24:48 +0000 (01:24 -0000)]
split up the debug/sources steps as proposed by swegener and give the whole file a cleanup (trunk r7267)

svn path=/main/branches/2.1.2/; revision=7304

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

svn path=/main/branches/2.1.2/; revision=7299

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

svn path=/main/branches/2.1.2/; revision=7297

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

svn path=/main/branches/2.1.2/; revision=7295

17 years agoWhen dep_expand throws a ValueError due to an ambiguous atom, try to expand the atom...
Zac Medico [Tue, 17 Jul 2007 05:00:31 +0000 (05:00 -0000)]
When dep_expand throws a ValueError due to an ambiguous atom, try to expand the atom again. (trunk r7292)

svn path=/main/branches/2.1.2/; revision=7293

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

svn path=/main/branches/2.1.2/; revision=7291

17 years agoFor bug #185389, create a symlink when quickpkg injects a new package.
Zac Medico [Sun, 15 Jul 2007 11:17:39 +0000 (11:17 -0000)]
For bug #185389, create a symlink when quickpkg injects a new package.

svn path=/main/branches/2.1.2/; revision=7269

17 years agoFix typo. (trunk r7265)
Zac Medico [Sun, 15 Jul 2007 03:46:00 +0000 (03:46 -0000)]
Fix typo. (trunk r7265)

svn path=/main/branches/2.1.2/; revision=7266

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

svn path=/main/branches/2.1.2/; revision=7264

17 years agoRemove some obsolete repo display code.
Zac Medico [Sun, 15 Jul 2007 00:01:59 +0000 (00:01 -0000)]
Remove some obsolete repo display code.

svn path=/main/branches/2.1.2/; revision=7262

17 years agoMerge the new repo display code from trunk r7257:7260.
Zac Medico [Sat, 14 Jul 2007 23:50:58 +0000 (23:50 -0000)]
Merge the new repo display code from trunk r7257:7260.

svn path=/main/branches/2.1.2/; revision=7261

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

svn path=/main/branches/2.1.2/; revision=7255

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

svn path=/main/branches/2.1.2/; revision=7252

17 years agoSave the repo name along with the other metadata inside dyn_compile() so that it...
Zac Medico [Fri, 13 Jul 2007 23:42:34 +0000 (23:42 -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. (trunk r7247)

svn path=/main/branches/2.1.2/; revision=7248

17 years agoAdd "reset" to the list of attributes in color.map.5 and add define NORMAL like funct...
Zac Medico [Thu, 12 Jul 2007 09:20:48 +0000 (09:20 -0000)]
Add "reset" to the list of attributes in color.map.5 and add define NORMAL like functions.sh does. (trunk r7242)

svn path=/main/branches/2.1.2/; revision=7243

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

svn path=/main/branches/2.1.2/; revision=7240

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

svn path=/main/branches/2.1.2/; revision=7238

17 years agoDocument PORTAGE_WORKDIR_MODE for bug #8688. (trunk r5904)
Zac Medico [Wed, 11 Jul 2007 18:30:50 +0000 (18:30 -0000)]
Document PORTAGE_WORKDIR_MODE for bug #8688. (trunk r5904)

svn path=/main/branches/2.1.2/; revision=7236

17 years agoUpdate the FEATURES=strict docs for better clarity. (trunk r6357)
Zac Medico [Wed, 11 Jul 2007 18:29:00 +0000 (18:29 -0000)]
Update the FEATURES=strict docs for better clarity. (trunk r6357)

svn path=/main/branches/2.1.2/; revision=7235

17 years agodocument FEATURES=sesandbox #161985 (trunk r5663)
Zac Medico [Wed, 11 Jul 2007 18:28:13 +0000 (18:28 -0000)]
document FEATURES=sesandbox #161985 (trunk r5663)

svn path=/main/branches/2.1.2/; revision=7234

17 years agomake.conf is not a manual so only list common FEATURES #161985 (trunk r5664)
Zac Medico [Wed, 11 Jul 2007 18:15:53 +0000 (18:15 -0000)]
make.conf is not a manual so only list common FEATURES #161985 (trunk r5664)

svn path=/main/branches/2.1.2/; revision=7233

17 years agoremove readable bits for debug files if the souce ELF is setXid (trunk r7210)
Zac Medico [Wed, 11 Jul 2007 17:53:22 +0000 (17:53 -0000)]
remove readable bits for debug files if the souce ELF is setXid (trunk r7210)

svn path=/main/branches/2.1.2/; revision=7232

17 years agoSimplify logic mapping of options to depgraph params (trunk r7206 and r7230).
Zac Medico [Wed, 11 Jul 2007 04:58:10 +0000 (04:58 -0000)]
Simplify logic mapping of options to depgraph params (trunk r7206 and r7230).

svn path=/main/branches/2.1.2/; revision=7231

17 years agoFix typo. (trunk r7228)
Zac Medico [Wed, 11 Jul 2007 04:18:47 +0000 (04:18 -0000)]
Fix typo. (trunk r7228)

svn path=/main/branches/2.1.2/; revision=7229

17 years agoFix another case similar to bug #184806 that can occur with --onlydeps. (trunk r7226)
Zac Medico [Wed, 11 Jul 2007 02:54:32 +0000 (02:54 -0000)]
Fix another case similar to bug #184806 that can occur with --onlydeps. (trunk r7226)

svn path=/main/branches/2.1.2/; revision=7227

17 years agoFix typo.
Zac Medico [Wed, 11 Jul 2007 01:16:53 +0000 (01:16 -0000)]
Fix typo.

svn path=/main/branches/2.1.2/; revision=7225

17 years agoFor bug #184687, skip the huge --depclean warning when --quiet mode is enabled. ...
Zac Medico [Wed, 11 Jul 2007 01:10:56 +0000 (01:10 -0000)]
For bug #184687, skip the huge --depclean warning when --quiet mode is enabled. (trunk r7222)

svn path=/main/branches/2.1.2/; revision=7223

17 years agoFor bug #184679, handle ENOTDIR by finding the non-directory parent and testing that...
Zac Medico [Wed, 11 Jul 2007 00:39:18 +0000 (00:39 -0000)]
For bug #184679, handle ENOTDIR by finding the non-directory parent and testing that for collision instead. (trunk r7220)

svn path=/main/branches/2.1.2/; revision=7221

17 years agoFor bug #184843, allow USE_EXPAND variables to pass through if none of their flags...
Zac Medico [Tue, 10 Jul 2007 23:17:23 +0000 (23:17 -0000)]
For bug #184843, allow USE_EXPAND variables to pass through if none of their flags are in IUSE. This allows packages that support LINGUAS but don't declare it in IUSE to use the variable outside of the USE_EXPAND context. (trunk r7218)

svn path=/main/branches/2.1.2/; revision=7219

17 years agoFor bug #184604, make env-update write $ in front of quoted values when appropriate...
Zac Medico [Tue, 10 Jul 2007 18:29:22 +0000 (18:29 -0000)]
For bug #184604, make env-update write $ in front of quoted values when appropriate. (trunk r7216)

svn path=/main/branches/2.1.2/; revision=7217

17 years agoFor bug #184806, account for the fact the metadata is not cached for slot_collision_n...
Zac Medico [Tue, 10 Jul 2007 17:28:04 +0000 (17:28 -0000)]
For bug #184806, account for the fact the metadata is not cached for slot_collision_nodes. (trunk r7214)

svn path=/main/branches/2.1.2/; revision=7215

17 years agoRemove the repo_name warning in the portdbapi constructor since we don't want to...
Zac Medico [Mon, 9 Jul 2007 19:30:23 +0000 (19:30 -0000)]
Remove the repo_name warning in the portdbapi constructor since we don't want to see a warning every time the portage module is imported. (trunk r7212)

svn path=/main/branches/2.1.2/; revision=7213

17 years agoFix interaction of resume opts with spinner output handling so that output always...
Zac Medico [Mon, 9 Jul 2007 10:14:00 +0000 (10:14 -0000)]
Fix interaction of resume opts with spinner output handling so that output always looks correct. (trunk r7207)

svn path=/main/branches/2.1.2/; revision=7208

17 years agoMake dblink invalidate the vardbapi caches for each merge and unmerge. Don't use...
Zac Medico [Sun, 8 Jul 2007 16:50:42 +0000 (16:50 -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. (trunk r7202:7204)

svn path=/main/branches/2.1.2/; revision=7205

17 years agoFor bug #184566, enable the emerge --info action to run an option pkg_info() function...
Zac Medico [Sun, 8 Jul 2007 07:28:02 +0000 (07:28 -0000)]
For bug #184566, enable the emerge --info action to run an option pkg_info() function from each installed ebuild. (trunk r7201)

svn path=/main/branches/2.1.2/; revision=7202

17 years agoAdd color classes PROMPT_CHOICE_{DEFAULT,OTHER} for emerge's Yes/No prompt. (trunk...
Zac Medico [Sun, 8 Jul 2007 06:10:24 +0000 (06:10 -0000)]
Add color classes PROMPT_CHOICE_{DEFAULT,OTHER} for emerge's Yes/No prompt. (trunk r7199)

svn path=/main/branches/2.1.2/; revision=7200

17 years agoAllow system virtuals to be pruned from the world file in cases where the matched...
Zac Medico [Sun, 8 Jul 2007 04:14:35 +0000 (04:14 -0000)]
Allow system virtuals to be pruned from the world file in cases where the matched package is the only provider of that virtual. (trunk r7197)

svn path=/main/branches/2.1.2/; revision=7198

17 years agoFor bug #184412, make depclean more consistent with the update algorithm by keeping...
Zac Medico [Sun, 8 Jul 2007 02:52:26 +0000 (02:52 -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. (trunk r7195)

svn path=/main/branches/2.1.2/; revision=7196

17 years agoallow split debuf for kernel modules (trunk r7193)
Zac Medico [Sun, 8 Jul 2007 01:16:37 +0000 (01:16 -0000)]
allow split debuf for kernel modules (trunk r7193)

svn path=/main/branches/2.1.2/; revision=7194

17 years agoNow that the "white" color code really is white, alias it to bold where it's used...
Zac Medico [Sat, 7 Jul 2007 16:24:29 +0000 (16:24 -0000)]
Now that the "white" color code really is white, alias it to bold where it's used by emerge since white looks bad on a terminal with a white background. (trunk r7191)

svn path=/main/branches/2.1.2/; revision=7192

17 years ago`find` can accept a list of paths so condense this nested for loop, and dont split...
Zac Medico [Sat, 7 Jul 2007 14:11:16 +0000 (14:11 -0000)]
`find` can accept a list of paths so condense this nested for loop, and dont split off debug information for ET_REL files as these are never pulled in via debug utilities (and can trigger weird behavior in binutils when linked into things, like glibcs crt1.o) (trunk r7189)

svn path=/main/branches/2.1.2/; revision=7190

17 years agoAdd a depgaph.loadResumeCommand() method to handle loading and validation of all...
Zac Medico [Sat, 7 Jul 2007 07:02:57 +0000 (07:02 -0000)]
Add a depgaph.loadResumeCommand() method to handle loading and validation of all resume data. (trunk r7187)

svn path=/main/branches/2.1.2/; revision=7188

17 years agoWhen depgraph updates preferences for old-style virtuals, also update them in the...
Zac Medico [Fri, 6 Jul 2007 23:07:01 +0000 (23:07 -0000)]
When depgraph updates preferences for old-style virtuals, also update them in the global config so that they are consistent everywhere.  Optimize config.setinst() to minimize the work done. (trunk r7185)

svn path=/main/branches/2.1.2/; revision=7186

17 years agoMisc color fixes. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail...
Zac Medico [Fri, 6 Jul 2007 21:26:14 +0000 (21:26 -0000)]
Misc color fixes.  Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for this patch from bug#183861, comment #9. (trunk r7183)

svn path=/main/branches/2.1.2/; revision=7184

17 years agotighten up --quiet output for --unmerge (trunk r7177)
Zac Medico [Fri, 6 Jul 2007 09:42:28 +0000 (09:42 -0000)]
tighten up --quiet output for --unmerge (trunk r7177)

svn path=/main/branches/2.1.2/; revision=7182

17 years agoDon't exclude system virtuals from world since they can match multiple old-style...
Zac Medico [Fri, 6 Jul 2007 09:21:44 +0000 (09:21 -0000)]
Don't exclude system virtuals from world since they can match multiple old-style virtuals but only one of them will be pulled in by update or depclean. (trunk r7180)

svn path=/main/branches/2.1.2/; revision=7181

17 years agoCount the number of merges processed by MergeTask and use that to determine whether...
Zac Medico [Fri, 6 Jul 2007 07:27:30 +0000 (07:27 -0000)]
Count the number of merges processed by MergeTask and use that to determine whether or not post_merge() should run. (trunk r7178)

svn path=/main/branches/2.1.2/; revision=7179

17 years agoRemove the PKG_*ARG* color classes in order to simplify things since it's questionabl...
Zac Medico [Fri, 6 Jul 2007 03:10:45 +0000 (03:10 -0000)]
Remove the PKG_*ARG* color classes in order to simplify things since it's questionable whether many people will want to use them. Also, make the PKG_*SYSTEM colors default to the traditional colors since people are generally most interested in world packages. (trunk r7174)

svn path=/main/branches/2.1.2/; revision=7175

17 years agoFix emerge by tbz2 path so that it works properly. (trunk r7171)
Zac Medico [Fri, 6 Jul 2007 00:42:36 +0000 (00:42 -0000)]
Fix emerge by tbz2 path so that it works properly. (trunk r7171)

svn path=/main/branches/2.1.2/; revision=7173

17 years agoFix emerge by ebuild path so that it works properly. (trunk r7166)
Zac Medico [Fri, 6 Jul 2007 00:11:19 +0000 (00:11 -0000)]
Fix emerge by ebuild path so that it works properly. (trunk r7166)

svn path=/main/branches/2.1.2/; revision=7167

17 years agoDon't store unslotted system packages in the world file. (trunk r7164)
Zac Medico [Thu, 5 Jul 2007 22:16:27 +0000 (22:16 -0000)]
Don't store unslotted system packages in the world file. (trunk r7164)

svn path=/main/branches/2.1.2/; revision=7165

17 years agoMove depgraph._args_atoms to depgraph._sets["args"] and move depgraph._args_nodes...
Zac Medico [Thu, 5 Jul 2007 18:56:12 +0000 (18:56 -0000)]
Move depgraph._args_atoms to depgraph._sets["args"] and move depgraph._args_nodes to self._set_nodes. (trunk r7161)

svn path=/main/branches/2.1.2/; revision=7162

17 years agoRemove redundant config update notification (bug #184116, trunk r7159)
Zac Medico [Thu, 5 Jul 2007 16:54:05 +0000 (16:54 -0000)]
Remove redundant config update notification (bug #184116, trunk r7159)

svn path=/main/branches/2.1.2/; revision=7160

17 years agoMerge portdbapi.getRepositories() from trunk.
Zac Medico [Thu, 5 Jul 2007 06:55:03 +0000 (06:55 -0000)]
Merge portdbapi.getRepositories() from trunk.

svn path=/main/branches/2.1.2/; revision=7158

17 years agobackport r7087 and r7093 to ease the upgrade to 2.2 wrt verbose pretend display
Marius Mauch [Thu, 5 Jul 2007 06:00:00 +0000 (06:00 -0000)]
backport r7087 and r7093 to ease the upgrade to 2.2 wrt verbose pretend display

svn path=/main/branches/2.1.2/; revision=7156

17 years agoReplace sys.exit() with return in depgraph.display() and action_build(). (trunk r7153)
Zac Medico [Thu, 5 Jul 2007 01:17:32 +0000 (01:17 -0000)]
Replace sys.exit() with return in depgraph.display() and action_build(). (trunk r7153)

svn path=/main/branches/2.1.2/; revision=7154

17 years agoUpdate the location of output.py for the old namespace.
Zac Medico [Thu, 5 Jul 2007 00:57:44 +0000 (00:57 -0000)]
Update the location of output.py for the old namespace.

svn path=/main/branches/2.1.2/; revision=7152

17 years agoFor bug #183861, allow a color class in color.map to specify a space separated list...
Zac Medico [Thu, 5 Jul 2007 00:56:33 +0000 (00:56 -0000)]
For bug #183861, allow a color class in color.map to specify a space separated list of attributes so that any combination of foreground, background, and other attributes is possible. Also make color class handling for package sets more consistent.  Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>.

svn path=/main/branches/2.1.2/; revision=7151