[Git][qa/jenkins.debian.net][master] reproducible debian: scheduler: fix typo.

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Mon Aug 11 16:52:04 BST 2025



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
cc77f894 by Mattia Rizzolo at 2025-08-11T17:51:51+02:00
reproducible debian: scheduler: fix typo.

also shut up deb822's warning about apt_pkg being unavailable

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_scheduler.py


Changes:

=====================================
bin/reproducible_scheduler.py
=====================================
@@ -256,7 +256,7 @@ def update_sources_db(suite, arch, sources):
     # extract relevant info (package name and version) from the sources file
     new_pkgs = set()
     newest_version = {}
-    for src in deb822.Sources.iter_paragraphs(sources.split('\n')):
+    for src in deb822.Sources.iter_paragraphs(sources.split('\n'), use_apt_pkg=False):
         pkg = (src['Package'], src['Version'], suite, arch)
 
         if 'Extra-Source-Only' in src and src['Extra-Source-Only'] == 'yes':
@@ -422,7 +422,7 @@ def schedule_packages(packages):
     ]
     log.debug('IDs about to be scheduled: %s', packages.keys())
     if pkgs:
-        query_dbe(db_table('schedule').insert(), pkgs)
+        query_db(db_table('schedule').insert(), pkgs)
 
 
 def add_up_numbers(packages, arch):



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cc77f894b8ea15eef365f30d94e08bab8b0d771b

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cc77f894b8ea15eef365f30d94e08bab8b0d771b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250811/75fe0f25/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list