From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 3E1881FF183 for ; Mon, 11 Nov 2024 10:40:13 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 38A1F3E76E; Mon, 11 Nov 2024 10:40:10 +0100 (CET) Date: Mon, 11 Nov 2024 10:39:34 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox VE development discussion References: <20240802143736.172810-1-m.sandoval@proxmox.com> In-Reply-To: <20240802143736.172810-1-m.sandoval@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1731317946.ag4h2qszw7.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied: [PATCH manager] ui: allow decompressing ISO compressed with bz2 X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" with Aaron's T-b/R-b On August 2, 2024 4:37 pm, Maximiliano Sandoval wrote: > Signed-off-by: Maximiliano Sandoval > --- > > 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