From: Xinglu Chen <public@yoctocell.xyz>
To: 47670@debbugs.gnu.org
Cc: "Léo Le Bouter" <lle-bout@zaclys.net>
Subject: [bug#47670] [PATCH 0/2] Add updater for packages hosted as SourceHut Git repositories
Date: Fri, 09 Apr 2021 11:02:52 +0200 [thread overview]
Message-ID: <cover.1617958554.git.public@yoctocell.xyz> (raw)
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[1]) to determine the latest release. It won't be as
reliable as the GitHub updater, but still better than nothing, I
guess.
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
[1]: https://yhetil.org/guix-bugs/f8aad9c186074f29907952a6740c09faf0820cac.camel@zaclys.net
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(+)
base-commit: 29a6c361492b18bcb0f6d2517d010a1b48441521
--
2.31.1
next reply other threads:[~2021-04-09 9:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-09 9:02 Xinglu Chen [this message]
2021-04-09 9:05 ` [bug#47670] [PATCH 1/2] upstream: Add predicate for Git URLs Xinglu Chen
2021-04-09 9:05 ` [bug#47670] [PATCH 2/2] gnu-maintenance: Add 'sourcehut-git' updater Xinglu Chen
2021-04-09 10:54 ` [bug#47670] [PATCH 0/2] Add updater for packages hosted as SourceHut Git repositories Léo Le Bouter via Guix-patches via
2021-04-09 11:58 ` Xinglu Chen
2021-04-09 12:04 ` Léo Le Bouter via Guix-patches via
2021-04-09 12:41 ` Xinglu Chen
2021-04-09 12:48 ` Xinglu Chen
2021-06-06 13:23 ` Ludovic Courtès
2021-06-11 9:25 ` Xinglu Chen
2021-07-27 10:19 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1617958554.git.public@yoctocell.xyz \
--to=public@yoctocell.xyz \
--cc=47670@debbugs.gnu.org \
--cc=lle-bout@zaclys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.