Take the mirror into account in url #13

Closed
opened 2024-10-20 20:28:30 +00:00 by hannes · 1 comment
Owner

From the manual (https://opam.ocaml.org/doc/Manual.html#urlfield-mirrors)

mirrors: [ <string> ... ]: an optional list of mirrors. They must use the same protocol as the main URL.

This is inside the url section:

url {
  src: URL
  checksum: ...
  mirrors: ...
}

I guess there are multiple ways to use mirrors -- but maybe the strategy to add these to the things to query would be good enough? Since at some point (when storing) we're uniquifying against the sha256 anyways.

From the manual (https://opam.ocaml.org/doc/Manual.html#urlfield-mirrors) `mirrors: [ <string> ... ]: an optional list of mirrors. They must use the same protocol as the main URL.` This is inside the `url` section: ``` url { src: URL checksum: ... mirrors: ... } ``` I guess there are multiple ways to use mirrors -- but maybe the strategy to add these to the things to query would be good enough? Since at some point (when storing) we're uniquifying against the sha256 anyways.
Author
Owner

done in #24

done in #24
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: robur/opam-mirror#13
No description provided.