[pve-devel] applied: [PATCH manager] ui: allow decompressing ISO compressed with bz2
Fabian Grünbichler
f.gruenbichler at proxmox.com
Mon Nov 11 10:39:34 CET 2024
with Aaron's T-b/R-b
On August 2, 2024 4:37 pm, Maximiliano Sandoval wrote:
> Signed-off-by: Maximiliano Sandoval <m.sandoval at 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 at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
>
More information about the pve-devel
mailing list