[pdm-devel] [PATCH datacenter-manager/proxmox{, -backup} v2 0/4] move upgrade checks to a common crate under proxmox-rs
Shannon Sterz
s.sterz at proxmox.com
Mon Nov 24 11:34:41 CET 2025
these patches move the largely identical upgrade checks between pbs and
pdm to a common crate in the proxmox repository. the crate there was
already applied, so this is a follow-up actually changing the
proxmox-backup and proxmox-datacenter-manager to use it and clean up
duplicate code.
Changelog
---------
changes since v1:
- the common crate parts of this series were already applied by Thomas
Lamprecht, thanks!
- rebased on current master
- added a patch adapting the proxmox-upgrade-checks crate to
`old_version` being optional now in proxmox-apt-api-types
- added a patch removing pbs2to3 from proxmox-backup as it is now unused
proxmox:
Shannon Sterz (1):
upgrade-checks: fix meta package version check
proxmox-upgrade-checks/src/lib.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
proxmox-backup:
Shannon Sterz (2):
pbs3to4: move pbs3to4 to common proxmox-upgrade-checks crate
pbs2to3: remove now unused script
Cargo.toml | 3 +
src/bin/pbs2to3.rs | 672 -----------------------------------------
src/bin/pbs3to4.rs | 737 ++-------------------------------------------
3 files changed, 20 insertions(+), 1392 deletions(-)
delete mode 100644 src/bin/pbs2to3.rs
proxmox-datacenter-manager:
Shannon Sterz (1):
upgrade-checks: use common proxmox-upgrade-checks crate
Cargo.toml | 4 +-
debian/control | 1 +
lib/proxmox-upgrade-checks/Cargo.toml | 19 -
lib/proxmox-upgrade-checks/src/lib.rs | 847 --------------------------
4 files changed, 3 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:
8 files changed, 25 insertions(+), 2262 deletions(-)
--
Generated by git-murpp 0.8.1
More information about the pdm-devel
mailing list