This diskuv-opam-repository
contains supplemental OCaml package and compiler
metadata for the DKML distribution, and needs to be added explicitly to most
Opam installations.
The main opam-repository
is used by the default installation of opam.
Unlike the main opam-repository
, diskuv-opam-repository
is designed to
be explicitly versioned.
When you create a switch use the --repos
option as follows:
opam switch create SWITCHNAME --repos 'default,diskuv-2.1.3=git+https://github.com/diskuv/diskuv-opam-repository.git#2.1.3' 4.14.0
You can also add this repository to the current Opam switch with:
opam repository add diskuv-2.1.3 --rank 1 'git+https://github.com/diskuv/diskuv-opam-repository.git#2.1.3'
The current version is 2.1.3
, and if it is a prerelease it will have the
format MAJOR.MINOR.PATCH-PRERELEASE
. Use a prerelease only if you have been
given special instructions to do so.
Most changes belong in the main opam-repository.
If there is a good reason to place the changes in this repository, the
main opam-repository CONTRIBUTING.md
document has general guidelines on how to contribute that apply equally to
the diskuv-opam-repository
.
The command you'll use to submit a PR is:
opam publish --repo diskuv/diskuv-opam-repository --target-branch main