public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Shannon Sterz <s.sterz@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager/proxmox{, -backup} v2 0/4] move upgrade checks to a common crate under proxmox-rs
Date: Mon, 24 Nov 2025 11:34:41 +0100	[thread overview]
Message-ID: <20251124103444.117406-2-s.sterz@proxmox.com> (raw)

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


             reply	other threads:[~2025-11-24 10:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-24 10:34 Shannon Sterz [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251124103444.117406-2-s.sterz@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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