all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager v2 0/3] version command and upgrade checks for pdm
@ 2025-09-08  9:51 Shannon Sterz
  2025-09-08  9:51 ` [pdm-devel] [PATCH datacenter-manager v2 1/3] server: add pdmAtoB upgrade checker script Shannon Sterz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shannon Sterz @ 2025-09-08  9:51 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 `./lib` folder
in the proxmox-datacenter-manager repo and make them a little bit more
configurable. it then uses these changes in to add a simple `pdmAtoB`
command in the `./cli` folder.

the second 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.

the last commit changes the virtual package provided to `proxmox-apt` in
the `nodes/{nodename}/apt/versions` endpoint to the actually existing
proxmox-datacenter-manager package. this then returns almost the same
entry twice, but avoids confusing users with an `unknown` package.

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

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

Changelog
---------

changes since v2:

- moved the proxmox-upgrade-checks crate to `./lib` instead of providing
  it via proxmox-rs (thanks @ Thomas Lamprecht)
- added a patch that avoids returning an unknown package (thanks @
  Michael Köppl)

proxmox-datacenter-manager:

Shannon Sterz (3):
  server: add pdmAtoB upgrade checker script
  cli/admin: add a versions command to show current package versions
  api/apt: set `proxmox-datacenter-manager` as pdm's virtual package

 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 +
 lib/proxmox-upgrade-checks/Cargo.toml     |  19 +
 lib/proxmox-upgrade-checks/src/lib.rs     | 857 ++++++++++++++++++++++
 server/src/api/nodes/apt.rs               |   2 +-
 9 files changed, 969 insertions(+), 3 deletions(-)
 create mode 100644 cli/pdmAtoB/Cargo.toml
 create mode 100644 cli/pdmAtoB/src/main.rs
 create mode 100644 lib/proxmox-upgrade-checks/Cargo.toml
 create mode 100644 lib/proxmox-upgrade-checks/src/lib.rs


Summary over all repositories:
  9 files changed, 969 insertions(+), 3 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] 5+ messages in thread
* [pdm-devel] [PATCH datacenter-manager v2 0/3] version command and upgrade checks for pdm
@ 2025-09-08  9:50 Shannon Sterz
  2025-09-08  9:50 ` [pdm-devel] [PATCH datacenter-manager v2 2/3] cli/admin: add a versions command to show current package versions Shannon Sterz
  0 siblings, 1 reply; 5+ messages in thread
From: Shannon Sterz @ 2025-09-08  9:50 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 of proxmox-datacenter-manager, so that users can
check the prerequisites of an upgrade before upgrading.

the first patch moves the existing checks from pbs to the `./lib` folder
in the proxmox-datacenter-manager repo and make them a little bit more
configurable. it then uses these changes in to add a simple `pdmAtoB`
command in the `./cli` folder.

the second 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.

the last commit changes the virtual package provided to `proxmox-apt` in
the `nodes/{nodename}/apt/versions` endpoint to the actually existing
proxmox-datacenter-manager package. this then returns almost the same
entry twice, but avoids confusing users with an `unknown` package.

these patches are intended to be applied against the commit f6ca650d
(ui: add woff2 roboto flex variant to ui packaging). this commit 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.

Changelog
---------

changes since v2:

- moved the proxmox-upgrade-checks crate to `./lib` instead of providing
  it via proxmox-rs (thanks @ Thomas Lamprecht)
- added a patch that avoids returning an unknown package (thanks @
  Michael Köppl)


proxmox-datacenter-manager:

Shannon Sterz (3):
  server: add pdmAtoB upgrade checker script
  cli/admin: add a versions command to show current package versions
  api/apt: set `proxmox-datacenter-manager` as pdm's virtual package

 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 +
 lib/proxmox-upgrade-checks/Cargo.toml     |  19 +
 lib/proxmox-upgrade-checks/src/lib.rs     | 857 ++++++++++++++++++++++
 server/src/api/nodes/apt.rs               |   2 +-
 9 files changed, 969 insertions(+), 3 deletions(-)
 create mode 100644 cli/pdmAtoB/Cargo.toml
 create mode 100644 cli/pdmAtoB/src/main.rs
 create mode 100644 lib/proxmox-upgrade-checks/Cargo.toml
 create mode 100644 lib/proxmox-upgrade-checks/src/lib.rs


Summary over all repositories:
  9 files changed, 969 insertions(+), 3 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] 5+ messages in thread

end of thread, other threads:[~2025-09-08  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-08  9:51 [pdm-devel] [PATCH datacenter-manager v2 0/3] version command and upgrade checks for pdm Shannon Sterz
2025-09-08  9:51 ` [pdm-devel] [PATCH datacenter-manager v2 1/3] server: add pdmAtoB upgrade checker script Shannon Sterz
2025-09-08  9:51 ` [pdm-devel] [PATCH datacenter-manager v2 2/3] cli/admin: add a versions command to show current package versions Shannon Sterz
2025-09-08  9:51 ` [pdm-devel] [PATCH datacenter-manager v2 3/3] api/apt: set `proxmox-datacenter-manager` as pdm's virtual package Shannon Sterz
  -- strict thread matches above, loose matches on Subject: below --
2025-09-08  9:50 [pdm-devel] [PATCH datacenter-manager v2 0/3] version command and upgrade checks for pdm Shannon Sterz
2025-09-08  9:50 ` [pdm-devel] [PATCH datacenter-manager v2 2/3] cli/admin: add a versions command to show current package versions Shannon Sterz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal