From 307a65506f903959b18024c54147cfce8d72bbf6 Mon Sep 17 00:00:00 2001
From: Holger Levsen
- Notes are stored in notes.git and are targeted at packages in 'unstable/amd64' (unless they say otherwise).
+ $notesgit_description
Notes are stored in notes.git and are targeted at packages in 'unstable/amd64' (unless they say otherwise).
+ $notesgit_description
+
""".splitlines(True)))
@@ -240,11 +244,11 @@ def gen_html_note(package, note):
comment = comment.replace('\n', '
@@ -32,7 +34,7 @@ note_html = Template((tab*2).join("""
@@ -150,7 +152,9 @@ $affected_pkgs
-
')
infos += note_comments_html.substitute(comments=comment)
try:
- return note_html.substitute(version=str(note['version']), infos=infos)
+ return note_html.substitute(version=str(note['version']), infos=infos, notesgit_description=NOTESGIT_DESCRIPTION)
except KeyError:
log.warning('You should really include a version in the ' +
str(note['package']) + ' note')
- return note_html.substitute(version='N/A', infos=infos)
+ return note_html.substitute(version='N/A', infos=infos, notesgit_description=NOTESGIT_DESCRIPTION)
def gen_html_issue(issue, suite):
@@ -297,7 +301,8 @@ def gen_html_issue(issue, suite):
desc = desc.replace('\n', '
')
return issue_html.substitute(issue=issue, urls=url, description=desc,
affected_pkgs=affected,
- suite=suite, suite_links=suite_links)
+ suite=suite, suite_links=suite_links,
+ notesgit_description=NOTESGIT_DESCRIPTION)
def purge_old_notes(notes):
@@ -410,7 +415,7 @@ def index_issues(issues):
str(len([x for x in notes if notes[x].get('issues')])) + \
' packages categorized in ' + str(len(issues)) + \
' issues.
Notes are stored in notes.git and are targeted at packages in \'unstable/amd64\' (unless they say otherwise).
' + html += tab*2 + '' + NOTESGIT_DESCRIPTION + '
' title = 'Known issues related to reproducible builds' destfile = BASE + '/index_issues.html' desturl = REPRODUCIBLE_URL + '/index_issues.html' -- cgit v1.2.3-70-g09d2