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 8E9211FF179 for ; Wed, 12 Nov 2025 10:41:29 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BA2A11C34D; Wed, 12 Nov 2025 10:42:14 +0100 (CET) From: Lukas Wagner To: pdm-devel@lists.proxmox.com Date: Wed, 12 Nov 2025 10:41:56 +0100 Message-ID: <20251112094203.112452-1-l.wagner@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1762940505608 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.028 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. [mod.rs, proxmox.com, tasks.rs, lib.rs] Subject: [pdm-devel] [PATCH datacenter-manager 0/7] PBS remotes: task API and task cache support 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" NOTE: This one is based of my series which changes the RemoteUpid to include the remote type [0]. If that RFC is rejected, I will rebase onto master (and try to solve the problem that the RFC is trying to fixin some other way). If the RFC is accepted, I will probably merge both series into one for easier handling. This series adds the necessary bindings to the PBS client for basic task retrieval as required by the task cache and the remote task overview in the UI. [0] https://lore.proxmox.com/pdm-devel/20251111105059.148997-1-l.wagner@proxmox.com/T/#t proxmox-datacenter-manager: Lukas Wagner (7): pdm-api-types: remote upid: add helpers for getting native UPID type pbs-client: add bindings for task list, task status, task log pdm-api-types: api: factor out schema definitions for task log params api: pbs tasks: add PBS task API api: pve tasks: use shared helpers for RemoteUpid handling remote tasks: fetch/track PBS tasks remote updates: re-enable PBS update fetching lib/pdm-api-types/src/lib.rs | 21 +++ lib/pdm-api-types/src/remote_upid.rs | 22 +++ server/Cargo.toml | 1 + server/src/api/mod.rs | 22 ++- server/src/api/nodes/tasks.rs | 30 +--- server/src/api/pbs/mod.rs | 4 +- server/src/api/pbs/tasks.rs | 170 ++++++++++++++++++ server/src/api/pve/tasks.rs | 97 +++------- .../tasks/remote_tasks.rs | 98 +++++++--- server/src/pbs_client.rs | 120 ++++++++++++- server/src/remote_updates.rs | 23 ++- 11 files changed, 468 insertions(+), 140 deletions(-) create mode 100644 server/src/api/pbs/tasks.rs Summary over all repositories: 11 files changed, 468 insertions(+), 140 deletions(-) -- Generated by murpp 0.9.0 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel