[Reproducible-commits] [blog] 01/02: also add a `issue` macro to link to issues in t.r-b.o

Mattia Rizzolo mattia at debian.org
Sun May 1 18:52:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository blog.

commit 6c2aa0fa1cb2c9c7dcd1aad5b79ba4555a95d39e
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun May 1 18:46:53 2016 +0000

    also add a `issue` macro to link to issues in t.r-b.o
---
 drafts/53.mdwn                        | 2 +-
 libdir/IkiWiki/Plugin/DebianMacros.pm | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/drafts/53.mdwn b/drafts/53.mdwn
index 45054f5..84212df 100644
--- a/drafts/53.mdwn
+++ b/drafts/53.mdwn
@@ -13,7 +13,7 @@ Media coverage
 Toolchain fixes
 ---------------
 
-Now that the GCC development window has been opened again, the *SOURCE_DATE_EPOCH* patch by Dhole and Matthias Klose to address the [timestamps_from_cpp_macros issue](https://tests.reproducible-builds.org/issues/unstable/timestamps_from_cpp_macros_issue.html) (`__DATE__` / `__TIME__`) has been [applied upstream](https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e3e8c48c4a494d9da741c1c8ea6c4c0b7c4ff934) and will be released with GCC 7.
+Now that the GCC development window has been opened again, the *SOURCE_DATE_EPOCH* patch by Dhole and Matthias Klose to address the issue [[!issue timestamps_from_cpp_macros]] (`__DATE__` / `__TIME__`) has been [applied upstream](https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e3e8c48c4a494d9da741c1c8ea6c4c0b7c4ff934) and will be released with GCC 7.
 
 Following that Matthias Klose also has uploaded [[!pkg gcc-5]]/5.3.1-17 and [[!pkg gcc-6]]/6.1.1-1 to unstable with a backport of that *SOURCE_DATE_EPOCH* patch.
 
diff --git a/libdir/IkiWiki/Plugin/DebianMacros.pm b/libdir/IkiWiki/Plugin/DebianMacros.pm
index c6401bd..c3fb85c 100644
--- a/libdir/IkiWiki/Plugin/DebianMacros.pm
+++ b/libdir/IkiWiki/Plugin/DebianMacros.pm
@@ -13,6 +13,7 @@ sub import {
     hook(type => "preprocess", id => "pkg", call => \&pkg);
     hook(type => "preprocess", id => "bug", call => \&bug);
     hook(type => "preprocess", id => "patch", call => \&patch);
+    hook(type => "preprocess", id => "issue", call => \&issue);
 }
 
 sub pkg {
@@ -42,4 +43,9 @@ sub patch {
     return bug_out($bug, "original patch");
 }
 
+sub issue {
+    my $issue = shift;
+    return "[$issue](https://tests.reproducible-builds.org/issues/unstable/${issue}_issue.html)"
+}
+
 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/blog.git



More information about the Reproducible-commits mailing list