> Does this mean we would have to have uncompressed packages in the repository?
> It would be pretty painful to lose zstd
> compression for Fedora packages.
I definitely don't want to give the impression that I want to encourage
disabling compression for distribution packages. Every package that goes over a
network connection should still be compressed. Only once downloaded should it
be decompressed and aligned to make it amenable to fast copying. But I don't
think you necessarily always want to do that. If you're downloading an rpm once
to install it once, decompressing it to a separate decompressed rpm file and
then installing it is strictly worse than just decompressing it and installing
it directly in memory. So I don't think we could ever do that by default for
regular distro operation. It's only once an rpm is downloaded once and
installed multiple times (image builds) that decompressing it to a separate
file starts making sense. But decompressing a compressed rpm is a separate
discussion (which I'm also interested in and will open a separate discussion
for later), this one is purely about allowing fast copies out of rpms that were
never compressed.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/4265#discussioncomment-17586393
You are receiving this because you are subscribed to this thread.
Message ID:
<rpm-software-management/rpm/repo-discussions/4265/comments/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint