[Git][qa/jenkins.debian.net][master] reproduce.debian.net: rebuilder_stats.py: allow arbitrary db paths
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon Dec 9 19:26:00 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
ab57bd19 by Holger Levsen at 2024-12-09T20:25:52+01:00
reproduce.debian.net: rebuilder_stats.py: allow arbitrary db paths
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilder_stats.py
Changes:
=====================================
bin/rebuilder_stats.py
=====================================
@@ -9,7 +9,8 @@ from sys import argv
def main() -> None:
arch = argv[1]
- cx = connect("/var/lib/jenkins/rebuilderd.db")
+ db = argv[2]
+ cx = connect(db)
cx.create_function("regexp", 2, lambda x, y: 1 if search(x, y) else 0)
cu = cx.cursor()
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ab57bd19a03c20c57fbd7a53614ae92fadf101cb
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ab57bd19a03c20c57fbd7a53614ae92fadf101cb
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/20241209/df44da85/attachment.htm>
More information about the Qa-jenkins-scm
mailing list