Github messages for voidlinux
 help / color / mirror / Atom feed
From: johna23-lab <johna23-lab@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: How to select level compression zstd in xbps.-src?
Date: Sun, 11 Sep 2022 23:14:49 +0200	[thread overview]
Message-ID: <20220911211449.f5lktiJiRn7PIOvDxleR43-u72zRCiJUACdPgHSS-RU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39232@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

New comment by johna23-lab on void-packages repository

https://github.com/void-linux/void-packages/issues/39232#issuecomment-1243044412

Comment:
Thanks for the tip i modified the file 
xbps-create/main.c

And changed this section

if (compression == NULL || strcmp(compression, "zstd") == 0) {
		archive_write_add_filter_zstd(ar);
		archive_write_set_options(ar, "compression-level=22");
-
But if i make the package using the "xbps-create" it uses the level 22 and i get much better compression, but if i make the package using the xbps-src and the template i get the "normal" (low) compression.

The idea is that you can choose the level of compression (as a new option) with the xbps-src, e.g:
xbps-src -lc (level compression) 22 pkg template

  parent reply	other threads:[~2022-09-11 21:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 15:58 [ISSUE] " johna23-lab
2022-09-11 16:42 ` classabbyamp
2022-09-11 21:14 ` johna23-lab [this message]
2022-10-03 21:38 ` Chocimier
2023-01-02  1:57 ` github-actions
2023-01-16  1:59 ` [ISSUE] [CLOSED] " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220911211449.f5lktiJiRn7PIOvDxleR43-u72zRCiJUACdPgHSS-RU@z \
    --to=johna23-lab@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).