Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58416 - Request for emerge to identify testing packages
Summary: Request for emerge to identify testing packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 68827 (view as bug list)
Depends on:
Blocks: 292462 358927
  Show dependency tree
 
Reported: 2004-07-26 07:54 UTC by Mark Knecht
Modified: 2011-09-21 14:24 UTC (History)
5 users (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 Mark Knecht 2004-07-26 07:54:46 UTC
I floated this idea on the Gentoo Users list and got some good improvements to my original thoughts. Would the developers of emerge consider adding another 'identifier' on the right hand side, just before the print out of the flags being used for the package compile, that shows if we are building a ~x86 (or ~arch possibly) package? Something like this:

Gentoo2 root # emerge -pv screen

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-misc/screen-4.0.2  ~x86  -nethack +pam  820 kB 
                                         ^
=========================================|

I added this by hand just to show the idea. I would find it good if it was in bright yellow. Everyone was in agreement that it should not blink. Other than that there was no consensus about how it should look, but everyone liked the idea.

With the advent of the /etc/portage/package.keywords file it's easy to forget what packages are ~x86. Something like this could help.

I think it should be displayed during any emerge operation (emerge package, emerge -pv package, etc.) but I'll leave it to your judgement what makes the most sense.

Thanks!

Reproducible: Always
Steps to Reproduce:
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-10-09 18:46:05 UTC
I'd aim more at:

Stable:
[ebuild  N     ] app-misc/screen-4.0.2
Testing (yellow):
[ebuild  N    ~] app-misc/screen-4.0.2
Masked (red):
[ebuild  N    !] app-misc/screen-4.0.2
Comment 2 Brian Harring (RETIRED) gentoo-dev 2005-02-28 00:44:12 UTC
Slapping shut... a patch would be useful if you want it now, meantime cleaning up existing emerge code would be preferable...
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 13:21:47 UTC
Reopening for consideration.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 13:58:27 UTC
*** Bug 68827 has been marked as a duplicate of this bug. ***
Comment 5 Zac Medico gentoo-dev 2011-01-29 05:05:10 UTC
In order to implement this well (cleanly and efficiently), it seems like the masking internals will have to be re-factored so that they preserve this sort of info.
Comment 7 Mark Knecht 2011-01-31 02:31:11 UTC
As the OP I had actually forgotten about this suggestion ages ago. However, today I think eix does a fairly good job of the original idea. 

green - stable
brown with ~ - testing
red [M] - masked

Not quite the same as seeing right at emerge time but it's basically always visible to me telling me what's installed.
Comment 8 Zac Medico gentoo-dev 2011-02-02 22:28:39 UTC
This is documented in the emerge.1 man page now:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=91abbdbc96a91fad0e847a763ad0fb1b8437e88a
Comment 9 Zac Medico gentoo-dev 2011-02-05 08:33:09 UTC
This is included in 2.2.0_alpha20, but we'll leave this bug open until it's in an unmasked release.
Comment 10 Mark Knecht 2011-02-05 13:59:04 UTC
Subtle, but very nice!
Comment 11 Dennis Schridde 2011-02-09 10:10:37 UTC
The manpage currently reads:
---
       [ebuild U *] sys-apps/portage-2.2.0_alpha6 [2.1.9.25]
              Portage 2.1.9.25 is installed, but if you run the command, then portage will upgrade to version 2.2.0_alpha6. In this case, --verbose causes the * symbol to  be  displayed,  in
              order to indicate that version 2.2.0_alpha6 is masked by missing keyword. The following symbols are used to indicate various types of masking:


              Symbol   Mask Type
              ──────────────────────────

                #      package.mask
                *      missing keyword
                ~      unstable keyword
---

1) I propose following replacement:
 in order to indicate that version 2.2.0_alpha6 is masked by missing keyword.
by:
 in order to indicate that version 2.2.0_alpha6 was originally masked by missing keyword, but unmasked by the user.

2) I would also reduce the two newlines between the description and the table to just one, otherwise it looks like unrelated when quickly looking over the manpage.

3) Additionally this does not seem to work for ~arch masks on my system. I use ACCEPT_KEYWORDS.
Comment 12 Dennis Schridde 2011-02-09 10:15:38 UTC
(In reply to comment #11)
> 3) Additionally this does not seem to work for ~arch masks on my system. I use
> ACCEPT_KEYWORDS.
Proposed wording for the manpage after discussion in #gentoo-portage:
"If the package was unmasked by ACCEPT_KEYWORDS, no indicator is displayed."
after
"[...] was originally masked by missing keyword, but unmasked by the user."
Comment 13 Zac Medico gentoo-dev 2011-02-14 02:24:08 UTC
(In reply to comment #11/12)
It should be fixed in this commit:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ec113fa7a8b9e8f13c4b4dfd110b10fe9a0c7cfc
Comment 14 Zac Medico gentoo-dev 2011-09-19 04:26:12 UTC
This is fixed in 2.1.9.39 and 2.2.0_alpha23.