diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-01-14 19:42:24 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-15 00:14:31 +0100 |
commit | 507c17c70c377331bc26f012da7e6734c1501ffd (patch) | |
tree | 785ba25959a30fe0621466ca032d783021c4a54f /bin/reproducible_html_notes.py | |
parent | a5bb242f19302a5b2ce1200f1475e5af480f994e (diff) | |
download | jenkins.debian.net-507c17c70c377331bc26f012da7e6734c1501ffd.tar.xz |
reproducible: change the way the footpage info are passed. Add html_foot_page_buildinfo_note template
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-x | bin/reproducible_html_notes.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index f86a2926..ce14c260 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -267,7 +267,7 @@ def iterate_over_notes(notes): title = 'Notes for ' + package + ' - reproducible builds result' destfile = NOTES_PATH + '/' + package + '_note.html' write_html_page(title=title, body=html, destfile=destfile, - noheader=True, nofooter=True) + noheader=True) desturl = REPRODUCIBLE_URL + NOTES_URI + '/' + package + '_note.html' log.info("you can now see your notes at " + desturl) @@ -284,7 +284,8 @@ def iterate_over_issues(issues): title = 'Notes about issue ' + issue destfile = ISSUES_PATH + '/' + issue + '_issue.html' - write_html_page(title=title, body=html, destfile=destfile) + write_html_page(title=title, body=html, destfile=destfile, + style_note=True) desturl = REPRODUCIBLE_URL + ISSUES_URI + '/' + issue + '_issue.html' log.info("you can now see the issue at " + desturl) @@ -302,7 +303,7 @@ def index_issues(issues): title = 'Overview of known issues related to reproducible builds' destfile = BASE + '/index_issues.html' desturl = REPRODUCIBLE_URL + '/index_issues.html' - write_html_page(title=title, body=html, destfile=destfile, nofooter=True) + write_html_page(title=title, body=html, destfile=destfile) log.info('Issues index now available at ' + desturl) if __name__ == '__main__': |