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

Git object hashing in libstore #8918

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Commits on Feb 27, 2024

  1. Merge nativeCheckInputs into nativeBuildInputs

    They were getting skipped for the test-against checks.
    Ericson2314 committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    04836c7 View commit details
    Browse the repository at this point in the history
  2. Add Git object hashing to the store layer

    Part of RFC 133
    
    Extracted from our old IPFS branches.
    
    Co-Authored-By: Matthew Bauer <mjbauer95@gmail.com>
    Co-Authored-By: Carlo Nucera <carlo.nucera@protonmail.com>
    Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
    Co-authored-by: Florian Klink <flokli@flokli.de>
    5 people committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    201551c View commit details
    Browse the repository at this point in the history
  3. Avoid creating temporary store object for git over the wire

    Instead, serialize as NAR and send that over, then rehash sever side.
    This is alorithmically simpler, but comes at the cost of a newer
    parameter to `Store::addToStoreFromDump`.
    
    Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
    Ericson2314 and edolstra committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    d4ad1fc View commit details
    Browse the repository at this point in the history