From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B6BA5CB24 for ; Tue, 12 Apr 2022 13:04:49 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A9458DC2B for ; Tue, 12 Apr 2022 13:04:19 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id E3FDADC09 for ; Tue, 12 Apr 2022 13:04:18 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C0C4F415F2 for ; Tue, 12 Apr 2022 13:04:18 +0200 (CEST) From: Dominik Csapak To: pbs-devel@lists.proxmox.com Date: Tue, 12 Apr 2022 13:04:12 +0200 Message-Id: <20220412110418.3360746-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.140 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [extract.rs, lib.rs, zstd.rs, tar.rs, mod.rs, datastore.rs] Subject: [pbs-devel] [PATCH proxmox/widget-toolkit/proxmox-backup] add tar.zst support for file download X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2022 11:04:49 -0000 this series adds support for downloading .tar.zst files instead of .zip when downloading directories of unencrypted pxar archives PVE support is TBD, but should not be that hard to do. (Only missing part is to add a directory directly for the restore-daemon) we must bump 'proxmox-compression' and depend accordingly proxmox-backup ui patch depends on new widget-toolkit adds a new dependency on 'librust-tar-dev' proxmox: Dominik Csapak (2): proxmox-compression: add async tar builder proxmox-compression: add streaming zstd encoder proxmox-compression/Cargo.toml | 2 + proxmox-compression/src/lib.rs | 2 + proxmox-compression/src/tar.rs | 172 ++++++++++++++++++++++++++++++++ proxmox-compression/src/zstd.rs | 126 +++++++++++++++++++++++ 4 files changed, 302 insertions(+) create mode 100644 proxmox-compression/src/tar.rs create mode 100644 proxmox-compression/src/zstd.rs proxmox-widget-toolkit: Dominik Csapak (1): window/FileBrowser: add optional 'tar.zst' button src/window/FileBrowser.js | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) proxmox-backup: Dominik Csapak (3): pbs-client: add 'create_tar' helper function api: admin/datastore: add tar support for pxar_file_download ui: datastore/Content: enable tar download in ui Cargo.toml | 1 + pbs-client/Cargo.toml | 1 + pbs-client/src/pxar/extract.rs | 211 ++++++++++++++++++++++++++++++++- pbs-client/src/pxar/mod.rs | 2 +- src/api2/admin/datastore.rs | 33 ++++-- www/datastore/Content.js | 1 + 6 files changed, 237 insertions(+), 12 deletions(-) -- 2.30.2