[Rpm-maint] [rpm-software-management/rpm] rpmuncompress: Add support for CAR files (PR #4109)
Panu Matilainen
notifications at github.com
Wed Mar 4 11:17:12 UTC 2026
@pmatilai commented on this pull request.
> @@ -216,6 +216,8 @@ int rpmFileIsCompressed(const char * file, rpmCompressedMagic * compressed)
*compressed = COMPRESSED_LZMA;
} else if (rpmFileHasSuffix(file, ".gem")) {
*compressed = COMPRESSED_GEM;
+ } else if (rpmFileHasSuffix(file, ".car")) {
+ *compressed = COMPRESSED_CAR;
We have to resort to file suffix for .gem because that's just a tar file with a specific suffix, but CAR is its own file format with a known magic, let's check for that instead:
https://ipld.io/specs/transport/car/carv2/#pragma
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4109#pullrequestreview-3888779766
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4109/review/3888779766 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260304/09daa498/attachment.htm>
More information about the Rpm-maint
mailing list