[pve-devel] [PATCH storage/manager/common v4 0/6] fix #4849: allow download of compressed ISOs

Philipp Hufnagl p.hufnagl at proxmox.com
Tue Aug 1 16:45:58 CEST 2023


Changes since v3:
  * generate compression regex from compression list
  * fix logic errors

Changes since v2:
  * move compression code to the download function in common
  * minor code improvements


Changes since v1:
  * Improve code quality as suggested by feedback


Philipp Hufnagl (2):
  fix #4849: download-url: allow download and decompression of
    compressed ISOs
  fix whitespaces

 src/PVE/API2/Storage/Status.pm | 14 +++++++++++++-
 src/PVE/Storage.pm             |  6 ++++++
 src/PVE/Storage/Plugin.pm      | 25 +++++++++++++------------
 3 files changed, 32 insertions(+), 13 deletions(-)

Philipp Hufnagl (2):
  fix #4849: download file from url: add opt parameter for a
    decompression command
  fix whitespaces

 src/PVE/Tools.pm | 61 +++++++++++++++++++++++++++++++-----------------
 1 file changed, 40 insertions(+), 21 deletions(-)

Philipp Hufnagl (2):
  fix #4849: download to storage: automatically dectect and configure
    compression
  fix whitespaces

 PVE/API2/Nodes.pm                           | 37 ++++++++++++++++-----
 www/manager6/Makefile                       |  1 +
 www/manager6/form/DecompressionSelector.js  | 13 ++++++++
 www/manager6/window/DownloadUrlToStorage.js | 21 ++++++++++--
 4 files changed, 61 insertions(+), 11 deletions(-)
 create mode 100644 www/manager6/form/DecompressionSelector.js

-- 
2.39.2






More information about the pve-devel mailing list