Skip to content
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

Enlarge internal buffers to be able to parse large tree objects #389

Merged
merged 4 commits into from
Jun 8, 2020

Conversation

dinosaure
Copy link
Member

This PR wants to enlarge internal buffers to be able to decode large tree object as noticed here: mirage/irmin#1001. The PR deletes an old french comment about a possible bug because we used set_len/add_len (see #345).

It's a small fix (and highlight a larger problem) but something better will appear soon (so much teasing).

@dinosaure
Copy link
Member Author

CI error are unrelated, ready to merge.

@talex5
Copy link
Contributor

talex5 commented Jun 8, 2020

You can rebase on top of #390 if you want to see the actual errors from CI.

talex5 and others added 3 commits June 8, 2020 17:02
Otherwise, this masks genuine errors from the CI.
Error was:

    21 | module R = Resolver_mirage.Make_with_stack (Mirage_crypto_rng) (Mclock) (Tcpip_stack_socket)
                                                                         ^^^^^^
    Error: Signature mismatch:
           Modules do not match:
             sig
               val elapsed_ns : unit -> int64
               val period_ns : unit -> int64 option
             end
           is not included in
             Mirage_time.S
           The value `sleep_ns' is required but not provided
           File "src/mirage_time.ml", line 28, characters 2-35:
             Expected declaration
@dinosaure
Copy link
Member Author

cherry-pick #390 which integrate #386 (/cc @hannesm), Ready to merge, CI is incredibly fast 👍.

@dinosaure dinosaure merged commit a89ab14 into mirage:master Jun 8, 2020
@hannesm hannesm mentioned this pull request Jun 16, 2020
dinosaure added a commit to dinosaure/opam-repository that referenced this pull request Jun 30, 2020
CHANGES:

- Move to `encoder.0.5` (mirage/ocaml-git#393, @dinosaure)
- Move to `angstrom.0.14.0` (mirage/ocaml-git#384, @sternenseemann)
- Add missing Time argument to `Resolver_mirage.Make_with_stack` (mirage/ocaml-git#389, @talex5)
- Fix .ocamlformat file (mirage/ocaml-git#389, @talex5)
- Enlarge internal buffer used to parse Git object (mirage/ocaml-git#389, @dinosaure)
- Update README.md (mirage/ocaml-git#383, @dinosaure)
- Use `mirage-crypto` instead `nocrypto` (mirage/ocaml-git#382, @hannesm)
- Add constraint on `dune` package (@kit-ty-kate)
dinosaure added a commit to dinosaure/opam-repository that referenced this pull request Jan 8, 2021
CHANGES:

- Move to `encoder.0.5` (mirage/ocaml-git#393, @dinosaure)
- Move to `angstrom.0.14.0` (mirage/ocaml-git#384, @sternenseemann)
- Add missing Time argument to `Resolver_mirage.Make_with_stack` (mirage/ocaml-git#389, @talex5)
- Fix .ocamlformat file (mirage/ocaml-git#389, @talex5)
- Enlarge internal buffer used to parse Git object (mirage/ocaml-git#389, @dinosaure)
- Update README.md (mirage/ocaml-git#383, @dinosaure)
- Use `mirage-crypto` instead `nocrypto` (mirage/ocaml-git#382, @hannesm)
- Add constraint on `dune` package (@kit-ty-kate)
dinosaure added a commit to dinosaure/opam-repository that referenced this pull request Jan 8, 2021
CHANGES:

- Move to `encoder.0.5` (mirage/ocaml-git#393, @dinosaure)
- Move to `angstrom.0.14.0` (mirage/ocaml-git#384, @sternenseemann)
- Add missing Time argument to `Resolver_mirage.Make_with_stack` (mirage/ocaml-git#389, @talex5)
- Fix .ocamlformat file (mirage/ocaml-git#389, @talex5)
- Enlarge internal buffer used to parse Git object (mirage/ocaml-git#389, @dinosaure)
- Update README.md (mirage/ocaml-git#383, @dinosaure)
- Use `mirage-crypto` instead `nocrypto` (mirage/ocaml-git#382, @hannesm)
- Add constraint on `dune` package (@kit-ty-kate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants