Skip to content
Snippets Groups Projects
Verified Commit 590db4b1 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

TarballDirectoryLoader: Adapt tarball ingestions

This roughly matches how the tarball loaders do ingest the tarball. They
ingest the top-level directory [1]. As nixpkgs computes their hashes from the
first directory though, we also provide that directory so they can match their
extid accordingly.

In terms of data, this will change the visit snapshot and the extid
mappings. As a result, the core loaders (NodeLoader, ...) have now an
extid_version bumped to 1 (it was 0 by default).

[1] https://gitlab.softwareheritage.org/swh/devel/swh-loader-core/-/blob/master/swh/loader/package/loader.py?ref_type=heads#L829-837

Refs. swh/infra/sysadm-environment#5222
parent 681305a2
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment