From 7621d25e3ffafcd83d36b3f2ff0eeeeb4038a154 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 30 May 2019 18:23:02 +0100 Subject: Have the GitHub updater just use Git tags Some of the GitHub repositories used by GOV.UK have a few old releases, that mean the updater just picks the latest one of these, ignoring the more recent Git tags. --- guix/import/github.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/guix/import/github.scm b/guix/import/github.scm index ee1c1b9236..4958f9ac90 100644 --- a/guix/import/github.scm +++ b/guix/import/github.scm @@ -161,12 +161,7 @@ empty list." (string-append url "?access_token=" (%github-token)) url)) - (match (json-fetch (decorate release-url) #:headers headers) - (#() - ;; We got the empty list, presumably because the user didn't use GitHub's - ;; "release" mechanism, but hopefully they did use Git tags. - (json-fetch (decorate tag-url) #:headers headers)) - (x x))) + (json-fetch (decorate tag-url) #:headers headers)) (define (latest-released-version url package-name) "Return a string of the newest released version name given a string URL like -- cgit v1.2.3