diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-08-20 15:29:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-08-20 16:32:18 +0200 |
commit | 45c01189cca2c9c7852eb1bc24e3cd892906c912 (patch) | |
tree | 3032ac8bff1da78ce734be10d0a0ac6fe98fdea5 /gnu | |
parent | 2766282f5a91f4a2739cfc3fce0dee7c7ec9e5cc (diff) | |
download | guix-45c01189cca2c9c7852eb1bc24e3cd892906c912.tar guix-45c01189cca2c9c7852eb1bc24e3cd892906c912.tar.gz |
import: github: Get /tags when /releases returns the empty list.
This allows "guix refresh" to work for many packages where it would
previously fail with "no updater for PACKAGE".
* guix/import/github.scm (fetch-releases-or-tags): New procedure.
(latest-released-version): Use it instead of calling 'json-fetch'.
Adjust 'hash-ref' call.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions