Skip to content
Snippets Groups Projects

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

Approval is optional

Closed by Phabricator Migration userPhabricator Migration user 5 years ago (Dec 12, 2019 3:21pm UTC)

Merge details

  • The changes were not merged into .

Activity

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