[pbs-devel] applied: [PATCH v3 proxmox-backup 05/20] proxmox_client_tools: move common key related functions to key_source.rs

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 1 11:54:14 CEST 2021


On 31.03.21 12:21, Stefan Reiter wrote:
> Add a new module containing key-related functions and schemata from all
> over, code moved is not changed as much as possible.
> 
> Requires adapting some 'use' statements across proxmox-backup-client and
> putting the XDG helpers quite cozily into proxmox_client_tools/mod.rs
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> v2:
> * don't move entire key.rs, just what is necessary
> 
>  src/bin/proxmox-backup-client.rs           | 453 +---------------
>  src/bin/proxmox_backup_client/benchmark.rs |   4 +-
>  src/bin/proxmox_backup_client/catalog.rs   |   3 +-
>  src/bin/proxmox_backup_client/key.rs       | 112 +---
>  src/bin/proxmox_backup_client/mod.rs       |  28 -
>  src/bin/proxmox_backup_client/mount.rs     |   4 +-
>  src/bin/proxmox_backup_client/snapshot.rs  |   4 +-
>  src/bin/proxmox_client_tools/key_source.rs | 573 +++++++++++++++++++++
>  src/bin/proxmox_client_tools/mod.rs        |  48 +-
>  9 files changed, 631 insertions(+), 598 deletions(-)
>  create mode 100644 src/bin/proxmox_client_tools/key_source.rs
> 
>

applied, thanks!





More information about the pbs-devel mailing list