Skip to content
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

Fix the checksums for package ctypes_stubs_js-0.1 #23589

Closed
wants to merge 1 commit into from

Conversation

mjambon
Copy link
Contributor

@mjambon mjambon commented Mar 28, 2023

I haven't checked the package contents. Is there an easy way to do so? I haven't been able to locate the old tarball cached by opam on my machine if there is one.

Update: given that the GitLab website is healthy and serves that tarball, there's no reason to trust it less than usual.

Closes #23587

has most likely been recompressed with new parameters.
@mjambon
Copy link
Contributor Author

mjambon commented Mar 29, 2023

Some CI jobs succeed while others fail to obtain a tarball that matches the new checksum:

OpamSolution.Fetch_fail("https://gitlab.com/nomadic-labs/ctypes_stubs_js/-/archive/0.1/ctypes_stubs_js-0.1.tar.gz (Bad checksum, expected sha256=7c40ffcfda29cb407cb05b7837fe0dc46e18acc8b9a023afb58aa8751ec795e1)")

@raphael-proust
Copy link
Contributor

This checksum inconsistency is due to a bug in gitlab (the content of a <package>-<version>.tar.gz file used to be a directory named <package>.<version>/ but it is now <pacakge>.<commit-hash>/; or something along those lines, I might have mixed up a dot and a dash here and there).

This issue is being resolved by gitlab. They estimate the fix will be deployed today or tomorrow: https://gitlab.com/gitlab-org/gitlab/-/issues/402616

The reason some of the jobs work is probably due to caching: old tarballs are not redownloaded by opam if they are in the cache.

I'm closing this PR because it'd need to be reverted very soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid checksum for package ctypes_stubs_js.0.1
2 participants