public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager/proxmox{, -backup} 0/3] move upgrade checks to a common crate under proxmox-rs
@ 2025-09-17 12:18 Shannon Sterz
  2025-09-17 12:18 ` [pdm-devel] [PATCH proxmox 1/1] upgrade-checks: add upgrade checker crate Shannon Sterz
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Shannon Sterz @ 2025-09-17 12:18 UTC (permalink / raw)
  To: pdm-devel

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


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [pdm-devel] [PATCH datacenter-manager/proxmox 0/3] version command and upgrade checks for pdm
@ 2025-09-05 10:04 Shannon Sterz
  2025-09-05 10:04 ` [pdm-devel] [PATCH proxmox 1/1] upgrade-checks: add upgrade checker crate Shannon Sterz
  0 siblings, 1 reply; 9+ messages in thread
From: Shannon Sterz @ 2025-09-05 10:04 UTC (permalink / raw)
  To: pdm-devel

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


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [pdm-devel] [PATCH datacenter-manager/proxmox 0/3] version command and upgrade checks for pdm
@ 2025-09-05  9:59 Shannon Sterz
  2025-09-05  9:59 ` [pdm-devel] [PATCH proxmox 1/1] upgrade-checks: add upgrade checker crate Shannon Sterz
  0 siblings, 1 reply; 9+ messages in thread
From: Shannon Sterz @ 2025-09-05  9:59 UTC (permalink / raw)
  To: pdm-devel

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
bookworm based releases, so that users can check the prerequisites
before upgrading to a trixie based release. a similar series for the
current trixie-based master branches will follow shortly.

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 paches are intended to be applied against the following trees:

* in the proxmox repository this should be applied against the
  `stable-bookworm` branch.
* in the proxmox-datacenter-manager repository the two commits should be
  applied against the commit f6ca650d (ui: add woff2 roboto flex variant
  to ui packaging)

the latter was chosen as it seems to be the last commit in the
proxmox-datacenter-manager repo that was intended for bookworm, since
that repo is missing a `stable-bookworm` branch so far.

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 | 856 ++++++++++++++++++++++++++++++
 3 files changed, 880 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, 972 insertions(+), 2 deletions(-)

--
Generated by git-murpp 0.8.1


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-17 12:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-17 12:18 [pdm-devel] [PATCH datacenter-manager/proxmox{, -backup} 0/3] move upgrade checks to a common crate under proxmox-rs Shannon Sterz
2025-09-17 12:18 ` [pdm-devel] [PATCH proxmox 1/1] upgrade-checks: add upgrade checker crate Shannon Sterz
2025-09-17 12:18 ` [pdm-devel] [PATCH proxmox-backup 1/1] pbs3to4: move upgrade check script to use the new common crate Shannon Sterz
2025-09-17 12:18 ` [pdm-devel] [PATCH datacenter-manager 1/1] lib: move proxmox-upgrade-checks into common crate and depend on that Shannon Sterz
  -- strict thread matches above, loose matches on Subject: below --
2025-09-05 10:04 [pdm-devel] [PATCH datacenter-manager/proxmox 0/3] version command and upgrade checks for pdm Shannon Sterz
2025-09-05 10:04 ` [pdm-devel] [PATCH proxmox 1/1] upgrade-checks: add upgrade checker crate Shannon Sterz
2025-09-05  9:59 [pdm-devel] [PATCH datacenter-manager/proxmox 0/3] version command and upgrade checks for pdm Shannon Sterz
2025-09-05  9:59 ` [pdm-devel] [PATCH proxmox 1/1] upgrade-checks: add upgrade checker crate Shannon Sterz
2025-09-05 14:08   ` Michael Köppl
2025-09-08  8:39     ` Shannon Sterz
2025-09-08  9:03       ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal