-
Notifications
You must be signed in to change notification settings - Fork 157
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
irmin-cli creates broken git repository #2236
Comments
Can you precise the version of |
|
That's indeed unfortunate, I will try to reproduce next week and see what is wrong with |
FIxed by ocaml/opam-repository#23657. |
@dinosaure thanks for the quick fix! We use Thankfully, we haven't heard any issues of this checksum failing in these releases. What is your advice? Will these checksums continue to work with |
As far as, by default, you use Sorry for this inconvenience and this regression. |
Unfortunately, we do depend on Even though they are wrong in |
So, it will work if you use only
This part is done by
It's probably a good way indeed, you should increment the version of your pack file and say that for previous version, you should not calculate/verify the checksum and move then to I don't know what Tezos uses for packages (if they use their OPAM overlay or not) and you should ask them about that due to the |
They do use their own opam repository/overlay. It appears that they update it periodically, but I will give them a heads up to not update checkseum to We have a new release coming up that bumps the version of our on-disk data (of the file we checksum! 🎉), so I think we can use that to handle this properly. An unfortunate situation but perhaps fortunate timing of events and discovery! Thanks again for the quick fix and information to understand the scope of things. |
With 3.6.1 (or current dev version):
I can repoduce the behaviour with the following minimal program, as long as I link with
checkseum.ocaml
instead ofcheckseum.c
:irmin-pack
requires explicitelycheckseum.ocaml
which makeirmin-cli
linked withcheckseum.ocaml
.Is it safe to switch to
checkseum.c
forirmin-pack
untilcheckseum.ocaml
is fixed?The text was updated successfully, but these errors were encountered: