Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W41.2025 · 6–12 Octocaml/opam

Fixes

  • opam (merged): opam install --depext-only now returns a non-zero exit code when a package conflict is detected, fixing silent failures in CI scripts. #6516 closes #6488.

  • opam (merged): opam install --deps-only now resolves pin-depends fields on simulated pins, restoring behaviour broken in 2.4. #6611 closes #6610.

  • opam (merged): Repository up-to-date checks now inspect git submodule status, preventing stale submodules from being treated as current. #6153.

Features

  • opam (merged): opam option now allows modifying default-invariant after initialisation, removing the need to recreate a switch to change the compiler constraint. #6730 closes #6724.

  • opam (merged): The OPAMAUTOANSWER environment variable is available for internal use, allowing scripted answers to interactive prompts. #6709.

Compatibility and Releases

  • opam (open PR): Sourcing variables.sh is skipped when OPAM_SWITCH_PREFIX is already set, preventing duplicate PATH/MANPATH entries in subshells and fixing broken environments in VS Code terminals. #6729 targets #4649 and #6633.

  • opam (open PR, WIP): HTTP repositories would be read directly from the downloaded tar.gz instead of being untarred, eliminating the 1+ minute extraction step during opam update and opam init. #6625 targets #5741 and related performance issues.

  • opam (open PR): A new opam repo show <reponame> command would display the URL and rank of a repository, with --all to list across all switches. #6720.