This adds support for updating packages hosted as SourceHut Git
repositories. It looks at the Git tags on the remote (thank you Léo for
pointing this out) to determine the latest release. It won't be as
reliable as the GitHub updater, but still better than nothing, I
SourceHut also has support for Mercurial, but I am not familiar with it,
maybe I will look into it in the future. :)
See it in action:
$ ./pre-inst-env guix refresh fennel
gnu/packages/lua.scm:1176:13: fennel would be upgraded from 0.8.1 to 0.9.0
Xinglu Chen (2):
upstream: Add predicate for Git URLs.
gnu-maintenance: Add 'sourcehut-git' updater.
doc/guix.texi | 3 ++
guix/gnu-maintenance.scm | 90 ++++++++++++++++++++++++++++++++++++++++
guix/upstream.scm | 20 +++++++++
3 files changed, 113 insertions(+)