[pdm-devel] [PATCH datacenter-manager/proxmox{, -backup} 0/3] move upgrade checks to a common crate under proxmox-rs

Shannon Sterz s.sterz at proxmox.com
Mon Nov 24 11:37:35 CET 2025


Superseded-by: https://lore.proxmox.com/all/20251124103444.117406-2-s.sterz@proxmox.com/

On Wed Sep 17, 2025 at 2:18 PM CEST, Shannon Sterz wrote:
> these three patches move the largely identical upgrade checks between
> pbs and pdm to a common crate in the proxmox repository. the first
> check adds the `proxmox-upgrade-checks` crate there. following are two
> commits adapting the pbs3to4 script to use the new common crate and
> change pdm's dependencies to use the common crate.
>
> i did not adapt pdm2to3 as pbs 2 is eol for over a year now and we may
> want to think about removing pbs2to3 from the master branch outright.
>
> proxmox:
>
> Shannon Sterz (1):
>   upgrade-checks: add upgrade checker crate
>
>  Cargo.toml                                  |   3 +
>  proxmox-upgrade-checks/Cargo.toml           |  21 +
>  proxmox-upgrade-checks/debian/changelog     |   5 +
>  proxmox-upgrade-checks/debian/control       |  45 ++
>  proxmox-upgrade-checks/debian/copyright     |  18 +
>  proxmox-upgrade-checks/debian/debcargo.toml |   7 +
>  proxmox-upgrade-checks/src/lib.rs           | 847 ++++++++++++++++++++
>  7 files changed, 946 insertions(+)
>  create mode 100644 proxmox-upgrade-checks/Cargo.toml
>  create mode 100644 proxmox-upgrade-checks/debian/changelog
>  create mode 100644 proxmox-upgrade-checks/debian/control
>  create mode 100644 proxmox-upgrade-checks/debian/copyright
>  create mode 100644 proxmox-upgrade-checks/debian/debcargo.toml
>  create mode 100644 proxmox-upgrade-checks/src/lib.rs
>
>
> proxmox-backup:
>
> Shannon Sterz (1):
>   pbs3to4: move upgrade check script to use the new common crate
>
>  Cargo.toml         |   3 +
>  src/bin/pbs3to4.rs | 738 ++-------------------------------------------
>  2 files changed, 20 insertions(+), 721 deletions(-)
>
>
> proxmox-datacenter-manager:
>
> Shannon Sterz (1):
>   lib: move proxmox-upgrade-checks into common crate and depend on that
>
>  Cargo.toml                            |   4 +-
>  lib/proxmox-upgrade-checks/Cargo.toml |  19 -
>  lib/proxmox-upgrade-checks/src/lib.rs | 847 --------------------------
>  3 files changed, 2 insertions(+), 868 deletions(-)
>  delete mode 100644 lib/proxmox-upgrade-checks/Cargo.toml
>  delete mode 100644 lib/proxmox-upgrade-checks/src/lib.rs
>
>
> Summary over all repositories:
>   12 files changed, 968 insertions(+), 1589 deletions(-)
>
> --
> Generated by git-murpp 0.8.1





More information about the pdm-devel mailing list