-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display the version number of packages flagged with avoid-version/deprecated gray #6358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that there is 2 colors, maybe we should add a note in the manpage for the meaning of colors.
df30e1e
to
6413048
Compare
Per discussion at today's meeting, i've switched the color to gray instead of crossed+yellow to avoid confusion on whether it is possible to install the affected version or not |
6413048
to
be365d8
Compare
rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second commit should mention that the scope is opam show (prefix, in the text, etc.)
…version/deprecated gray
…m show Co-authored-by: R. Boujbel <[email protected]>
e9ea9f7
to
f3b90c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
If it is possible, can you add a picture with the gray version? |
…et with avoid-version See ocaml/opam#6358
Example of the new output with
opam show ocaml-base-compiler
:Fixes #6354, probably the less intrusive solution if the color scheme works for you. Compared to removing them completely as suggested in the ticket, it brings an issue of clarity of meaning between what yellow or red means, although this concern seems pretty minimal to me compared to the other UX concerns brought by a potential addition of
--all
.