openSUSE / obs-service-tar_scm

An OBS source service: fetches code from any SCM and archives it
GNU General Public License v2.0
31 stars 105 forks source link

Fix Change Tar Archive to use gzip compression #465

Closed arsenalpoll closed 1 year ago

arsenalpoll commented 1 year ago

This commit modifies the Tar class in BaseArchive to output gzip-compressed tar files instead of uncompressed tar files. This change improves the efficiency of the archive process by reducing the size of the output files.

This change is backward compatible, as tar and gzip are standard on most systems and gzip decompression is automatically handled by tar when extracting the archive.

adrianschroeter commented 1 year ago

the compression is used via an extra service atm, so this would break all these setups selecting the compression.