From 942186e2b75d54702b613a5ac8355d6dadfffe98 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 19 Dec 2024 12:40:25 +0100 Subject: [PATCH] apt: pdm uses separator for test repo For consistency with it's other repositories, we might migrate other products also to this schema with a future major release (and nginx rewrite config for backward compatibility) Signed-off-by: Thomas Lamprecht --- proxmox-apt/src/repositories/standard.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proxmox-apt/src/repositories/standard.rs b/proxmox-apt/src/repositories/standard.rs index 8c1245f8..ee5550b8 100644 --- a/proxmox-apt/src/repositories/standard.rs +++ b/proxmox-apt/src/repositories/standard.rs @@ -160,7 +160,10 @@ impl APTRepositoryHandleImpl for APTRepositoryHandle { ], _ => vec![format!("http://download.proxmox.com/debian/{}", product)], }, - format!("{}test", product), + match product { + "pdm" => format!("{}-test", product), + _ => format!("{}test", product), + }, ), APTRepositoryHandle::CephQuincyEnterprise => ( APTRepositoryPackageType::Deb,