[pdm-devel] [PATCH datacenter-manager/proxmox 0/3] version command and upgrade checks for pdm

Shannon Sterz s.sterz at proxmox.com
Fri Sep 5 12:04:43 CEST 2025


these three patches add an upgrade script to proxmox-datacenter-manager.
it also adds a `versions` subcommand to the
`proxmox-datacenter-manager-admin` command. they are intended for the
latest releases of proxmox-datacenter-manager, a series for the
bookworm-based releases was send previously [1].

the first patch moves the existing checks from pbs to the proxmox
repository and make them a little bit more configurable. the second
patch then uses these checks in the new `proxmox-upgrade-checks` crate
and implements the `pdmAtoB` helper that works the same as other upgrade
checking helpers.

finally the last commit implements the `versions` subcommand for
`proxmox-datacenter-manager-admin` so that it is easier to tell what the
currently running version of pdm is.

these commits are inteded to be applied against the current master
branches of both repositories.

[1]: https://lore.proxmox.com/pdm-devel/20250905095906.204396-1-s.sterz@proxmox.com/T/#t

proxmox:

Shannon Sterz (1):
  upgrade-checks: add upgrade checker crate

 Cargo.toml                        |   3 +
 proxmox-upgrade-checks/Cargo.toml |  21 +
 proxmox-upgrade-checks/src/lib.rs | 857 ++++++++++++++++++++++++++++++
 3 files changed, 881 insertions(+)
 create mode 100644 proxmox-upgrade-checks/Cargo.toml
 create mode 100644 proxmox-upgrade-checks/src/lib.rs


proxmox-datacenter-manager:

Shannon Sterz (2):
  server: add pdmAtoB upgrade checker script
  cli/admin: add a versions command to show current package versions

 Cargo.toml                                |  3 ++
 Makefile                                  |  1 +
 cli/admin/src/main.rs                     | 53 ++++++++++++++++++++++-
 cli/pdmAtoB/Cargo.toml                    | 15 +++++++
 cli/pdmAtoB/src/main.rs                   | 19 ++++++++
 debian/proxmox-datacenter-manager.install |  3 ++
 6 files changed, 92 insertions(+), 2 deletions(-)
 create mode 100644 cli/pdmAtoB/Cargo.toml
 create mode 100644 cli/pdmAtoB/src/main.rs


Summary over all repositories:
  9 files changed, 973 insertions(+), 2 deletions(-)

--
Generated by git-murpp 0.8.1




More information about the pdm-devel mailing list