-
Notifications
You must be signed in to change notification settings - Fork 368
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
Archives checksums are not checked along with their corresponding urls #3504
Comments
I don't fully understand - in your example the two checksums are equal, and that means that both archives should be equal as well!? |
no the two archives have distinct contents. One does really have the right checksum and the other does not and that's the problem |
As opam cache archives using the checksum, when package |
Option |
Let's say you have a package
A
with the followingurl
section:and a package
B
with the followingurl
section:If the archive of
A
is already present in the archive cache then if you try to install packageB
the archive from package A will be extracted instead and the build might fail (or worst: succeed and then install the wrong thing).Tested with opam 2.0.0/rc4/final
The text was updated successfully, but these errors were encountered: