[Qa-jenkins-scm] [jenkins.debian.net] 04/05: reproducible: consistent empty lines
Holger Levsen
holger at moszumanska.debian.org
Fri Mar 13 15:22:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ca290806dcc9a9371c9ccf893d08a270077ccd23
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Mar 13 16:14:09 2015 +0100
reproducible: consistent empty lines
---
bin/reproducible_html_notes.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 44efff0..13ef4c6 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -34,6 +34,7 @@ note_html = Template((tab*2).join("""
</td>
</tr>
</table>""".splitlines(True)))
+
note_issues_html = Template((tab*3).join("""
<tr>
<td>
@@ -43,6 +44,7 @@ note_issues_html = Template((tab*3).join("""
$issues
</td>
</tr>""".splitlines(True)))
+
note_bugs_html = Template((tab*4).join("""
<tr>
<td>
@@ -52,6 +54,7 @@ note_bugs_html = Template((tab*4).join("""
$bugs
</td>
</tr>""".splitlines(True)))
+
note_comments_html = Template((tab*3).join("""
<tr>
<td>
@@ -71,6 +74,7 @@ note_issue_html_url = Template((tab*6).join("""
<a href="$url" target="_blank">$url</a>
</td>
</tr>""".splitlines(True)))
+
note_issue_html_desc = Template((tab*6).join("""
<tr>
<td>
@@ -80,6 +84,7 @@ note_issue_html_desc = Template((tab*6).join("""
$description
</td>
</tr>""".splitlines(True)))
+
note_issue_html = Template((tab*5).join(("""
<table class="body">
<tr>
@@ -103,6 +108,7 @@ issue_html_url = Template((tab*4).join("""
<a href="$url">$url</a>
</td>
</tr>""".splitlines(True)))
+
issue_html = Template((tab*3).join("""
<table class="body">
<tr>
@@ -227,6 +233,7 @@ def gen_html_note(package, note):
str(note['package']) + ' note')
return note_html.substitute(version='N/A', infos=infos)
+
def gen_html_issue(issue):
"""
Given a issue as input (as a dict:
@@ -315,6 +322,7 @@ def iterate_over_notes(notes):
log.info("you can now see your notes at " + desturl)
i = i + 1
+
def iterate_over_issues(issues):
num_issues = str(len(issues))
i = 0
@@ -332,6 +340,7 @@ def iterate_over_issues(issues):
log.info("you can now see the issue at " + desturl)
i = i + 1
+
def sort_issues(issue):
try:
return (-len(issues_count[issue]), issue)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list