Skip to content

opam show ocaml should not show unreleased versions #6354

@kit-ty-kate

Description

@kit-ty-kate

Similarly to #6098, it is surprising for users to see opam show ocaml display 5.4.0 (unreleased at the time of writing and only available via the ocaml-variants.5.4.0+trunk package which is tagged with avoid-version) as the latest available version (all-versions field).

To remedy that, i propose to hide unavailable (currently displayed red and crossed, if the terminal allows it) as well as versions only available using avoid-version/deprecated dependencies by default from the all-versions field unless --all is given.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions