[Rpm-maint] [rpm-software-management/rpm] Set v6 default payload compression to w19.zstdio (PR #3483)

Panu Matilainen notifications at github.com
Wed Jan 15 12:11:28 UTC 2025


@pmatilai commented on this pull request.



>  #		"w.ufdio"	uncompressed
 #
 #%_source_payload	w9.gzdio
-#%_binary_payload	w9.gzdio
+%_binary_payload	%[ %_rpmformat >=6 ? "w19.zstdio" : "w9.gzdio" ]

You'd be surprised how much people expect to do just that sort of thing. 
But it's not so much about compatibility, and more about just not being worth it: source tarballs are practically always compressed already and burning extra cpu on a better compression algorithm isn't going to make the damnest of differences. That's why nobody updated it for v4 either, whereas for binaries nobody used gzip for ages.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3483#discussion_r1916487918
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3483/review/2552436601 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250115/4a0f00d7/attachment.htm>


More information about the Rpm-maint mailing list