summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-06 15:03:01 +0100
committerMattia Rizzolo <mattia@mapreri.org>2015-03-06 15:03:01 +0100
commite45b482e384474fc6983d879fae1b72a42a52591 (patch)
tree45626a69bcfb94486ff424eb788cd69d87b0a98d
parentf2ecad9fa494c3b8e3cc07d0e89e977a72fda389 (diff)
downloadjenkins.debian.net-e45b482e384474fc6983d879fae1b72a42a52591.tar.xz
reproducible: fixup the last commit
-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 84cd8053..564815b9 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -66,7 +66,7 @@ queries = {
pages = {
'reproducible': {
- 'title': 'Packages in $suite/$arch which built reproducibly',
+ 'title': 'Packages in {suite}/{arch} which built reproducibly',
'body': [
{
'icon_status': 'reproducible',
@@ -77,7 +77,7 @@ pages = {
]
},
'FTBR': {
- 'title': 'Packages in $suite/$arch 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': 'Packages in $suite/$arch 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': 'Packages in $suite/$arch 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': 'Packages in $suite/$arch 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': 'Packages in $suite/$arch which have been blacklisted',
+ 'title': 'Packages in {suite}/{arch} which have been blacklisted',
'body': [
{
'icon_status': 'blacklisted',
@@ -127,7 +127,7 @@ pages = {
]
},
'scheduled': {
- 'title': 'Packages in $suite/$arch 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 in $suite/$arch 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': 'Packages in $suite/$arch tested in the last 24h for build reproducibility',
+ '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': 'Packages in $suite/$arch tested in the last 48h for build reproducibility',
+ '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'].substitute(suite=suite, arch=amd64)
+ title = pages[page]['title'].format(suite=suite, arch=arch)
html = ''
footnote = False
for section in page_sections: