From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 14:15:20 2021 Received: (at 50072) by debbugs.gnu.org; 16 Aug 2021 18:15:20 +0000 Received: from localhost ([127.0.0.1]:50939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFh8q-0002tB-Hk for submit@debbugs.gnu.org; Mon, 16 Aug 2021 14:15:20 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:43252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFh8n-0002t0-4h for 50072@debbugs.gnu.org; Mon, 16 Aug 2021 14:15:19 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id iJFF250050mfAB406JFFpg; Mon, 16 Aug 2021 20:15:15 +0200 Message-ID: <12f985cd431b8b8099f680a3b25ed2eb90e6b26d.camel@telenet.be> Subject: Re: [bug#50072] [PATCH WIP 4/4] upstream: Support updating git-fetch origins. From: Maxime Devos To: Xinglu Chen , Sarah Morgensen , 50072@debbugs.gnu.org Date: Mon, 16 Aug 2021 20:15:07 +0200 In-Reply-To: <87wnol8rw3.fsf@yoctocell.xyz> References: <8d1ae518b23fac5b15812a30b11df1c360ab3fbf.1629068119.git.iskarian@mgsn.dev> <87wnol8rw3.fsf@yoctocell.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Wnjy/215xV3t45c6cSB/" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1629137715; bh=yx3K2jknvMUYfwobNqENYOK1CSvN4GLhCxHEXri7HWk=; h=Subject:From:To:Date:In-Reply-To:References; b=jCVZOL+KU07IKB0wxtERVsqX4d/DhSvL6enZ7SMLSNzoybGTWaznK0AZDxslXz8f4 oeZns+WL3b9KhVvnzcbKueohcC3IIY+quQmfEZl/fcPY/KiFMaKPbqhpMaeqxYCacM IgJEuJ7UaOsZtfchNsPjG4GcZm2FaVlYuFwP4kLYQzRO8BqIMNzQCWClHjsSGPTCFb qEo0YhyDBiCIwGxXY2I3dA0l8cKTAdfiBTGkiAVmPCh1RXpMqk+/nQk4lzlfo8svMD i9b7BRYaepY7necPLnD0V2z5ldijpODLgAkj5GY+FUH5DC9h4+aidxFImGOlCQW+Oc VpeFVPFNuXF1w== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50072 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-Wnjy/215xV3t45c6cSB/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xinglu Chen schreef op ma 16-08-2021 om 15:02 [+0200]: > On Mon, Aug 16 2021, Maxime Devos wrote: >=20 > > 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. > >=20 > > Does it support packages defined like (a) > >=20 > > (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") >=20 > 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 =E2=80=98git-fetch.pa= tch=E2=80=99) produces appropriate git-reference objects. [2]: . Greetings, Maxime. --=-Wnjy/215xV3t45c6cSB/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYRqrKxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hj2AQDWxLAJXlGpJDkETEBgpnyP1iqC LTkAy45kWUZkOdqY1AD6A2CMB630ENX8F2HOy6f9iMU1h6G/+xqqCy7ltH39AwI= =487y -----END PGP SIGNATURE----- --=-Wnjy/215xV3t45c6cSB/--