public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox/widget-toolkit/proxmox-backup] add tar.zst support for file download
Date: Tue, 12 Apr 2022 13:04:12 +0200	[thread overview]
Message-ID: <20220412110418.3360746-1-d.csapak@proxmox.com> (raw)

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





             reply	other threads:[~2022-04-12 11:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12 11:04 Dominik Csapak [this message]
2022-04-12 11:04 ` [pbs-devel] [PATCH proxmox 1/2] proxmox-compression: add async tar builder Dominik Csapak
2022-04-13  7:36   ` [pbs-devel] applied-series: " Wolfgang Bumiller
2022-04-12 11:04 ` [pbs-devel] [PATCH proxmox 2/2] proxmox-compression: add streaming zstd encoder Dominik Csapak
2022-04-12 11:04 ` [pbs-devel] [PATCH widget-toolkit 1/1] window/FileBrowser: add optional 'tar.zst' button Dominik Csapak
2022-04-13  8:37   ` [pbs-devel] applied: " Wolfgang Bumiller
2022-04-12 11:04 ` [pbs-devel] [PATCH proxmox-backup 1/3] pbs-client: add 'create_tar' helper function Dominik Csapak
2022-04-13  8:34   ` [pbs-devel] applied-series: " Wolfgang Bumiller
2022-04-12 11:04 ` [pbs-devel] [PATCH proxmox-backup 2/3] api: admin/datastore: add tar support for pxar_file_download Dominik Csapak
2022-04-12 11:04 ` [pbs-devel] [PATCH proxmox-backup 3/3] ui: datastore/Content: enable tar download in ui Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220412110418.3360746-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal