HomeSoftware Heritage

api/private/read: use shutil.make_archive directly to generate the zip file

Description

api/private/read: use shutil.make_archive directly to generate the zip file

this code was the only user for the swh.core.tarball.compress function. Doing
so allows to reduce a bit the complexity and coupligin in the code. It will also
allow to get rid of the swh.core.tarball.compress function.

Details

Provenance
douarddaAuthored on Jan 8 2020, 1:17 PM
douarddaPushed on Jan 8 2020, 3:48 PM
Differential Revision
D2506: api/private/read: use shutil.make_archive directly to generate the zip file
Parents
rDDEP5e686848e353: Rename deposit/client/__init__.py as deposit/client.py
Branches
Unknown
Tags
Unknown
Build Status
Buildable 10007
Build 14805: test-and-buildJenkins