all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: [pve-devel] applied: [PATCH manager] ui: allow decompressing ISO compressed with bz2
Date: Mon, 11 Nov 2024 10:39:34 +0100	[thread overview]
Message-ID: <1731317946.ag4h2qszw7.astroid@yuna.none> (raw)
In-Reply-To: <20240802143736.172810-1-m.sandoval@proxmox.com>

with Aaron's T-b/R-b

On August 2, 2024 4:37 pm, Maximiliano Sandoval wrote:
> Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
> ---
> 
> This is a follow-up of the patch:
> 
>     [PATCH storage] storage: add bzip2 support
> 
> which can be found at [1].
> 
> [1] https://lists.proxmox.com/pipermail/pve-devel/2024-August/065030.html
> 
> 
>  www/manager6/window/DownloadUrlToStorage.js | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/www/manager6/window/DownloadUrlToStorage.js b/www/manager6/window/DownloadUrlToStorage.js
> index 5523a152..9cd44d5c 100644
> --- a/www/manager6/window/DownloadUrlToStorage.js
> +++ b/www/manager6/window/DownloadUrlToStorage.js
> @@ -84,7 +84,7 @@ Ext.define('PVE.window.DownloadUrlToStorage', {
>  		    let filename = data.filename || "";
>  		    let compression = '__default__';
>  		    if (view.content === 'iso') {
> -			const matches = filename.match(/^(.+)\.(gz|lzo|zst)$/i);
> +			const matches = filename.match(/^(.+)\.(gz|lzo|zst|bz2)$/i);
>  			if (matches) {
>  			    filename = matches[1];
>  			    compression = matches[2].toLowerCase();
> @@ -228,6 +228,7 @@ Ext.define('PVE.window.DownloadUrlToStorage', {
>  				['lzo', 'LZO'],
>  				['gz', 'GZIP'],
>  				['zst', 'ZSTD'],
> +				['bz2', 'bzip2'],
>  		    ],
>  		    cbind: {
>  			hidden: get => get('content') !== 'iso',
> -- 
> 2.39.2
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


      parent reply	other threads:[~2024-11-11  9:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02 14:37 [pve-devel] " Maximiliano Sandoval
2024-11-07 10:40 ` Aaron Lauterer
2024-11-11  9:39 ` Fabian Grünbichler [this message]

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=1731317946.ag4h2qszw7.astroid@yuna.none \
    --to=f.gruenbichler@proxmox.com \
    --cc=pve-devel@lists.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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal