[pbs-devel] [PATCH stable-2 pxar proxmox-backup 0/2] backport pxar format

Christian Ebner c.ebner at proxmox.com
Wed May 29 17:57:27 CEST 2024


This patches backport the format version entry present in pxar archives
to start with format version 2 and allows to early bail on archives
when an incompatible format version is detected.

pxar:

Christian Ebner (1):
  format/decoder/accessor: backport pxar entry type `Version`

 examples/mk-format-hashes.rs |  5 +++++
 src/accessor/mod.rs          | 12 ++++++++++++
 src/decoder/mod.rs           | 29 ++++++++++++++++++++++++++++-
 src/format/mod.rs            | 21 +++++++++++++++++++++
 src/lib.rs                   |  3 +++
 tests/simple/fs.rs           |  1 +
 6 files changed, 70 insertions(+), 1 deletion(-)

proxmox-backup:

Christian Ebner (1):
  client: pxar: bail on incompatible format versions

 pbs-client/src/catalog_shell.rs | 2 +-
 pbs-client/src/pxar/extract.rs  | 3 +++
 pbs-client/src/pxar/tools.rs    | 7 ++++---
 3 files changed, 8 insertions(+), 4 deletions(-)

-- 
2.30.2





More information about the pbs-devel mailing list