From 2d6bd5edbc82fe21c794d70db5374f716995f3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 28 Nov 2019 14:22:16 +0100 Subject: pull, describe: Emit hyperlinks for commit identifiers. * guix/scripts/pull.scm (%vcs-web-views): New variable. (channel-commit-hyperlink): New procedure. (display-news-entry): Add 'channel' parameter. When 'supports-hyperlinks?' returns true, call 'channel-commit-hyperlink'. (display-profile-content): Likewise, and define CHANNEL. (display-channel-specific-news): Pass CHANNEL to 'display-news-entry'. * guix/ui.scm (hyperlink): Make public. --- guix/ui.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'guix/ui.scm') diff --git a/guix/ui.scm b/guix/ui.scm index e31db33d3b..b7d5516b5a 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -111,6 +111,7 @@ package-specification->name+version+output supports-hyperlinks? + hyperlink file-hyperlink location->hyperlink -- cgit v1.2.1