[ANN] opam 2.6.0~alpha1

Hi everyone,

We are happy to announce the release of opam 2.6.0~beta1.

This version is a beta, we invite users to test it to spot previously unnoticed bugs as we head towards the stable release.

Main changes compared to 2.6.0~alpha1

  • :recycling_symbol: opam init --reinit (command typically called after upgrading from an older opam version) got improved. It now stops asking to retry the command when upgrading from a 2.1 opam root, and regenerates switches metadata to allow tools that use the opam library to load the switch informations without modifying the opam root (#7057, #7066)

  • :houses: When --safe is given, opam used to reset debug-level to 0. This is no longer the case. Consider updating your scripts accordingly. (#7000)

  • :shuffle_tracks_button: opam now disable git gc/maintenance on repositories it maintains. This is because git spawns maintenance tasks in the background which creates/removes/modifies files and unaware opam processes can sometimes break on a race-condition when handling such a git repository (#7031)

:open_book: You can read our blog post for more information about these changes and more, and for even more details you can take a look at the release note or the changelog.

Try it!

The upgrade instructions are unchanged:

For Unix systems

bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.6.0~beta1"

or from PowerShell for Windows systems

Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.6.0~beta1"

Please report any issues to the bug-tracker.

Happy hacking,
<> <> The opam team <> <> :camel: