-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data divergence for opam.ocaml.org index.tar.gz #36
Comments
From the discuss post https://discuss.ocaml.org/t/migration-opam-ocaml-org-moving-providers-this-week/11606 I followed the link to https://deploy.ci.ocaml.org/?repo=ocaml-opam/opam2web& and there's a red box "pull": (from https://deploy.ci.ocaml.org/job/2023-03-24/002845-docker-pull-82f522)
Looks like a permission issue. |
@hannesm |
@mtelvers thanks a lot for quickly fixing this issue. |
Thanks @hannesm! The divergence is very bad, indeed. Does the correct generated hash of the index.tar.gz match your own Mirage-based opam archive server, or is that expected to be different? |
The root cause was that Scaleway recreated |
@avsm thanks for raising the question, the short answer is no - the hashes do not match. The longer story is first: is a reproducible tarball a win? I think it is debatable, but it won't hurt if it's not much effort. Starting with the contents differs. Opam uses a list of items, namely The next step is "reproducible tarball generation" (gladly the reproducible builds project wrote an article about that: https://reproducible-builds.org/docs/archives/). First of all, the question is which tar file format should be used. I suspect that Then there are three things:
This could be integrated into opam. The second point, to filter files only and not add directory entries to the tarball will make the tarball a bit more lighweight. On the https://opam.robur.coop side we will work on providing reproducible tarballs - and if the opam.ocaml.org team finds this important, we\re happy to discuss steps towards that goal. |
Dear Madam or Sir,
I'm hapoy that after years of a single service running https://opam.ocaml.org, now it is deployed to multiple services (using DNS for "load balancing).
Unfortunately, I've to admit that the provided index.tar.gz are diverging -- the sha256 of c9e5011660bc1b77cc314d97dbca1eed39aa8252a2aaea2cb46931db5905dace is what I get from 51.158.232.133; the sha256 bd8a07db6c14abfb049caef6b120a92da30ff7c6ad031b53a5198c91b8f9d77d is what I receive from 151.115.76.159
Would it be feasible to get a synchronized deployment (and monitoring thereof)? The index.tar.gz from 151.115.76.159 looks very out of date :(
According to the contained
repo
file, it is 4ac28b10 -- which refers to an opam-repository commit from 3 days ago.//cc @mtelvers whom I believe is taking care of this as well (please correct me if I'm wrong) /cc @avsm @dra27
The text was updated successfully, but these errors were encountered: