[Rpm-maint] [rpm-software-management/rpm] rpmuncompress: Add support for CAR files (PR #4109)

Davide Beatrici notifications at github.com
Wed Mar 4 11:27:37 UTC 2026


@davidebeatrici 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;

Unfortunately only v2 has a magic, v1 doesn't.

See my merge request in the `shared-mime-info` project: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/382

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

Message ID: <rpm-software-management/rpm/pull/4109/review/3888831556 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260304/9ef1a94e/attachment.htm>


More information about the Rpm-maint mailing list