[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50072] [PATCH WIP 4/4] upstream: Support updating git-fetch origins
From: |
Maxime Devos |
Subject: |
[bug#50072] [PATCH WIP 4/4] upstream: Support updating git-fetch origins. |
Date: |
Mon, 16 Aug 2021 20:15:07 +0200 |
User-agent: |
Evolution 3.34.2 |
Xinglu Chen schreef op ma 16-08-2021 om 15:02 [+0200]:
> On Mon, Aug 16 2021, Maxime Devos wrote:
>
> > Sarah Morgensen schreef op zo 15-08-2021 om 16:25 [-0700]:
> > > * guix/git-download.scm (checkout-to-store): New procedure.
> > > * guix/upstream.scm (guess-version-transform)
> > > (package-update/git-fetch): New procedures.
> > > (%method-updates): Add GIT-FETCH mapping.
> >
> > Does it support packages defined like (a)
> >
> > (define-public gnash
> > (let ((commit "583ccbc1275c7701dc4843ec12142ff86bb305b4")
> > (revision "0"))
> > (package
> > (name "gnash")
> > (version (git-version "0.8.11" revision commit))
> > (source (git-reference
> > (url "https://example.org")
>
> IIUC, it only supports GitHub URLs at the moment. I have a WIP patch
> for adding support for any arbitrary Git repository[1].
This patch series doesn't mention GitHub anywhere (except in the patch
series description) so I don't think it only supports GitHub URLs.
Admittedly, only one updater, "github", currently produces git-reference
URLs, but I sent a patch series [2] that adds an importer which produces
git-reference URLs and the corresponding updater (see ‘git-fetch.patch’)
produces appropriate git-reference objects.
[2]: <https://issues.guix.gnu.org/49828#51>.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#50072] [PATCH WIP 0/4] Add upstream updater for git-fetch origins., Sarah Morgensen, 2021/08/15
- [bug#50072] [PATCH WIP 1/4] guix hash: Extract file hashing procedures., Sarah Morgensen, 2021/08/15
- [bug#50072] [PATCH WIP 2/4] import: Factorize file hashing., Sarah Morgensen, 2021/08/15
- [bug#50072] [PATCH WIP 3/4] refresh: Support non-tarball sources., Sarah Morgensen, 2021/08/15
- [bug#50072] [PATCH WIP 4/4] upstream: Support updating git-fetch origins., Sarah Morgensen, 2021/08/15
- [bug#50072] [PATCH WIP 0/4] Add upstream updater for git-fetch origins., Sarah Morgensen, 2021/08/16
- [bug#50072] [PATCH WIP 0/4] Add upstream updater for git-fetch origins., Maxime Devos, 2021/08/17
- [bug#50072] [PATCH WIP 0/4] Add upstream updater for git-fetch origins., Maxime Devos, 2021/08/30