[elbe-devel] [PATCH] repomanager: silence reprepro warnings about unexported packages

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue Feb 6 10:35:50 CET 2024


The warning is only cluttering the logs without actionable information
for the user.
The --export=silent-never has been supported since 2010.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/repomanager.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
index dc32b063..52a9dc5b 100644
--- a/elbepack/repomanager.py
+++ b/elbepack/repomanager.py
@@ -176,7 +176,7 @@ class RepoBase:
                 self.new_repo_volume()
 
         global_opt = ["--keepunreferencedfiles",
-                      "--export=never",
+                      "--export=silent-never",
                       f'--basedir "{self.fs.path}"']
 
         if prio is not None:
@@ -217,7 +217,7 @@ class RepoBase:
         global_opt = ["--ignore=wrongdistribution",
                       "--ignore=surprisingbinary",
                       "--keepunreferencedfiles",
-                      "--export=never",
+                      "--export=silent-never",
                       f'--basedir "{self.fs.path}"',
                       "--priority normal",
                       "--section misc"]
@@ -297,7 +297,7 @@ class RepoBase:
             self.new_repo_volume()
 
         global_opt = ["--keepunreferencedfiles",
-                      "--export=never",
+                      "--export=silent-never",
                       f'--basedir "{self.fs.path}"',
                       "--priority normal",
                       "--section misc"]
-- 
2.43.0



More information about the elbe-devel mailing list