ocaml / opam-repository

Main public package repository for opam, the source package manager of OCaml.
https://opam.ocaml.org
Creative Commons Zero v1.0 Universal
517 stars 1.14k forks source link

Publish git tags #23595

Open cuihtlauac opened 1 year ago

cuihtlauac commented 1 year ago

It would be nice to have tags on some commits. For instance:

That would allow having some meaning when referring to commits for pinned opam repositories. We would have:

git+https://github.com/ocaml/opam-repository#ocaml.4.14.1

instead of:

git+https://github.com/ocaml/opam-repository#0abdb2a18cf7d83f3db34b17a0502d23e1e2840f
avsm commented 1 year ago

It's not clear to me what the ocaml.4.14.1 tag would mean. Do you need this for the first commit in which an ocaml.4.14.1 package was introduced into the repository?

cuihtlauac commented 1 year ago

Yes, that's exactly the point