[pbs-devel] applied: [PATCH v3 backup stable-2] pbs2to3: add upgrade checker binary

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 28 17:06:58 CEST 2023


Am 28/06/2023 um 13:53 schrieb Christian Ebner:
> Adds the pbs2to3 upgrade checker with some basic checks.
> 
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
> changes since v1:
>  - fix suite variants split by getting rid of regex and use find instead
>    (so that e.g. '*-debug' is parsed correctly)
>  - ignore apt repos which are not enabled or `deb-src`
>  - s/Proxmox VE/Proxmox Backup Server/
>  - cargo clippy fixups + rustfmt
> 
> changes since v2:
>  - fix deb suite mismatch checks for multiple files
>  - use join for flatten available package upgrades list
>  - refactor check_pbs_packages
>  - fix s/pbs/PBS/ in log outputs
>  - inline variables in format strings
>  - use AsRef impl types for log_*
> 
>  Makefile                             |   1 +
>  debian/proxmox-backup-server.install |   2 +
>  src/bin/pbs2to3.rs                   | 598 +++++++++++++++++++++++++++
>  zsh-completions/_pbs2to3             |  13 +
>  4 files changed, 614 insertions(+)
>  create mode 100644 src/bin/pbs2to3.rs
>  create mode 100644 zsh-completions/_pbs2to3
> 
>

applied, much thanks!





More information about the pbs-devel mailing list