Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add opam source #283

Merged
merged 1 commit into from
Dec 15, 2024
Merged

feat: add opam source #283

merged 1 commit into from
Dec 15, 2024

Conversation

dpeukert
Copy link
Contributor

@dpeukert dpeukert commented Dec 14, 2024

This PR adds a new opam source for retrieving package versions from opam repositories, used in the OCaml ecosystem.

Example config and output:

[omigrate]
source = "opam"
pkg = "omigrate"
[I 12-15 00:44:44.786 core:416] omigrate: updated to 0.3.2 url=https://opam.ocaml.org/packages/omigrate/omigrate.0.3.2

Using other repositories than the official one is also supported (but without URLs, as there is no universal URL structure):

[coq-abp]
source = "opam"
pkg = "coq-abp"
repo = "https://coq.inria.fr/opam/released"
[I 12-15 00:46:26.971 core:416] coq-abp: updated to 8.10.0

@dpeukert
Copy link
Contributor Author

dpeukert commented Dec 14, 2024

The test failure is unrelated.

@lilydjwg lilydjwg merged commit d44a50c into lilydjwg:master Dec 15, 2024
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants