opam 2.0.6 release

We are pleased to announce the minor release of opam 2.0.6.

This new version contains some small backported fixes and build update:

  • Don’t remove git cache objects that may be used [#3831 @AltGr]
  • Don’t include .gitattributes in index.tar.gz [#3873 @dra27]
  • Update FAQ uri [#3941 @dra27]
  • Lock: add warning in case of missing locked file [#3939 @rjbou]
  • Directory tracking: fix cached entries retrieving with precise tracking [#4038 @hannesm]
  • Build:
  • Shell:
  • Sandbox:
  • opam-devel file: avoid copying extraneous files in opam-devel example [#3999 @maroneze]

As sandbox scripts have been updated, don’t forget to run opam init --reinit -ni to update yours.

Note: To homogenise macOS name on system detection, we decided to keep macos, and convert darwin to macos in opam. For the moment, to not break jobs & CIs, we keep uploading darwin & macos binaries, but from the 2.1.0 release, only macos ones will be kept.


Installation instructions (unchanged):

  1. From binaries: run
    sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)

    or download manually from the Github “Releases” page to your PATH. In this case, don’t forget to run opam init --reinit -ni to enable sandboxing if you had version 2.0.0~rc manually installed or to update you sandbox script.

  2. From source, using opam:
    opam update; opam install opam-devel

    (then copy the opam binary to your PATH as explained, and don’t forget to run opam init --reinit -ni to enable sandboxing if you had version 2.0.0~rc manually installed or to update you sandbox script)

  3. From source, manually: see the instructions in the README.

We hope you enjoy this new minor version, and remain open to bug reports and suggestions.

NOTE: this article is cross-posted on opam.ocaml.org and ocamlpro.com. Please head to the latter for the comments!

Leave a Reply

Your email address will not be published. Required fields are marked *