If you do a Git_kv.pull
from an existing git-kv
, we must take into account diffs between your actual snapshot and what we have on opam-repository
. So we ask few commits to be able to…
I guess the question I have in mind is whether a git_kv pull from scratch (without an existing git_kv) is bandwidth-wise much more expensive than if we have a repository already.
A `Git_kv.pul…
Note that we don't need to check values into the git archive. The PACK file has a signature (a SHA1) which verify the integrity of the whole Git archive.
yes, basically protect the whole change_and_push
with a mutex will solve all of our issues 😄
Once task A finishes change_and_push, it wakes up task B.
If there's a task C coming along, doing change_and_push, it will set t.change_and_push_waiter to a new task, and wait for the…