Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583164 - Colorize packages in world_sets too when displaying atoms to merge
Summary: Colorize packages in world_sets too when displaying atoms to merge
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: portage-2.3.0
  Show dependency tree
 
Reported: 2016-05-16 10:50 UTC by Constantin Runge
Modified: 2017-01-28 23:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Runge 2016-05-16 10:50:57 UTC
When emerge displays the atoms it will/would merge (for example in `emerge -au @world') it ususally prints the atoms inside of @world bold.
But I have some atoms, which aren't listed in @world but in a world_set instead.

I think the atoms from world_sets should be printed out bold, too, as they are selected when updating/installing/... @world.
Comment 1 Zac Medico gentoo-dev 2016-05-18 01:30:30 UTC
Yeah, that's true.

Also see bug 577720 which is very similar to what your are asking for, but not exactly the same thing (since the implementation for bug 577720 does not involve world_sets at all, though there is often overlap between world_sets and user sets).
Comment 2 Emily Mills 2016-05-24 21:04:55 UTC
FWIW, this behavior would solve my original use case as well.

I think the best course of action would be to revert my patch for bug 577720 and implement the behavior as described here. A lot of the complications from that patch could be eliminated, and extra configuration would not be required.

It would be difficult to keep both, since packages that are in user sets flagged in world_sets could only be colorized one way or the other, which I'm sure would lead to confusion.

The downside is that this is a new behavior that couldn't be changed by configuration, but I agree with all of the original reasoning.

I'm willing to implement this if the maintainers agree.
Comment 3 Zac Medico gentoo-dev 2016-05-24 21:12:34 UTC
(In reply to Adam Mills from comment #2)
> I'm willing to implement this if the maintainers agree.

Yeah, I like this idea. I think it makes more sense, since world_sets is actually what gets pulled into the dependency graph.
Comment 4 Alexander Berntsen (RETIRED) gentoo-dev 2016-05-27 08:35:54 UTC
This is fixed in git: <https://gitweb.gentoo.org/proj/portage.git/commit/?id=40cdc1c3f467ac94d3a966777eb6a0907c269550>
Comment 5 Zac Medico gentoo-dev 2017-01-28 23:31:09 UTC
Released in portage-2.3.0.