public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox] apt: add fix up for debian trixie security repository
@ 2025-08-27 14:52 Shannon Sterz
  2025-08-27 21:52 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Shannon Sterz @ 2025-08-27 14:52 UTC (permalink / raw)
  To: pbs-devel

otherwise all components of the repository will be skipped when
mirroring.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 proxmox-apt/src/deb822/release_file.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/proxmox-apt/src/deb822/release_file.rs b/proxmox-apt/src/deb822/release_file.rs
index dbf1a367..071ccfe4 100644
--- a/proxmox-apt/src/deb822/release_file.rs
+++ b/proxmox-apt/src/deb822/release_file.rs
@@ -350,7 +350,10 @@ impl TryFrom<ReleaseFileRaw> for ReleaseFile {
         // Fixup bullseye+-security release files which have invalid components
         let codename = parsed.codename.as_deref();
         if parsed.label.as_deref() == Some("Debian-Security")
-            && (codename == Some("bullseye-security") || codename == Some("bookworm-security"))
+            && matches!(
+                codename,
+                Some("bullseye-security") | Some("bookworm-security") | Some("trixie-security")
+            )
         {
             parsed.components = parsed
                 .components
-- 
2.47.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


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

* [pbs-devel] applied: [PATCH proxmox] apt: add fix up for debian trixie security repository
  2025-08-27 14:52 [pbs-devel] [PATCH proxmox] apt: add fix up for debian trixie security repository Shannon Sterz
@ 2025-08-27 21:52 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-08-27 21:52 UTC (permalink / raw)
  To: pbs-devel, Shannon Sterz

On Wed, 27 Aug 2025 16:52:07 +0200, Shannon Sterz wrote:
> otherwise all components of the repository will be skipped when
> mirroring.
> 
> 

Applied, thanks!

[1/1] apt: add fix up for debian trixie security repository
      commit: 2db11a92c20b279ff8e0cbaf046f7a04befa01d5


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


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

end of thread, other threads:[~2025-08-27 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-27 14:52 [pbs-devel] [PATCH proxmox] apt: add fix up for debian trixie security repository Shannon Sterz
2025-08-27 21:52 ` [pbs-devel] applied: " Thomas Lamprecht

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