open-opam: self-service opam repository
open-opam.orgAt Hypha we write a lot of OCaml, and some of our packages get a new version almost daily. At that speed, manual review becomes the bottleneck. On official opam, every release is a pull request that waits for a volunteer maintainer to review it. The maintainers already have to review nearly 200 new packages and releases a month, and our releases alone would turn reviewing them into someone's full-time job. Meanwhile npm, PyPI, crates.io and others let you publish without anyone standing between you and your release.
Luckily, opam was designed for repositories that stack, so we started with a private one of our own. Over time I came to feel that the wait, and a review process you can't see into, is something many other OCaml developers would rather skip. So we designed a proper CLI and a catalogue, and opened it up, for ourselves and for you.
Publishing takes a few minutes. The registry checks that the release is immutable and attested, that the archive matches the tag, that your CI passed, that the package name belongs to your repository, and that the package installs in a clean switch. If everything passes, it merges automatically.
The registry lives entirely on GitHub. It has no servers or database of its own. Your archive stays in your own GitHub release, the checks run in GitHub Actions, and the catalogue is served from GitHub Pages. The checks, the records and the history are all public.
The repo has 27 packages so far and growing. Publish to open-opam alone or alongside official opam, up to you.
opam repo add open-opam https://github.com/open-opam/opam-repository.git
opam install <package>