[pdm-devel] [PATCH datacenter-manager/yew-comp v2 0/5] add basic version guarding for pve guests config

Dominik Csapak d.csapak at proxmox.com
Tue Dec 2 12:13:29 CET 2025


This adds some functionality so we can easily version guard specific features
for a pve node version.

Currently this is done for:
* env/entrypoint options for lxc
* intel-tdx options for qemu

We reuse the cached update information here, but we can easily change that out
if we want/need to.

changes from v1:
* use 'proxmox_deb_version::Version' instead of just cmp_version
  (this makes the code a bit nicer)
* drop unrelated patch (was accidentally sent in v1)

proxmox-yew-comp:

Dominik Csapak (2):
  pve: qemu: options/hardware: prepare and use version feature gating
  pve: lxc panels: prepare/add version feature gating

 Cargo.toml                                    |  1 +
 src/configuration/pve/lxc_dns_panel.rs        |  6 ++++
 src/configuration/pve/lxc_network_panel.rs    |  6 ++++
 src/configuration/pve/lxc_options_panel.rs    | 32 ++++++++++++++++---
 .../pve/lxc_resources_panel/mod.rs            |  6 ++++
 .../pve/qemu_hardware_panel/mod.rs            |  6 ++++
 src/configuration/pve/qemu_options_panel.rs   | 32 ++++++++++++++++---
 src/form/pve/lxc_property/mod.rs              | 11 +++++++
 src/form/pve/mod.rs                           | 10 +++---
 9 files changed, 96 insertions(+), 14 deletions(-)


proxmxo-datacenter-manager:

Dominik Csapak (3):
  lib/server: pve: add api call to get the cached version info from
    remotes
  ui: pve: qemu: load and pass the pve-manager version to panels
  ui: pve: lxc: pass the pve-manager version to panels

 lib/pdm-client/src/lib.rs    |  6 ++++
 server/src/api/pve/mod.rs    | 21 ++++++++++++
 server/src/remote_updates.rs | 22 ++++++++++++-
 ui/src/lib.rs                | 17 ++++++++++
 ui/src/pve/lxc/mod.rs        | 16 +++++++--
 ui/src/pve/mod.rs            | 63 ++++++++++++++++++++++++------------
 ui/src/pve/qemu/mod.rs       | 13 ++++++--
 7 files changed, 133 insertions(+), 25 deletions(-)


Summary over all repositories:
  16 files changed, 229 insertions(+), 39 deletions(-)

-- 
Generated by git-murpp 0.8.1




More information about the pdm-devel mailing list