diff --git a/swh/core/tarball.py b/swh/core/tarball.py --- a/swh/core/tarball.py +++ b/swh/core/tarball.py @@ -186,6 +186,7 @@ ("tbz2", [".tbz", "tbz2"], _unpack_tar), # FIXME: make this optional depending on the runtime lzip package install ("tar.lz", [".tar.lz"], _unpack_tar), + ("crate", [".crate"], _unpack_tar), ] register_new_archive_formats() diff --git a/swh/core/tests/data/archives/tokei-12.1.2.crate b/swh/core/tests/data/archives/tokei-12.1.2.crate new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@ 0 def test_normalize_permissions(tmp_path):