[Rpm-maint] [rpm-software-management/rpm] Add manual page for File Mode (PR #2215)

Panu Matilainen notifications at github.com
Tue Oct 18 06:29:11 UTC 2022


@pmatilai commented on this pull request.



> +
+The `flags` parameter is optional and contains compressor-specific options,
+most commonly a compression *level* or the *number of threads*.  If an option
+is omitted, the compressor's default value is used.  For the actual supported
+values, consult the given compressor's section below.  For some real-world
+examples, see [Example modes](#example-modes).
+
+#### GZIP flags
+
+These can include a compression level (from 0 to 9) and a strategy (e.g. `h`
+for Huffman-only compression).  See the description of `gzopen()` in
+`/usr/include/zlib.h` for more details.
+
+#### BZIP2 flags
+
+These can include a compression level (from 1 to 9) and `s` (enables "small

Oh okay, 's' is another compressor-specific (small) flag. The real problem with these is that they leak the API of the underlying library through librpmio, which we do not want. So even if we may currently let them pass through unnoticed, I think we should not document these, but only the bits explicitly supported by librpmio.

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

Message ID: <rpm-software-management/rpm/pull/2215/review/1145159961 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221017/33042041/attachment.html>


More information about the Rpm-maint mailing list