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 481E41FF178 for ; Mon, 1 Dec 2025 04:29:00 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 91F5710454; Mon, 1 Dec 2025 04:29:21 +0100 (CET) From: Thomas Lamprecht To: pbs-devel@lists.proxmox.com, Stefan Hanreich Date: Mon, 1 Dec 2025 04:29:10 +0100 Message-ID: <176455974535.2674830.16552174477674177421.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251120145031.550340-6-s.hanreich@proxmox.com> References: <20251120145031.550340-1-s.hanreich@proxmox.com> <20251120145031.550340-6-s.hanreich@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1764559716889 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.022 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] applied: [PATCH proxmox 5/5] pbs-api-types: add fallback variants to enums in public API X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" On Thu, 20 Nov 2025 15:50:13 +0100, Stefan Hanreich wrote: > In order to be able to provide forwards-compatibility in the Proxmox > Datacenter Manager, add fallback variants to all enums that are > exposed in the public API. This prevents breakage on PDM side whenever > a new enum variant is added in PBS. > > The fallbacks are feature-guarded, so PBS can use the strict enums > without having to handle any fallback variants. This is unnecessary, > because pbs-api-types and proxmox-backup are updated in tandem, so > proxmox-backup should never run into the situation of having to handle > unknown variants. Only the datacenter manager will use this feature > flag for now, since it needs to potentially handle unknown variants. > > [...] Applied, thanks! [5/5] pbs-api-types: add fallback variants to enums in public API commit: f1484e9dc8dae5cd4209eb13cd4893d9df71f56c _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel