Skip to content
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

Flag every versions of the ocaml package that haven't been released yet with avoid-version #27227

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

kit-ty-kate
Copy link
Member

ocaml/opam#6358 would display more clearly which packages are tagged with avoid-version/deprecated. However in the case of ocaml where we would expect 5.4.0 to be shown in the same way to avoid confusion as to which version is the latest, it is more complicated due to the fact that detecting if such a package needs to be displayed differently would need a request from the solver for each version which seems too costly.

Thus i'm proposing to tag the ocaml packages that are still unreleased or in their pre-release phase with avoid-version and to untag them at the same time as the final release (in this case 5.4.0).

cc @Octachron does that seem ok to you? If so this step would be to be added to the release documentation.

Not to be merged before ocaml/opam#6358 has been discussed and merged.

@Octachron
Copy link
Member

That seems very-reasonable to me, I imagine that we should also flags 5.3.1?

@kit-ty-kate
Copy link
Member Author

I imagine that we should also flags 5.3.1?

I forgot about it but yes indeed

@kit-ty-kate kit-ty-kate force-pushed the ocaml-5.4.0-avoid-version branch from 72e26f0 to 948cb7a Compare January 20, 2025 19:16
@kit-ty-kate kit-ty-kate changed the title Flag ocaml.5.4.0 with avoid-version (see ocaml/opam#6358) Flag every versions of the ocaml package that haven't been released yet with avoid-version Jan 20, 2025
@kit-ty-kate kit-ty-kate marked this pull request as ready for review January 20, 2025 19:17
@kit-ty-kate
Copy link
Member Author

ocaml/opam#6358 has just been merged so this is ready to review. I also took the time to flag previous unreleased versions of ocaml (e.g. 5.0.1, 4.02.4, …)

@mseri
Copy link
Member

mseri commented Jan 21, 2025

Thanks a lot! We need to keep this in mind for future compiler releases

@mseri mseri merged commit 83221ae into ocaml:master Jan 21, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants