[Qa-jenkins-scm] [jenkins.debian.net] 02/06: reproducible: improve index_notify
Holger Levsen
holger at moszumanska.debian.org
Wed Jun 10 17:12:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 12833b63c14e65f259cfe15ec875fe7663853881
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Jun 10 12:44:07 2015 +0200
reproducible: improve index_notify
---
TODO | 1 +
bin/reproducible_html_indexes.py | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/TODO b/TODO
index 72de46a..4d619f3 100644
--- a/TODO
+++ b/TODO
@@ -190,6 +190,7 @@ egrep -R -l '(debbindiff had trouble comparing|maybe there is still )' /var/lib/
** new page: packages which are orphaned but have a reproducible usertagged patch
** a reproducible_log_grep_by_sql.(py|sh) would be nice, to only grep in packages with a certain status (build in the last X days)
** replace submit form by one without javascript (maybe with more url rewriting)
+** html_indexes.py creates /index_notify.html three times, even though one is enough.
* notes related
** #786396: classify issue by "toolchain" or "package" fix needed
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index e58f636..3cc5c52 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -258,7 +258,7 @@ pages = {
'icon_link': '/index_FTBR.html',
'query': 'notes',
'nosuite': True,
- 'text': Template('$tot unreproducible packages in $suite/$arch :')
+ 'text': Template('$tot unreproducible packages in $suite/$arch:')
},
{
'icon_status': 'FTBFS',
@@ -329,7 +329,7 @@ pages = {
'notes': True,
'nosuite': True,
'title': 'Packages with notification enabled',
- 'header': '<p>The following {tot} packages have notifications enabled in {suite}/{arch}. When a status change happens (e.g. reproducible → unreproducible) the system sends an email to $srcpackage at packages.debian.org, notifying the maintainer and relevant parties (please subscribe through the PTS or Tracker if you are interested in such emails).<br />Please ask us to enable the notification for your package in our IRC channel!</p>',
+ 'header': '<p>The following {tot} packages have notifications enabled in {suite}/{arch}. When a status change happens (e.g. reproducible → unreproducible) the system sends an email to $srcpackage at packages.debian.org, notifying the maintainer and relevant parties. (You can subscribe through the PTS or Tracker if you are interested in such emails).<br />Please ask us to enable the notification for your package(s) in our IRC channel #debian-reproducible or via <a href="reproducible [...]
'header_query': 'SELECT COUNT(*) FROM sources WHERE suite="{suite}" AND architecture="{arch}" AND notify_maintainer = 1',
'body': [
{
@@ -337,7 +337,7 @@ pages = {
'db_status': 'unreproducible',
'icon_link': '/index_FTBR.html',
'query': 'notification',
- 'text': Template('$tot unreproducible packages in $suite/$arch'),
+ 'text': Template('$tot unreproducible packages in $suite/$arch:'),
'nosuite': True
},
{
@@ -345,7 +345,7 @@ pages = {
'db_status': 'FTBFS',
'icon_link': '/index_FTBFS.html',
'query': 'notification',
- 'text': Template('$tot FTBFS packages in $suite/$arch'),
+ 'text': Template('$tot FTBFS packages in $suite/$arch:'),
'nosuite': True
},
{
@@ -353,7 +353,7 @@ pages = {
'db_status': 'reproducible',
'icon_link': '/index_reproducible.html',
'query': 'notification',
- 'text': Template('$tot reproducible packages in $suite/$arch'),
+ 'text': Template('$tot reproducible packages in $suite/$arch:'),
'nosuite': True
}
]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list