3.3.0
版本发布时间: 2021-02-18 23:28:26
mirage/ocaml-git最新发布版本:3.14.0(2023-09-30 21:01:27)
CHANGES:
-
Fix tests when we push to an empty repository (#462, @dinosaure, @ulugbekna)
-
Fix new smart tests without a global git config (#463, @sternenseemann, @dinosaure)
-
Refactor tests (#464, @ulugbekna, @dinosaure)
-
Refactor
find_common.ml
(#465, @ulugbekna, @dinosaure) -
Some preparation about Git protocol v2 (#466, @ulugbekna, @dinosaure)
-
Add HTTP/HTTPS support on the unikernel example (#467, @dinosaure)
-
Fix bug about push and capabilities (#468, @dinosaure, @hannesm, @ulugbekna)
-
Implement HTTP push and handle username & password in the given
Uri.t
(#469, @dinosaure) -
breaking changes Commit object must have a double LF to separate the header and the body. This format changes hashes of commit and invalid old commits generated by
ocaml-git
. It seems that on the Git side, the format is not fully respected - and it's why Git did not complain about that on our tests for a long time.However,
git fsck
does this check and an HTTP push to GitHub rungit fsck
at the end. To be able to push (or run our unikernel over HTTP/S), we must generate right commits.So, we advise users to make a fake commit with Git (
git commit --allow-empty -m.
) on repositories used byocaml-git
and fetch it withdepth:1
. Otherwise, this new version ofocaml-git
will refute older commits - due to the inherent isomorphism between decoder/encoder inocaml-git
.For Irmin users, this breaking changes does not change anything when
irmin
reformats correctly the message to put the second LF. However, a breaking change exists on the API level when the Git commit (and a Git tag) expects astring option
now (instead of a simple `string).For more details and tests, see #470 (@dinosaure)
1、 git-3.3.0.tbz 236.33KB