summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_indexes.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-06 14:29:24 +0100
committerMattia Rizzolo <mattia@mapreri.org>2015-03-06 14:41:08 +0100
commitf2ecad9fa494c3b8e3cc07d0e89e977a72fda389 (patch)
treec900aa72c1a563a2e98dd3eeb07e02f35cb324b6 /bin/reproducible_html_indexes.py
parent4eaeda5d111b52155b99a9fc88c4ec175acba80d (diff)
downloadjenkins.debian.net-f2ecad9fa494c3b8e3cc07d0e89e977a72fda389.tar.xz
reproducible: add suite+arch to page titles
Diffstat (limited to 'bin/reproducible_html_indexes.py')
-rwxr-xr-xbin/reproducible_html_indexes.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index a6775921..84cd8053 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -66,7 +66,7 @@ queries = {
pages = {
'reproducible': {
- 'title': 'Overview of packages in which built reproducibly',
+ 'title': 'Packages in $suite/$arch which built reproducibly',
'body': [
{
'icon_status': 'reproducible',
@@ -77,7 +77,7 @@ pages = {
]
},
'FTBR': {
- 'title': 'Overview of packages which failed to build reproducibly',
+ 'title': 'Packages in $suite/$arch which failed to build reproducibly',
'body': [
{
'icon_status': 'FTBR',
@@ -87,7 +87,7 @@ pages = {
]
},
'FTBFS': {
- 'title': 'Overview of packages which failed to build from source',
+ 'title': 'Packages in $suite/$arch which failed to build from source',
'body': [
{
'icon_status': 'FTBFS',
@@ -97,7 +97,7 @@ pages = {
]
},
'404': {
- 'title': 'Overview of packages where the sources failed to download',
+ 'title': 'Packages in $suite/$arch where the sources failed to download',
'body': [
{
'icon_status': '404',
@@ -107,7 +107,7 @@ pages = {
]
},
'not_for_us': {
- 'title': 'Overview of packages which should not be build on "amd64"',
+ 'title': 'Packages in $suite/$arch which should not be build on "amd64"',
'body': [
{
'icon_status': 'not_for_us',
@@ -117,7 +117,7 @@ pages = {
]
},
'blacklisted': {
- 'title': 'Overview of packages which have been blacklisted',
+ 'title': 'Packages in $suite/$arch which have been blacklisted',
'body': [
{
'icon_status': 'blacklisted',
@@ -127,7 +127,7 @@ pages = {
]
},
'scheduled': {
- 'title': 'Overview of packages currently scheduled for testing for build reproducibility',
+ 'title': 'Packages in $suite/$arch currently scheduled for testing for build reproducibility',
'body': [
{
'query': 'scheduled',
@@ -137,7 +137,7 @@ pages = {
]
},
'all_abc': {
- 'title': 'Overview of reproducible builds of all tested packages (sorted alphabetically)',
+ 'title': 'Overview of reproducible builds in $suite/$arch of all tested packages (sorted alphabetically)',
'body': [
{
'icon_status': 'FTBR',
@@ -178,7 +178,7 @@ pages = {
]
},
'last_24h': {
- 'title': 'Overview of reproducible builds of packages tested in the last 24h',
+ 'title': 'Packages in $suite/$arch tested in the last 24h for build reproducibility',
'body': [
{
'icon_status': 'FTBR',
@@ -210,7 +210,7 @@ pages = {
]
},
'last_48h': {
- 'title': 'Overview of reproducible builds of packages tested in the last 48h',
+ 'title': 'Packages in $suite/$arch tested in the last 48h for build reproducibility',
'body': [
{
'icon_status': 'FTBR',
@@ -332,7 +332,7 @@ def build_page(page, suite=None, arch=None):
log.info('Building the ' + page + ' index page for ' + suite + '/' +
arch + '...')
page_sections = pages[page]['body']
- title = pages[page]['title']
+ title = pages[page]['title'].substitute(suite=suite, arch=amd64)
html = ''
footnote = False
for section in page_sections: