From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oAOsN2irGmEkEgAAgWs5BA (envelope-from ) for ; Mon, 16 Aug 2021 20:16:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wP4/M2irGmEvNwAAB5/wlQ (envelope-from ) for ; Mon, 16 Aug 2021 18:16:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 051C495D8 for ; Mon, 16 Aug 2021 20:16:08 +0200 (CEST) Received: from localhost ([::1]:44592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFh9a-0000SB-Uj for larch@yhetil.org; Mon, 16 Aug 2021 14:16:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFh9W-0000RX-IC for guix-patches@gnu.org; Mon, 16 Aug 2021 14:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFh9W-00053H-Bl for guix-patches@gnu.org; Mon, 16 Aug 2021 14:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFh9W-0002uH-5t for guix-patches@gnu.org; Mon, 16 Aug 2021 14:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50072] [PATCH WIP 4/4] upstream: Support updating git-fetch origins. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Aug 2021 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50072 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , Sarah Morgensen , 50072@debbugs.gnu.org Received: via spool by 50072-submit@debbugs.gnu.org id=B50072.162913772011114 (code B ref 50072); Mon, 16 Aug 2021 18:16:02 +0000 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> From: Maxime Devos 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629137768; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=yx3K2jknvMUYfwobNqENYOK1CSvN4GLhCxHEXri7HWk=; b=aT810BF5lTrCPZ5cI8eT+78bHxyQ8Unaw24BqyvmA9Vqkn43yorlmA1G5D6j0EPQAKzYfj BTUXW5gPF/0TAtzt17WnvtNZ8xZXq6O8obA6IV7bIChzsGI0s77QTCnoGz63IUItIRHO+e 6KgxMfqQI2R6TXzlYuDgdA5IwU8DBBbh/IvWM38zjnch6B/RrQ8GimdFF90I8UvzkVdO32 sSYBdPqaIxYIRzdN/oOqZzO+VZElZ+Y4jj92BpB0tQsqm7p+Bc3Uu25+FOuGgDaFuHQKCK DuZFLxRqWV09/4JmVrhWCop1cf2bjDGlspb0+dKW5QmP7UP5+dE/wIiJBec2vA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629137768; a=rsa-sha256; cv=none; b=Wf4c2mlZnzeNCz3r/Eixo3oce8pzsVO0F8xoWHPzKWVW5G7CMc8IZnXLO5CP9k/JjIcXJH JIE0WPpzf/p1WASeItTWt5dLCq1ZX6v6ekAwvqIo7EJOHcqqX/bGsCXjD0lqx8KEMi17Zb M9NRHsIyEcPM0/KxJ6vyc1md9H2HjkL5QJslEs/yBrdCxvCBJeFs8TqrbkoWNCh1/TLEwX 2DLTe63MZ01zkNcoVGjdSPVQodE/96KOfrAG/djRgpTdEc7T4jH2hm376VnG63er5TljL5 cdkl0jvIgd5fN91EcQ/eGwnna9a/QRchUkX/Pg2ZEGHJsrfiRh1Fm1ywo1GbKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=jCVZOL+K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=jCVZOL+K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 051C495D8 X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: mFNmq0nPd/yO --=-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/--