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

TarballDirectoryLoader: Ingest tarball as package loaders do

This is source of discrepancy for origins with type tarball-directory which do
not have the top-level directory. This also matches how the package loader are
currently ingesting artifacts [1]

In terms of data, this will change the visit snapshot.

In terms of ui browsing, this won't change a thing since the webapp already
has heuristic to naturally skip the unique top-level directory.

[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
No related merge requests found
Pipeline #7171 failed
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