From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 4A94D1FF183 for ; Wed, 10 Sep 2025 14:23:13 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 52AA320905; Wed, 10 Sep 2025 14:23:17 +0200 (CEST) Date: Wed, 10 Sep 2025 14:22:43 +0200 From: Wolfgang Bumiller To: Shannon Sterz Message-ID: References: <20250910102441.108401-2-s.sterz@proxmox.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20250910102441.108401-2-s.sterz@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1757506938673 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.076 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [main.rs, lib.rs, apt.rs, proxmox.com] Subject: [pdm-devel] applied-series: [PATCH datacenter-manager master v4 0/3] version command and upgrade checks for pdm X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Cc: pdm-devel@lists.proxmox.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" applied, thanks On Wed, Sep 10, 2025 at 12:24:38PM +0200, Shannon Sterz wrote: > 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 makes 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 > branch. > = > Changelog > --------- > = > changes since v1: > = > - 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=F6ppl) > = > changes since v2: > = > - v3 was a bookworm only rebase of these patches and is skipped here > = > changes since v3 (thanks @ Wolfgang Bumiller): > = > - remove the `with_` prefix for the build style methods > - remove the `set_*` methods > = > [1]: https://lore.proxmox.com/pdm-devel/20250910102240.107012-3-s.sterz@p= roxmox.com/ > = > = > 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 | 847 ++++++++++++++++++++++ > server/src/api/nodes/apt.rs | 2 +- > 9 files changed, 959 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 > = > -- > 2.47.3 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel