[Git][reproducible-builds/reproducible-misc][master] Update template for Jekyll

Chris Lamb gitlab at salsa.debian.org
Sun Apr 22 12:31:22 CEST 2018


Chris Lamb pushed to branch master at Reproducible Builds / reproducible-misc


Commits:
523557c1 by Chris Lamb at 2018-04-22T12:29:51+02:00
Update template for Jekyll

- - - - -


1 changed file:

- reports/bin/generate-draft.template


Changes:

=====================================
reports/bin/generate-draft.template
=====================================
--- a/reports/bin/generate-draft.template
+++ b/reports/bin/generate-draft.template
@@ -1,4 +1,7 @@
-[[!meta title="Reproducible Builds: Weekly report #{{ week }}"]]
+---
+layout: blog
+week: {{ week }}
+---
 
 Here's what happened in the [Reproducible Builds](https://reproducible-builds.org) effort between {{ week_start.strftime('%A %B') }} {{ week_start.day }} and {{ week_end.strftime('%A %B') }} {{ week_end.day }} {{ week_end.year }}:
 
@@ -10,12 +13,12 @@ Packages reviewed and fixed, and bugs filed
 FIXME: prune the below list so it doesn't duplicate the information above, and perhaps also run bin/review-bugs to see if anything was missed.
 
 {% for x, ys in patches.items()|sort %}* {{ x }}:
-{% for y in ys %}    * [[!bug {{ y['id'] }}]] filed against [[!pkg {{ y['source'] }}]].
+{% for y in ys %}    * [#{{ y['id'] }}](https://bugs.debian.org/{{ y['id'] }}) filed against [{{ y['source'] }}](https://tracker.debian.org/pkg/{{ y['source'] }}).
 {% endfor %}{% endfor %}
 
 In addition, build failure bugs were reported by:
 {% for k, v in ftbfs_bugs.items()|sort %}
- - {{ k }} ({{ v|length }}){% endfor %}
+* {{ k }} ({{ v|length }}){% endfor %}
 
 {% for project in projects %}
 {{ project }} development
@@ -24,8 +27,8 @@ In addition, build failure bugs were reported by:
 Version [{{ x['version'] }}](https://tracker.debian.org/news/FIXME) was uploaded to {{ x['distribution'] }} by {{ x['signed_by_name'] }}. It [includes contributions lready convered by posts in previous weeks](https://anonscm.debian.org/git/reproducible/{{ project }}.git/log/?h={% if project != 'diffoscope' %}debian/{% endif %}{{ x['version'] }}) as well as new ones from:
 
 {% endfor %}
-{% for x, ys in commits[project].items() %}- {{ x }}:{% for y in ys %}
-    - [{{ y['title'] }}](https://anonscm.debian.org/git/{% if project == "jenkins.debian.net" %}qa{% else %}reproducible{% endif %}/{{ project }}.git/commit/?id={{ y['sha'] }}){% endfor %}
+{% for x, ys in commits[project].items() %}* {{ x }}:{% for y in ys %}
+    * [{{ y['title'] }}]({% if project == "jenkins.debian.net" %}https://salsa.debian.org/qa/jenkins.debian.net/commit/{{ y['sha'] }}{% else %}https://anonscm.debian.org/git/reproducible/{{ project }}.git/commit/?id={{ y['sha'] }}{% endif %}){% endfor %}
 {% endfor %}
 {% endfor %}
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-misc/commit/523557c12972c28dfc14f278148e8f6bcd701e9e

---
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-misc/commit/523557c12972c28dfc14f278148e8f6bcd701e9e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20180422/2b5cf810/attachment.html>


More information about the rb-commits mailing list