Different URL with same checksum #21

Closed
opened 2024-11-13 13:17:39 +00:00 by hannes · 2 comments
Owner

There are some URLs in the opam-repository that point to the identical checksum. We should be able to deduplicate the download attempts and avoid unnecessary traffic. Related to #13. Not urgent.

At the moment, we build a map from url to checksums, we should maybe also construct a map from checksum to url, and still check the consistency:

  • for each url, only the identical checksum is allowed
  • for each checksum, we try downloading the first url, if that fails the next, ...
There are some URLs in the opam-repository that point to the identical checksum. We should be able to deduplicate the download attempts and avoid unnecessary traffic. Related to #13. Not urgent. At the moment, we build a map from url to checksums, we should maybe also construct a map from checksum to url, and still check the consistency: - for each url, only the identical checksum is allowed - for each checksum, we try downloading the first url, if that fails the next, ...
Author
Owner

Related to #5 as well.

Related to #5 as well.
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#21
No description provided.