]> git.proxmox.com Git - proxmox-backup.git/commit - pbs-client/src/pxar/create.rs
client: pxar: opt encode cli exclude patterns as Prelude
authorChristian Ebner <c.ebner@proxmox.com>
Fri, 22 Mar 2024 14:27:59 +0000 (15:27 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 5 Jun 2024 14:39:41 +0000 (16:39 +0200)
commit126fe1365da369a9d63515a4aa7516af0f793f96
treec0a61fc290390dd7ac0286aa93c9494199200ac6
parent0cbfaf64b574369e0fbefa9c43d89447e5efb3a4
client: pxar: opt encode cli exclude patterns as Prelude

Instead of encoding the pxar cli exclude patterns as regular file
within the root directory of an archive, store this information
directly after the pxar format version entry in the entry of kind
Prelude.

This behavior is however currently exclusive to the archives written
with format version 2 in a split metadata and payload case.

This is a breaking change for the encoding of new cli exclude
parameters. Any new exclude parameter will not be added to an already
present .pxar-cliexclude file, and it will not be created if not
present.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
pbs-client/src/pxar/create.rs