HomeSoftware Heritage

nixguix: Improve is_tarball detection pattern

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

nixguix: Improve is_tarball detection pattern

This actually includes all query param values as paths to check. When paths have
extensions, it then pattern matches against tarballs if any. When no extension is
detected, it's doing as before, fallbacks to head query the url to have more information
on the file.

Prior to this commit, this only looked over a hard-coded list of values (for hard-coded
keys: file, f, name, url) detected through docker runs. This way of doing it should
decrease future misdetections (when new unknown "keys" show up in the wild).

Related to T3781

Details

Provenance
ardumontAuthored on Oct 5 2022, 11:52 AM
ardumontPushed on Oct 5 2022, 12:12 PM
Differential Revision
D8626: nixguix: Improve is_tarball detection pattern
Tasks
T3781: Replace the Nixguix loader with a lister
Build Status
Buildable 32110
Build 50274: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.