Skip to content

Support opam 2.6 and default to the HTTP repository - #1132

Merged
smorimoto merged 1 commit into
masterfrom
support-opam-2.6
Sep 17, 2026
Merged

smorimoto merged 1 commit into
masterfrom
support-opam-2.6

Conversation

@smorimoto

Copy link
Copy Markdown
Member

The stable version constraint currently excludes opam 2.6.0 even though it has been released. Raise the upper bound to <2.7.0 so ordinary runs can select stable 2.6 releases, and regenerate the distributed bundle.

Change the default repository to https://opam.ocaml.org and update the README. This enables opam 2.6's archive storage optimisation for HTTP repositories; the previous Git default does not benefit from it. The existing cache key includes both the opam version and repository URLs, so this change selects a separate cache entry.

Validation:

  • Formatting, lint, type checking and knip passed.
  • Rebuilt all bundles and confirmed the working tree remained clean.
  • Confirmed release selection chooses 2.6.0 and that the main Linux, macOS and Windows binaries have signature assets.
  • Used signature-verified official binaries on macOS with isolated roots to check HTTP archive storage, repository cache regeneration, migration from 2.5.2, local Git pinning, package installation and the opam tree JSON schema.

Cross-platform integration coverage will come from the existing CI workflow. Setup-time improvements have not been benchmarked.

@smorimoto smorimoto added the enhancement New feature or request label Sep 17, 2026
@smorimoto
smorimoto merged commit 692cf40 into master Sep 17, 2026
19 checks passed
@smorimoto
smorimoto deleted the support-opam-2.6 branch September 17, 2026 14:54
@smorimoto smorimoto mentioned this pull request Sep 17, 2026
@smorimoto smorimoto linked an issue Sep 17, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opam update fails on macos

1 participant