rpm-software-management/createrepo_c

[1.0 breaking change] - consolidate compression options

dralley opened this issue · 9 comments

createrepo_c currently has two different switches for compression types, --compress-type and --general-compress-type.

The latter applies to everything, and the former only applies to files that are not "primary", "filelists", and "other". Probably there should be one compression type option which is applied uniformly to all metadata produced by the "createrepo_c" tool. Yum would have choked on this because of the special handling around "comps", but I believe it should no longer be a concern given the other changes proposed?

Possible further suggestions:

More aggressive - remove Bzip2 support, contingent on #338 (comment). It's very rarely used apart from sqlite metadata, and pretty much strictly inferior to other options in both speed and ratios.