Ned Ludd [Mon, 9 Jul 2007 18:11:10 +0000 (18:11 -0000)]
- be quiet about overlays profiles/repo_name entry when --quiet mode is used
svn path=/main/trunk/; revision=7211
Ned Ludd [Mon, 9 Jul 2007 18:10:15 +0000 (18:10 -0000)]
- remove readable bits for debug files if the souce ELF is setXid
svn path=/main/trunk/; revision=7210
Zac Medico [Mon, 9 Jul 2007 10:10:20 +0000 (10:10 -0000)]
Fix interaction of resume opts with spinner output handling so that output always looks correct.
svn path=/main/trunk/; revision=7207
Marius Mauch [Mon, 9 Jul 2007 05:53:30 +0000 (05:53 -0000)]
simplify logic a bit
svn path=/main/trunk/; revision=7206
Zac Medico [Sun, 8 Jul 2007 16:44:47 +0000 (16:44 -0000)]
Pass the file path into the PermissionDenied exception.
svn path=/main/trunk/; revision=7204
Zac Medico [Sun, 8 Jul 2007 16:36:58 +0000 (16:36 -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.
svn path=/main/trunk/; revision=7203
Zac Medico [Sun, 8 Jul 2007 07:24:12 +0000 (07:24 -0000)]
For bug #184566, enable the emerge --info action to run an option pkg_info() function from each installed ebuild.
svn path=/main/trunk/; revision=7201
Zac Medico [Sun, 8 Jul 2007 06:07:23 +0000 (06:07 -0000)]
Add color classes PROMPT_CHOICE_{DEFAULT,OTHER} for emerge's Yes/No prompt.
svn path=/main/trunk/; revision=7199
Zac Medico [Sun, 8 Jul 2007 04:09:51 +0000 (04:09 -0000)]
Allow system virtuals to be pruned from the world file in cases where the matched package is the only provider of that virtual.
svn path=/main/trunk/; revision=7197
Zac Medico [Sun, 8 Jul 2007 02:49:53 +0000 (02:49 -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.
svn path=/main/trunk/; revision=7195
Mike Frysinger [Sun, 8 Jul 2007 00:17:29 +0000 (00:17 -0000)]
allow split debuf for kernel modules
svn path=/main/trunk/; revision=7193
Zac Medico [Sat, 7 Jul 2007 16:23:04 +0000 (16:23 -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.
svn path=/main/trunk/; revision=7191
Mike Frysinger [Sat, 7 Jul 2007 09:38:13 +0000 (09:38 -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)
svn path=/main/trunk/; revision=7189
Zac Medico [Sat, 7 Jul 2007 06:47:43 +0000 (06:47 -0000)]
Add a depgaph.loadResumeCommand() method to handle loading and validation of all resume data.
svn path=/main/trunk/; revision=7187
Zac Medico [Fri, 6 Jul 2007 22:58:32 +0000 (22:58 -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.
svn path=/main/trunk/; revision=7185
Zac Medico [Fri, 6 Jul 2007 21:14:40 +0000 (21:14 -0000)]
Misc color fixes. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for this patch from bug#183861, comment #9.
svn path=/main/trunk/; revision=7183
Zac Medico [Fri, 6 Jul 2007 09:20:26 +0000 (09:20 -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.
svn path=/main/trunk/; revision=7180
Zac Medico [Fri, 6 Jul 2007 07:16:17 +0000 (07:16 -0000)]
Count the number of merges processed by MergeTask and use that to determine whether or not post_merge() should run.
svn path=/main/trunk/; revision=7178
Mike Frysinger [Fri, 6 Jul 2007 04:47:38 +0000 (04:47 -0000)]
tighten up --quiet output for --unmerge
svn path=/main/trunk/; revision=7177
Zac Medico [Fri, 6 Jul 2007 03:06:39 +0000 (03:06 -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.
svn path=/main/trunk/; revision=7174
Marius Mauch [Fri, 6 Jul 2007 00:39:11 +0000 (00:39 -0000)]
fix copyright year
svn path=/main/trunk/; revision=7172
Zac Medico [Fri, 6 Jul 2007 00:37:28 +0000 (00:37 -0000)]
Fix emerge by tbz2 path so that it works properly.
svn path=/main/trunk/; revision=7171
Marius Mauch [Fri, 6 Jul 2007 00:24:40 +0000 (00:24 -0000)]
Add first draft of PackageSet backend modules
svn path=/main/trunk/; revision=7170
Marius Mauch [Fri, 6 Jul 2007 00:23:34 +0000 (00:23 -0000)]
Enable keyword expansion
svn path=/main/trunk/; revision=7169
Marius Mauch [Fri, 6 Jul 2007 00:22:47 +0000 (00:22 -0000)]
add modified copy of gentoolkits glsa.py (r410)
svn path=/main/trunk/; revision=7168
Zac Medico [Fri, 6 Jul 2007 00:05:56 +0000 (00:05 -0000)]
Fix emerge by ebuild path so that it works properly.
svn path=/main/trunk/; revision=7166
Zac Medico [Thu, 5 Jul 2007 22:12:48 +0000 (22:12 -0000)]
Don't store unslotted system packages in the world file.
svn path=/main/trunk/; revision=7164
Zac Medico [Thu, 5 Jul 2007 18:52:16 +0000 (18:52 -0000)]
Move depgraph._args_atoms to depgraph._sets["args"] and move depgraph._args_nodes to self._set_nodes.
svn path=/main/trunk/; revision=7161
Marius Mauch [Thu, 5 Jul 2007 16:25:09 +0000 (16:25 -0000)]
Remove redundant config update notification (bug #184116)
svn path=/main/trunk/; revision=7159
Marius Mauch [Thu, 5 Jul 2007 06:49:48 +0000 (06:49 -0000)]
Remove fallback imports for set(), and note minimum requirement of python-2.4
svn path=/main/trunk/; revision=7157
Marius Mauch [Thu, 5 Jul 2007 05:46:56 +0000 (05:46 -0000)]
Add note about repo name warnings
svn path=/main/trunk/; revision=7155
Zac Medico [Thu, 5 Jul 2007 01:17:09 +0000 (01:17 -0000)]
Replace sys.exit() with return in depgraph.display() and action_build().
svn path=/main/trunk/; revision=7153
Zac Medico [Thu, 5 Jul 2007 00:43:11 +0000 (00:43 -0000)]
Document the additional color classes for bug #183861.
svn path=/main/trunk/; revision=7150
Zac Medico [Thu, 5 Jul 2007 00:32:31 +0000 (00:32 -0000)]
Make the color class handling for package sets more consistent as suggested in comment #2 of bug #183861.
svn path=/main/trunk/; revision=7149
Zac Medico [Wed, 4 Jul 2007 23:35:30 +0000 (23:35 -0000)]
Fix broken code concatenation logic in parse_color_map().
svn path=/main/trunk/; revision=7148
Zac Medico [Wed, 4 Jul 2007 12:27:44 +0000 (12:27 -0000)]
Add a "onerror" callback to parse_color_map() for handling each ParseError that would otherwise be raised.
svn path=/main/trunk/; revision=7147
Zac Medico [Wed, 4 Jul 2007 11:48:57 +0000 (11:48 -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. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for this patch.
svn path=/main/trunk/; revision=7146
Zac Medico [Wed, 4 Jul 2007 04:46:51 +0000 (04:46 -0000)]
Fix greedy atoms logic for system mode.
svn path=/main/trunk/; revision=7144
Zac Medico [Wed, 4 Jul 2007 02:31:12 +0000 (02:31 -0000)]
Record a slot atom in the world file for any atom that is precise enough to identify a specific slot. Make depclean clean unnecessary slots of system and world packages. For update and depclean, world atoms can be greedy with slots while system atoms can not.
svn path=/main/trunk/; revision=7142
Zac Medico [Tue, 3 Jul 2007 18:09:15 +0000 (18:09 -0000)]
Use depgraph._args_nodes to simplify depgraph.saveNomergeFavorites().
svn path=/main/trunk/; revision=7140
Zac Medico [Tue, 3 Jul 2007 17:49:36 +0000 (17:49 -0000)]
Fix --oneshot handling from the previous commit.
svn path=/main/trunk/; revision=7139
Zac Medico [Tue, 3 Jul 2007 17:44:03 +0000 (17:44 -0000)]
In depgraph.select_files(), unify favorites handling with the other args handling.
svn path=/main/trunk/; revision=7138
Zac Medico [Tue, 3 Jul 2007 06:23:22 +0000 (06:23 -0000)]
Implement BlockerCache.keys() so that DictMixin.__repr__() works.
svn path=/main/trunk/; revision=7135
Zac Medico [Tue, 3 Jul 2007 01:18:32 +0000 (01:18 -0000)]
Fix broken favorites handling with --usepkg.
svn path=/main/trunk/; revision=7133
Zac Medico [Tue, 3 Jul 2007 00:57:44 +0000 (00:57 -0000)]
Add USE to the list of metadata keys to pull.
svn path=/main/trunk/; revision=7132
Zac Medico [Tue, 3 Jul 2007 00:14:37 +0000 (00:14 -0000)]
Clean up system and world set handling. For forward compatibility, the world file handling now allows the world file to contain arbitrary atoms such as slot atoms.
svn path=/main/trunk/; revision=7131
Zac Medico [Mon, 2 Jul 2007 05:50:46 +0000 (05:50 -0000)]
Prefer asap_nodes more aggressively over any other nodes whenever possible. If no asap_nodes can be selected for a given iteration, they will be ignored for the next iteration.
svn path=/main/trunk/; revision=7126
Zac Medico [Mon, 2 Jul 2007 03:54:51 +0000 (03:54 -0000)]
Clone asap_nodes so that iteration is safe for node removal.
svn path=/main/trunk/; revision=7124
Zac Medico [Mon, 2 Jul 2007 03:39:20 +0000 (03:39 -0000)]
Clean up the selected_nodes logic in depgraph.altlist().
svn path=/main/trunk/; revision=7122
Zac Medico [Mon, 2 Jul 2007 02:06:40 +0000 (02:06 -0000)]
Flatten restrict for the RESTRICT.invalid check.
svn path=/main/trunk/; revision=7120
Zac Medico [Mon, 2 Jul 2007 01:52:30 +0000 (01:52 -0000)]
Move medium priority out of ignore_priority_range and handle it separately.
svn path=/main/trunk/; revision=7118
Zac Medico [Sun, 1 Jul 2007 20:05:40 +0000 (20:05 -0000)]
If necessary, resample the leaf nodes so that they include all nodes whose hard deps are satisfied.
svn path=/main/trunk/; revision=7116
Zac Medico [Sun, 1 Jul 2007 17:16:32 +0000 (17:16 -0000)]
s/PORTAGE_EXTRA_RSYNC_OPTS/PORTAGE_RSYNC_OPTS/ for correctness.
svn path=/main/trunk/; revision=7114
Zac Medico [Sun, 1 Jul 2007 17:08:59 +0000 (17:08 -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.
svn path=/main/trunk/; revision=7112
Zac Medico [Sun, 1 Jul 2007 08:38:54 +0000 (08:38 -0000)]
Revert --buildpkgonly logic back because it was already correct.
svn path=/main/trunk/; revision=7110
Zac Medico [Sun, 1 Jul 2007 08:34:33 +0000 (08:34 -0000)]
Update --buildpkgonly logic to account for DepPriority.MEDIUM_SOFT.
svn path=/main/trunk/; revision=7108
Zac Medico [Sun, 1 Jul 2007 08:14:54 +0000 (08:14 -0000)]
Add medium-soft support to DepPriority.__str__().
svn path=/main/trunk/; revision=7106
Zac Medico [Sun, 1 Jul 2007 07:50:35 +0000 (07:50 -0000)]
For bug #180045, try to merge PDEPEND as soon as possible so that it behaves more like RDEPEND.
svn path=/main/trunk/; revision=7104
Zac Medico [Sat, 30 Jun 2007 23:38:04 +0000 (23:38 -0000)]
Add a QA warning for invalid values of RESTRICT. Thanks to peper for the patch.
svn path=/main/trunk/; revision=7102
Zac Medico [Sat, 30 Jun 2007 23:15:51 +0000 (23:15 -0000)]
Add docs for /etc/portage/color.map and a few misc man page fixes. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> in bug #183758.
svn path=/main/trunk/; revision=7100
Zac Medico [Sat, 30 Jun 2007 13:19:58 +0000 (13:19 -0000)]
Remove old wheel group warnings since portage stopped using this group long ago.
svn path=/main/trunk/; revision=7099
Marius Mauch [Sat, 30 Jun 2007 11:21:26 +0000 (11:21 -0000)]
apply additional phase filters as otherwise some messages are logged in both unmerge and merge
svn path=/main/trunk/; revision=7098
Marius Mauch [Sat, 30 Jun 2007 10:32:36 +0000 (10:32 -0000)]
ewarn when merging a package and the source repository/overlay does not have a name
svn path=/main/trunk/; revision=7097
Marius Mauch [Sat, 30 Jun 2007 10:04:42 +0000 (10:04 -0000)]
print a notice when a repository/overlay does not have a name
svn path=/main/trunk/; revision=7096
Zac Medico [Fri, 29 Jun 2007 21:46:13 +0000 (21:46 -0000)]
Add a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals have instead of brown.
svn path=/main/trunk/; revision=7094
Zac Medico [Fri, 29 Jun 2007 21:30:10 +0000 (21:30 -0000)]
Test for existence of the getRepositories method since bindbapi doesn't have it atm.
svn path=/main/trunk/; revision=7093
Zac Medico [Fri, 29 Jun 2007 14:09:12 +0000 (14:09 -0000)]
For bug #183639, give a more informative message with the package.provided warning.
svn path=/main/trunk/; revision=7091
Marius Mauch [Fri, 29 Jun 2007 09:09:49 +0000 (09:09 -0000)]
display source repository for installed package and target package (bug #67072)
svn path=/main/trunk/; revision=7089
Marius Mauch [Fri, 29 Jun 2007 08:04:24 +0000 (08:04 -0000)]
Use better parseable format for list_preserved_libs
svn path=/main/trunk/; revision=7088
Marius Mauch [Fri, 29 Jun 2007 08:03:46 +0000 (08:03 -0000)]
Store name of source repository in vdb node for later comparison
svn path=/main/trunk/; revision=7087
Zac Medico [Thu, 28 Jun 2007 09:44:48 +0000 (09:44 -0000)]
Fix typo.
svn path=/main/trunk/; revision=7083
Zac Medico [Thu, 28 Jun 2007 09:31:37 +0000 (09:31 -0000)]
For bug #144333, document the new --reinstall=changed-use option.
svn path=/main/trunk/; revision=7081
Zac Medico [Thu, 28 Jun 2007 09:06:02 +0000 (09:06 -0000)]
Remove unused worldlist variable.
svn path=/main/trunk/; revision=7078
Zac Medico [Thu, 28 Jun 2007 09:01:17 +0000 (09:01 -0000)]
Don't colorize system package when in "world" mode.
svn path=/main/trunk/; revision=7076
Zac Medico [Thu, 28 Jun 2007 08:50:29 +0000 (08:50 -0000)]
For bug #142473, add 2 additional color classes for system packages and packages matched by arguments.
svn path=/main/trunk/; revision=7075
Zac Medico [Thu, 28 Jun 2007 04:57:05 +0000 (04:57 -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.
svn path=/main/trunk/; revision=7073
Zac Medico [Thu, 28 Jun 2007 02:48:02 +0000 (02:48 -0000)]
When filling in "nomerge" nodes for --tree display, stop at a node that is an argument or a direct member of a set that has been specified as an argument (system or world).
svn path=/main/trunk/; revision=7071
Zac Medico [Thu, 28 Jun 2007 02:36:53 +0000 (02:36 -0000)]
For bug #144333, make the --reinstall option a single choice type.
svn path=/main/trunk/; revision=7069
Zac Medico [Thu, 28 Jun 2007 01:48:17 +0000 (01:48 -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.
svn path=/main/trunk/; revision=7067
Zac Medico [Thu, 28 Jun 2007 01:22:19 +0000 (01:22 -0000)]
Just use a containment test for matching pprovided args since it works correctly and match_to_list() isn't appropriate for this.
svn path=/main/trunk/; revision=7065
Zac Medico [Thu, 28 Jun 2007 01:04:36 +0000 (01:04 -0000)]
Cache aux_get() metadata in depgraph.create() and use PROVIDE for matching packages to arguments.
svn path=/main/trunk/; revision=7064
Zac Medico [Wed, 27 Jun 2007 18:16:42 +0000 (18:16 -0000)]
Improve tracking of correspondence between arguments and packages in the depgraph.
svn path=/main/trunk/; revision=7063
Zac Medico [Wed, 27 Jun 2007 15:15:19 +0000 (15:15 -0000)]
Instead of just a list, use a cat/pkg dict for matching packages against args in the depgraph.
svn path=/main/trunk/; revision=7061
Zac Medico [Wed, 27 Jun 2007 14:54:49 +0000 (14:54 -0000)]
For bug #142473, account for $ROOT when deciding if a package is part of world or not.
svn path=/main/trunk/; revision=7059
Zac Medico [Wed, 27 Jun 2007 10:11:01 +0000 (10:11 -0000)]
Fix quoting.
svn path=/main/trunk/; revision=7057
Zac Medico [Wed, 27 Jun 2007 09:56:12 +0000 (09:56 -0000)]
Format $EBUILD_OVERLAY_ECLASSES output more like it was before.
svn path=/main/trunk/; revision=7055
Zac Medico [Wed, 27 Jun 2007 04:18:39 +0000 (04:18 -0000)]
For bug #144333, add a --reinstall=changed-use option which behaves similar to how --newuse behaved in portage-2.0.x days.
svn path=/main/trunk/; revision=7052
Zac Medico [Wed, 27 Jun 2007 03:21:30 +0000 (03:21 -0000)]
Format the callstack indentation more like it used to be.
svn path=/main/trunk/; revision=7050
Zac Medico [Wed, 27 Jun 2007 01:20:56 +0000 (01:20 -0000)]
Send the ebuild die message through eerror and make sure that elog_process() gets called when an ebuild dies. This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen.
svn path=/main/trunk/; revision=7047
Zac Medico [Tue, 26 Jun 2007 23:08:44 +0000 (23:08 -0000)]
Preserve merge order in elog output.
svn path=/main/trunk/; revision=7046
Zac Medico [Tue, 26 Jun 2007 22:38:17 +0000 (22:38 -0000)]
Short circuit the loop as soon as missing hashes are detected.
svn path=/main/trunk/; revision=7044
Zac Medico [Tue, 26 Jun 2007 22:18:57 +0000 (22:18 -0000)]
Short circuit the loop as soon as missing hashes are detected.
svn path=/main/trunk/; revision=7042
Zac Medico [Tue, 26 Jun 2007 22:16:27 +0000 (22:16 -0000)]
Add one more size == 0 check to digestgen().
svn path=/main/trunk/; revision=7041
Zac Medico [Tue, 26 Jun 2007 17:48:49 +0000 (17:48 -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.
svn path=/main/trunk/; revision=7039
Zac Medico [Mon, 25 Jun 2007 19:41:56 +0000 (19:41 -0000)]
For bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.
svn path=/main/trunk/; revision=7034
Zac Medico [Mon, 25 Jun 2007 10:36:59 +0000 (10:36 -0000)]
For bug #142473, add 4 color classes corresponding to combinations of world/merge/nomerge attributes of each package.
svn path=/main/trunk/; revision=7031
Zac Medico [Mon, 25 Jun 2007 09:14:44 +0000 (09:14 -0000)]
Fix typo.
svn path=/main/trunk/; revision=7029
Zac Medico [Mon, 25 Jun 2007 06:21:33 +0000 (06:21 -0000)]
Don't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrecognized protocols like sftp.
svn path=/main/trunk/; revision=7027
Zac Medico [Mon, 25 Jun 2007 04:49:12 +0000 (04:49 -0000)]
Allow SystemExit through as usual.
svn path=/main/trunk/; revision=7025
Zac Medico [Mon, 25 Jun 2007 04:47:35 +0000 (04:47 -0000)]
Fix file_get_lib() so it behaves the same way with sftp as it does with other protocols.
svn path=/main/trunk/; revision=7024