From: Ansgar Burchardt Date: Sun, 27 Oct 2013 15:28:11 +0000 (+0100) Subject: daklib/filewriter.py: change default compression to gzip and xz X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=73eb89e1481fc9da535b732240fcc726440e66be daklib/filewriter.py: change default compression to gzip and xz Change the default compression for Packages and Sources indices to gzip and xz (from gzip and bzip2). This does not affect existing suites with indices_compression set in the database. --- diff --git a/daklib/filewriter.py b/daklib/filewriter.py index 2f080e68..2015f14f 100644 --- a/daklib/filewriter.py +++ b/daklib/filewriter.py @@ -125,7 +125,7 @@ class PackagesFileWriter(BaseFileWriter): are strings. Output files are gzip compressed only. ''' flags = { - 'compression': ['gzip', 'bzip2'], + 'compression': ['gzip', 'xz'], } flags.update(keywords) if flags['debtype'] == 'deb': @@ -141,7 +141,7 @@ class SourcesFileWriter(BaseFileWriter): files are gzip compressed only. ''' flags = { - 'compression': ['gzip', 'bzip2'], + 'compression': ['gzip', 'xz'], } flags.update(keywords) template = "%(archive)s/dists/%(suite)s/%(component)s/source/Sources"