[elbe-devel] [PATCH v2 1/7] repomanager: Prevent writing optional Suite
Bastian Germann
bage at linutronix.de
Fri Mar 3 11:34:30 CET 2023
The Suite field in reprepro's distributions file is optional (see reprepro.1).
Drop its use because the mapping changes over time.
Signed-off-by: Bastian Germann <bage at linutronix.de>
---
elbepack/repomanager.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
index 35004cbced..1718f849cf 100644
--- a/elbepack/repomanager.py
+++ b/elbepack/repomanager.py
@@ -12,7 +12,6 @@ import shutil
from debian.deb822 import Deb822
-from elbepack.debianreleases import codename2suite
from elbepack.filesystem import Filesystem
from elbepack.pkgutils import get_dsc_size
from elbepack.egpg import generate_elbe_internal_key, export_key, unlock_key
@@ -120,7 +119,6 @@ class RepoBase:
for att in self.attrs:
fp.write("Origin: " + self.origin + "\n")
fp.write("Label: " + self.origin + "\n")
- fp.write("Suite: " + codename2suite[att.codename] + "\n")
fp.write("Codename: " + att.codename + "\n")
fp.write("Architectures: " + " ".join(att.arch) + "\n")
fp.write("Components: " + " ".join(att.components.difference(
--
2.39.2
More information about the elbe-devel
mailing list