public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH test-tools 0/4] remove PDM submodule
@ 2026-09-10 16:20 Michael Köppl
  2026-09-10 16:20 ` [PATCH test-tools 1/4] scheduler: drop the unused pdm-api-types dependency Michael Köppl
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Michael Köppl @ 2026-09-10 16:20 UTC (permalink / raw)
  To: pve-devel

The submodule was initially added to avoid reimplementing add_remote and
some of the structs and enums used for interacting with both the PDM as
well as the PVE API. In both cases, the functionality is so limited that
it doesn't really warrant pulling PDM into the build over reimplementing
these few pieces of code.

These patches remove the dependency from proxmox-test-scheduler (where
it was unused anyway) and proxmox-test-instance and all the dependencies
that were only pulled in for proxmox-datacenter-manager. The
functionality for adding remotes is reimplemented here, but keeps only
the parts actually required for proxmox-test-instance's use case.

I ran multiple different plans with and without clusters, adding the
test instances as remotes for a PDM instance and did not notice any
problems. I also verified that `wait_for_task` still works as expected
since it was using `TaskStateType` from pdm_api_types.


proxmox-test-tools:

Michael Köppl (4):
  scheduler: drop the unused pdm-api-types dependency
  instance: register PDM remotes without pdm-client
  instance: source certificate and task types directly
  buildsys: drop the proxmox-datacenter-manager submodule

 .gitmodules                                 |  3 -
 Cargo.toml                                  | 10 ---
 Makefile                                    |  4 +-
 README.md                                   |  3 -
 debian/control                              | 11 ---
 proxmox-datacenter-manager                  |  1 -
 proxmox-test-instance/Cargo.toml            |  6 +-
 proxmox-test-instance/src/api/pdm_client.rs | 76 +++++++++++++++++----
 proxmox-test-instance/src/api/pve_client.rs | 26 ++++++-
 proxmox-test-scheduler/Cargo.toml           |  2 -
 10 files changed, 92 insertions(+), 50 deletions(-)
 delete mode 100644 .gitmodules
 delete mode 160000 proxmox-datacenter-manager


Summary over all repositories:
  10 files changed, 92 insertions(+), 50 deletions(-)

-- 
Generated by murpp 0.12.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-10 16:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-10 16:20 [PATCH test-tools 0/4] remove PDM submodule Michael Köppl
2026-09-10 16:20 ` [PATCH test-tools 1/4] scheduler: drop the unused pdm-api-types dependency Michael Köppl
2026-09-10 16:20 ` [PATCH test-tools 2/4] instance: register PDM remotes without pdm-client Michael Köppl
2026-09-10 16:20 ` [PATCH test-tools 3/4] instance: source certificate and task types directly Michael Köppl
2026-09-10 16:20 ` [PATCH test-tools 4/4] buildsys: drop the proxmox-datacenter-manager submodule Michael Köppl

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