Skip to content
Snippets Groups Projects

DirectoryLoader: Check nar hashes when provided

The lister now provides the "checksums_computation". This is either "standard" (for most cases as in bare checksums on the object retrieved) or "nar" for some edge case. In that case the computation is delegated to the "nix-store" command (which should be present in the system running the loading).

This adapts the directory loader to deal with this case.

No work has been done for the ContentLoader yet besides failing the case if a call happens with such case.

Related to T3781 Depends on swh/infra/ci-cd/swh-jenkins-dockerfiles!49 (closed)


Migrated from D8618 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading