Zac Medico [Sat, 14 Jul 2007 23:45:19 +0000 (23:45 -0000)]
Remove unused repo_name code.
svn path=/main/trunk/; revision=7260
Zac Medico [Sat, 14 Jul 2007 23:25:36 +0000 (23:25 -0000)]
Use sys.stdout instead of print to avoid an extra newline.
svn path=/main/trunk/; revision=7259
Zac Medico [Sat, 14 Jul 2007 23:21:37 +0000 (23:21 -0000)]
Encapsulate the repo display code in a class.
svn path=/main/trunk/; revision=7258
Zac Medico [Sat, 14 Jul 2007 22:44:08 +0000 (22:44 -0000)]
Always show PORTDIR with index 0 in the repo display.
svn path=/main/trunk/; revision=7257
Zac Medico [Sat, 14 Jul 2007 22:33:30 +0000 (22:33 -0000)]
Make the repo display work for overlays that don't define repo_name (like it used to).
svn path=/main/trunk/; revision=7256
Zac Medico [Sat, 14 Jul 2007 20:28:08 +0000 (20:28 -0000)]
For bug #185278, make the verbose flag display show masked/forced flag status for binary packages too.
svn path=/main/trunk/; revision=7254
Zac Medico [Sat, 14 Jul 2007 08:05:03 +0000 (08:05 -0000)]
PDEPEND is now installed as soon as possible so that it behaves more like RDEPEND.
svn path=/main/trunk/; revision=7251
Zac Medico [Sat, 14 Jul 2007 04:10:19 +0000 (04:10 -0000)]
Fix it so that the 'repository could not be determined' message is shown when appropriate (issue with variable scope).
svn path=/main/trunk/; revision=7250
Zac Medico [Sat, 14 Jul 2007 03:36:17 +0000 (03:36 -0000)]
Misc fixes for verbose repo output:
- Support binary packages by using the 'repository' metadata that's stored in the package.
- Support PORTAGE_CONFIGROOT, showing repos from both configs if necessary.
- Dynamic allocation of repo indexes so only relevant repos are shown.
svn path=/main/trunk/; revision=7249
Zac Medico [Fri, 13 Jul 2007 23:37:09 +0000 (23:37 -0000)]
Save the repo name along with the other metadata inside dyn_compile() so that it's saved inside binary packages for when they are finally merged.
svn path=/main/trunk/; revision=7247
Zac Medico [Fri, 13 Jul 2007 19:40:30 +0000 (19:40 -0000)]
Use os.path.realpath(portdir) for comparison of repo paths. (branchs/prefix r7245)
svn path=/main/trunk/; revision=7246
Zac Medico [Thu, 12 Jul 2007 09:12:36 +0000 (09:12 -0000)]
Add "reset" to the list of attributes.
svn path=/main/trunk/; revision=7242
Zac Medico [Thu, 12 Jul 2007 04:50:13 +0000 (04:50 -0000)]
Fix the case where the currently installed package is from a repo that is no longer in the overlay (oldrepo is None rather than an empty string).
svn path=/main/trunk/; revision=7241
Zac Medico [Thu, 12 Jul 2007 00:22:53 +0000 (00:22 -0000)]
Make depgraph._reinstall_for_flags() always return all revelant flags.
svn path=/main/trunk/; revision=7239
Zac Medico [Thu, 12 Jul 2007 00:07:17 +0000 (00:07 -0000)]
For bug #184983, prevent USE_EXPAND_HIDDEN flags from being hidden if they are the only thing that triggered reinstallation.
svn path=/main/trunk/; revision=7237
Zac Medico [Wed, 11 Jul 2007 04:54:03 +0000 (04:54 -0000)]
Use set.discard() instead of remove() to avoid a potential KeyError.
svn path=/main/trunk/; revision=7230
Zac Medico [Wed, 11 Jul 2007 04:18:16 +0000 (04:18 -0000)]
Fix typo.
svn path=/main/trunk/; revision=7228
Zac Medico [Wed, 11 Jul 2007 02:53:51 +0000 (02:53 -0000)]
Fix another case similar to bug #184806 that can occur with --onlydeps.
svn path=/main/trunk/; revision=7226
Zac Medico [Wed, 11 Jul 2007 01:16:36 +0000 (01:16 -0000)]
Fix typo.
svn path=/main/trunk/; revision=7224
Zac Medico [Wed, 11 Jul 2007 01:08:39 +0000 (01:08 -0000)]
For bug #184687, skip the huge --depclean warning when --quiet mode is enabled.
svn path=/main/trunk/; revision=7222
Zac Medico [Wed, 11 Jul 2007 00:33:04 +0000 (00:33 -0000)]
For bug #184679, handle ENOTDIR by finding the non-directory parent and testing that for collision instead.
svn path=/main/trunk/; revision=7220
Zac Medico [Tue, 10 Jul 2007 23:08:40 +0000 (23:08 -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.
svn path=/main/trunk/; revision=7218
Zac Medico [Tue, 10 Jul 2007 18:20:58 +0000 (18:20 -0000)]
For bug #184604, make env-update write $ in front of quoted values when appropriate.
svn path=/main/trunk/; revision=7216
Zac Medico [Tue, 10 Jul 2007 16:53:51 +0000 (16:53 -0000)]
For bug #184806, account for the fact the metadata is not cached for slot_collision_nodes.
svn path=/main/trunk/; revision=7214
Zac Medico [Mon, 9 Jul 2007 19:28:45 +0000 (19:28 -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.
svn path=/main/trunk/; revision=7212
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