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:

  1. Don’t remove git cache objects that may be used [#3831 @AltGr]
  2. Don’t include .gitattributes in index.tar.gz [#3873 @dra27]
  3. Update FAQ uri [#3941 @dra27]
  4. Lock: add warning in case of missing locked file [#3939 @rjbou]
  5. Directory tracking: fix cached entries retrieving with precise tracking [#4038 @hannesm]
  6. Build:
    1. Add sanity checks [#3934 @dra27]
    2. Build man pages using dune [#3902] #dra27]
    3. Add patch and bunzip check for make cold [#4006 @rjbou – fix #3842]
  7. Shell:
    1. fish: add colon for fish manpath [#3886 @rjbou – fix #3878]
  8. Sandbox:
    1. Add dune cache as rw [#4019 @rjbou – fix #4012]
    2. Do not fail if $HOME/.ccache is missing [#3957 @mseri]
  9. 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 ocalmpro.com. Please head to the latter for the comments! If you need more opam in your life, print our cheat sheet!

Leave a Reply

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