Skip to content

Avoid duplicated archive-mirrors: field in the repo file#247

Draft
kit-ty-kate wants to merge 1 commit intoocaml-opam:masterfrom
kit-ty-kate:deduplicate-archive-mirrors
Draft

Avoid duplicated archive-mirrors: field in the repo file#247
kit-ty-kate wants to merge 1 commit intoocaml-opam:masterfrom
kit-ty-kate:deduplicate-archive-mirrors

Conversation

@kit-ty-kate
Copy link
Copy Markdown
Member

If opam-repository were to add archive-mirrors to its repo file, we would end up with a repo file with:

archive-mirrors: ["cache" "https://opam.ocaml.org/cache"]

which is redundant in case a url is missing from the cache.

To avoid this we can simply remove the previous version and stay with the current archive-mirrors: "cache" added by opam admin cache.

@mseri
Copy link
Copy Markdown
Contributor

mseri commented Sep 16, 2025

Adding a comment here so that the status appears in ocaml/opam-repository#28348

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