From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 884641FF0B2 for ; Sun, 25 Oct 2026 15:27:55 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 067AB21320; Sun, 25 Oct 2026 15:27:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=romanondracek.cz; s=dkim2019; t=1792938453; bh=bDNo3n+1PDfYdqf7H4Qlvz/zTVjhurgUNCMCxylhXvc=; h=From:To:Cc:Subject:Date:From; b=HZqd+uCLxoxa10bmvGR03hvtuynV0Nkfl6qYRf7KUh2mXLUhtvVFdiv2q96gLn3XC VRBK5o8ZLd9WuPIUkpZGqu2zK5+O/0vP3rNmBNf2eMYqCxGd0UxnEiknxYV3XP5ZSZ /Yq5SGV/9GewHtCeV+rnhkmD6fsVNPJ81MeZuboxscYhvMklrDNinGKvtJ5fSmdZgC KVHc+80O1Zq7JkduDeW6Z41UAJlFOA1HedlP74OLqoAc/WtVzY7GUNotpVDzqLCawS QgIeRL78JqMY2TIp01F7aiblb0U1ECtIqY0qvyzNFjiIoCJZuLMKG7N7j0dhDGt75Z iJn+rOcew5Mng== From: =?UTF-8?q?Roman=20Ondr=C3=A1=C4=8Dek?= To: pve-devel@lists.proxmox.com Subject: [PATCH storage/manager v3 0/2] add xz support for ISO images Date: Sun, 25 Oct 2026 15:27:18 +0100 Message-ID: <20261025142720.1784119-1-mail@romanondracek.cz> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on vps.romanondracek.cz X-SPAM-LEVEL: Spam detection results: 0 DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: GNIAVBI6TIGZ2YMJO5N3XBDGSDREYLYS X-Message-ID-Hash: GNIAVBI6TIGZ2YMJO5N3XBDGSDREYLYS X-MailFrom: mail@romanondracek.cz X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: =?UTF-8?q?Roman=20Ondr=C3=A1=C4=8Dek?= X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Some distributions only provide their ISO images compressed with xz, for example FreeBSD [1]. This series adds xz as a known compression format to the storage library and offers it in the "Download from URL" dialog, so that such images can be downloaded and decompressed directly. The manager patch depends on the storage patch. Changes since v2: * rebase both patches onto current master * storage: adapt to the simplified decompressor map shared by all archive formats, terminating the decompressor options with `--` * send storage and manager patches together as one series v2 (storage): https://lore.proxmox.com/pve-devel/20260308175536.612599-1-mail@romanondracek.cz/ v1 (manager): https://lore.proxmox.com/pve-devel/20260308175814.639420-1-mail@romanondracek.cz/ [1] https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/15.0/ pve-storage: Roman Ondráček (1): add xz to known compression formats debian/control | 1 + src/PVE/Storage.pm | 1 + src/PVE/Storage/Plugin.pm | 2 +- src/test/archive_info_test.pm | 5 +++-- src/test/list_volumes_test.pm | 11 ++++++++++- src/test/parse_volname_test.pm | 8 ++++---- src/test/path_to_volume_id_test.pm | 12 +++++++----- 7 files changed, 27 insertions(+), 13 deletions(-) pve-manager: Roman Ondráček (1): ui: download from URL: allow decompressing xz compressed ISO images www/manager6/window/DownloadUrlToStorage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --