Mirroring the opam repository, including source archives
Find a file
Hannes Mehnert 1e5d412d2d Reserve an area for dumping the Serve.t -- basically the tarball and last_modified date
After each tarball creation to dump the index

Also, revise startup:
- read index, if successful, start HTTP server
  - schedule an initialization of the git_kv later (and potential dump)
  - schedule disk check later
- if not successful
  - initialize git_kv (may need to clone opam repository)
  - potentially schedule dump
  - schedule disk check
2024-11-21 14:17:02 +01:00
mirage Reserve an area for dumping the Serve.t -- basically the tarball and last_modified date 2024-11-21 14:17:02 +01:00
LICENSE.md initial commit 2022-08-25 14:57:03 +02:00
README.md add --verify to force verification of the on-disk data 2022-09-26 21:49:47 +02:00

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.