summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-10 12:44:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-10 14:36:00 +0200
commit12833b63c14e65f259cfe15ec875fe7663853881 (patch)
tree871fd52c5967988bb0342ef6990e106ae2c75acc
parent53d6bba0ee37f88afa91f335cb8c4dd4bbcd2433 (diff)
downloadjenkins.debian.net-12833b63c14e65f259cfe15ec875fe7663853881.tar.xz
reproducible: improve index_notify
-rw-r--r--TODO1
-rwxr-xr-xbin/reproducible_html_indexes.py10
2 files changed, 6 insertions, 5 deletions
diff --git a/TODO b/TODO
index 72de46a2..4d619f3f 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 e58f6368..3cc5c52c 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@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@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-builds@lists.alioth.debian.org">mail</a>!</p>',
'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
}
]