Staging instance, all changes can be removed at any time

Skip to content

tarball: Add support for tar.Z, tar.x, tar.lz files

This will allow to deal with more tarballs (gnu, cran, nix, guix, etc...).

Implementation wise, this uses the shutil high-level standard python library.

Feel free to propose a better way of doing this, I did not see any.

Note: I expected the ci build to fail. One test needs the "optional" lzip dependency installed. It did not but... I don't know how to idiomatically make this setup optional (depending on the runtime's current setup). That is without hard-coding check on /usr/bin/lzip for example, etc... And i'd rather we do that so any hint is welcome ;)

Related to swh-loader-core#2110 (closed)

Test Plan

tox


Migrated from D2371 (view on Phabricator)

Merge request reports

Loading