From ce4bc72dbd590231186267c064ae1679c2ba1241 Mon Sep 17 00:00:00 2001 From: Isaac David Date: Mon, 9 Oct 2017 15:22:46 -0500 Subject: blacklist: implement `get-url` function from `reference` and `id` fields The blacklist allows referring to a number of trusted bug trackers to complement the information given in the reason field. However, maintainable shorthand identifiers are used instead of full URLs. Printing the latter based on the former is the job of this new functionality. This also introduces corresponding test cases and l10n strings (together with translations for the `es` locale). --- test/lib-blacklist-test.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/lib-blacklist-test.sh b/test/lib-blacklist-test.sh index ef99f91..202a2e2 100755 --- a/test/lib-blacklist-test.sh +++ b/test/lib-blacklist-test.sh @@ -9,14 +9,16 @@ it_works_with_just_pkgname() { v="$(libreblacklist normalize <<$XDG_CONFIG_HOME/libretools/libretools.conf -- cgit v1.2.2