Mirroring the opam repository, including source archives
Reynir Björnsson
6490801ce1
- Tar.3.0.0 was released! So we can drop the pin and depend on it directly. - Use digestif in favor of the bygone mirage-crypto hash - Move most of the hashing logic into archive_checksum.ml - When checking the checksum we should check the checksum chosen, too. I believe this was a bug that was hidden due to opam packages always using one of md5, sha256 or sha512 for checksums. |
||
---|---|---|
mirage | ||
LICENSE.md | ||
README.md |
opam-mirror unikernel
This unikernel periodically (at startup, on request, every hour) updates the provided opam-repository and downloads all referenced archives. It acts as an opam-repository including archive mirror. Only archives with appropriate checksums are stored.