From 9d3df792e1acab4cec800336d2df8d341b1de217 Mon Sep 17 00:00:00 2001 From: ArthurW Date: Fri, 30 Aug 2024 14:13:40 +0200 Subject: [PATCH 1/2] irmin-git: fix sync example, initialize mirage-crypto-rng --- examples/dune | 1 + examples/sync.ml | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/dune b/examples/dune index 1bc148dba0..b9eadb00c9 100644 --- a/examples/dune +++ b/examples/dune @@ -20,6 +20,7 @@ irmin-graphql.unix irmin-pack.unix irmin-watcher + mirage-crypto-rng.unix websocket-lwt-unix conduit-lwt-unix lwt diff --git a/examples/sync.ml b/examples/sync.ml index 4f206b02cc..ac4f2bfaff 100644 --- a/examples/sync.ml +++ b/examples/sync.ml @@ -16,6 +16,7 @@ open Lwt.Syntax +let () = Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna) let info = Irmin_git_unix.info let path = From d55d8a5afda3e9de0f1c64d629afed8f2ed4bd64 Mon Sep 17 00:00:00 2001 From: ArthurW Date: Fri, 6 Sep 2024 16:55:58 +0200 Subject: [PATCH 2/2] Update CHANGES --- CHANGES.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index daa2ab9ab5..47bee9cd6d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,9 +5,12 @@ ### Fixed - **irmin-client** - - Fix a fd lead when using `clone` (#2322, @samoht) + - Fix a fd leak when using `clone` (#2322, @samoht) +- **irmin-git** + - Fix git sync example (#2327, @art-w) - **irmin** - Fix CI, update dependencies (#2321, @smorimoto) + - Update documentation (#2323, #2324, #2325, @christinerose) ### Removed