public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager/proxmox{, -backup} v2 0/4] move upgrade checks to a common crate under proxmox-rs
@ 2025-11-24 10:34 Shannon Sterz
  2025-11-24 10:34 ` [pdm-devel] [PATCH proxmox v2 1/1] upgrade-checks: fix meta package version check Shannon Sterz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Shannon Sterz @ 2025-11-24 10:34 UTC (permalink / raw)
  To: pdm-devel

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


_______________________________________________
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-11-24 10:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-24 10:34 [pdm-devel] [PATCH datacenter-manager/proxmox{, -backup} v2 0/4] move upgrade checks to a common crate under proxmox-rs Shannon Sterz
2025-11-24 10:34 ` [pdm-devel] [PATCH proxmox v2 1/1] upgrade-checks: fix meta package version check Shannon Sterz
2025-11-24 10:34 ` [pdm-devel] [PATCH proxmox-backup v2 1/2] pbs3to4: move pbs3to4 to common proxmox-upgrade-checks crate Shannon Sterz
2025-11-24 10:34 ` [pdm-devel] [PATCH proxmox-backup v2 2/2] pbs2to3: remove now unused script Shannon Sterz
2025-11-24 10:34 ` [pdm-devel] [PATCH datacenter-manager v2 1/1] upgrade-checks: use common proxmox-upgrade-checks crate Shannon Sterz

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