From: Christian Ebner <c.ebner@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
Stoiko Ivanov <s.ivanov@proxmox.com>,
Maximiliano Sandoval <m.sandoval@proxmox.com>
Subject: Re: [pve-devel] [PATCH storage] storage: add bzip2 support
Date: Mon, 5 Aug 2024 08:58:22 +0200 [thread overview]
Message-ID: <84c1078a-1a68-445e-9073-9954abd42ba8@proxmox.com> (raw)
In-Reply-To: <20240802184127.05d03300@rosa.proxmox.com>
On 8/2/24 18:41, Stoiko Ivanov wrote:
>>
>> [2] https://opnsense.org/download/
>>
>> src/PVE/Storage.pm | 3 +++
>> src/PVE/Storage/Plugin.pm | 2 +-
>> src/test/archive_info_test.pm | 6 ++++--
>> src/test/list_volumes_test.pm | 11 ++++++++++-
>> src/test/parse_volname_test.pm | 4 ++--
>> src/test/path_to_volume_id_test.pm | 13 ++++++++-----
>> 6 files changed, 28 insertions(+), 11 deletions(-)
>>
>> diff --git a/src/PVE/Storage.pm b/src/PVE/Storage.pm
>> index 57b2038..0caac71 100755
>> --- a/src/PVE/Storage.pm
>> +++ b/src/PVE/Storage.pm
>> @@ -1550,16 +1550,19 @@ sub decompressor_info {
>> gz => ['tar', '-z'],
>> lzo => ['tar', '--lzop'],
>> zst => ['tar', '--zstd'],
>> + bz2 => ['tar', '--bzip2'],
>> },
>> vma => {
>> gz => ['zcat'],
>> lzo => ['lzop', '-d', '-c'],
>> zst => ['zstd', '-q', '-d', '-c'],
>> + bz2 => ['bzcat', '-q'],
> ... but add it for tar and vma here?
> (haven't tried if adding it only for one of the formats works explicitly
> though)
>
Same as Stoiko, I was a bit surprised to finding this hunk here and the
others related to vma archives further below as well, while looking at
your patch.
I suggest to add a bit more description to the commit message and
additional context to the commit title as well.
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2024-08-05 6:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-02 14:34 Maximiliano Sandoval
2024-08-02 16:41 ` Stoiko Ivanov
2024-08-05 6:58 ` Christian Ebner [this message]
2024-08-06 12:40 ` Maximiliano Sandoval
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=84c1078a-1a68-445e-9073-9954abd42ba8@proxmox.com \
--to=c.ebner@proxmox.com \
--cc=m.sandoval@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
--cc=s.ivanov@proxmox.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.