From 12833b63c14e65f259cfe15ec875fe7663853881 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 10 Jun 2015 12:44:07 +0200 Subject: 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 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': '

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).
Please ask us to enable the notification for your package in our IRC channel!

', + 'header': '

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).
Please ask us to enable the notification for your package(s) in our IRC channel #debian-reproducible or via mail!

', '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 } ] -- cgit v1.2.3-70-g09d2