From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gEm/DXnG1mEVLQAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 11:37:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0N4sC3nG1mGW0AAA9RJhRA (envelope-from ) for ; Thu, 06 Jan 2022 11:37:45 +0100 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 E1F3110350 for ; Thu, 6 Jan 2022 11:37:44 +0100 (CET) Received: from localhost ([::1]:38168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5Q9O-0001sv-Ut for larch@yhetil.org; Thu, 06 Jan 2022 05:37:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Q4s-0006HR-Ga for guix-patches@gnu.org; Thu, 06 Jan 2022 05:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5Q4s-0002Zh-7G for guix-patches@gnu.org; Thu, 06 Jan 2022 05:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5Q4s-0002b4-6i for guix-patches@gnu.org; Thu, 06 Jan 2022 05:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50072] [PATCH WIP 0/4] Add upstream updater for git-fetch origins. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jan 2022 10:33: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Sarah Morgensen , 50072@debbugs.gnu.org, zimoun Received: via spool by 50072-submit@debbugs.gnu.org id=B50072.16414651309897 (code B ref 50072); Thu, 06 Jan 2022 10:33:02 +0000 Received: (at 50072) by debbugs.gnu.org; 6 Jan 2022 10:32:10 +0000 Received: from localhost ([127.0.0.1]:39733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Q41-0002ZY-QS for submit@debbugs.gnu.org; Thu, 06 Jan 2022 05:32:09 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:44036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Q3z-0002ZP-VV for 50072@debbugs.gnu.org; Thu, 06 Jan 2022 05:32:08 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id fNY52600e4UW6Th01NY6QT; Thu, 06 Jan 2022 11:32:06 +0100 Message-ID: <0b4a85a3bac9ea2df6baf3e5c6d182e497724817.camel@telenet.be> From: Maxime Devos Date: Thu, 06 Jan 2022 11:32:00 +0100 In-Reply-To: <87h7ahf9ym.fsf_-_@gnu.org> References: <20220104200643.43374-1-maximedevos@telenet.be> <20220104200643.43374-2-maximedevos@telenet.be> <867dbfcf9n.fsf_-_@gmail.com> <52e7be94d926aa06c2a0132090e8c212381e7900.camel@telenet.be> <86y23u768v.fsf@gmail.com> <86pmp6730h.fsf@gmail.com> <6fcbe52781b0678ea44db9beea2e1bd3f404b840.camel@telenet.be> <87h7ahf9ym.fsf_-_@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-z3AqLqjJVK7Rukm9oqBy" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1641465126; bh=rNU04pr4sCzG0rCNJ4Al5QiDDOUOsG7jnyiIrx3siM4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=mcMWAfymfeEy9qNL7K3FINwiQN22eOn67/8IcuLp35Hlg4NGAXh6gmTi9AMmHr26R JdYvzBKBc+0qhyR3AWMOMylzdvEDT1pgKA9Fhl6vna0SbDWwvwvtInVOrsXyQvV20p eEa11VP83ksEVaOoP2vgMKlUNl/WFlFi9oVMwKxGjeVxC+U/Akm/p6h/Znj01PBrop /Ij7xps6+vAue8CTIFF00/Bit39OIkBmW648TQ6RbPkPwWaXNKrAzB28N2CwzVtwlL D5RIGExfz0MJm/SFhL5LxHLbbe5OT0X2heQyrprXJMkDO+r0pKi3vUKNFPUPm+cet/ N4hG6WgOCPorQ== 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641465464; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=rNU04pr4sCzG0rCNJ4Al5QiDDOUOsG7jnyiIrx3siM4=; b=Rc5sYTyJ3OKFLJripH1ruu9n7WEavZ1xy9xmu92+QEXoDNID6+2+wd1SOq3uDajhB1v4dI WFQ/2Z3F9hs2TNa8bz4kxznZYM92To5azUs9pJKw9N6FjAlRLS77GzBMPeyGxsiJr5LJt8 fEYelbrKgNYHsi2d/i7f8z3fGpwG8AsTh8wbLC2rDZoZD2RMYBnC+4UqKwFAF6OqObeym1 uCudb0Rlg/Qs/JkMO7AyOGdM2jV4GbvY9TlLkwSOxkzP/h3htu1nhO5e3dIRxBoKDagEC1 GoR0IPoNoG0Nn7H3/DnUxjHfehUZ0gelNkYuWW34VHM8vsk+ClsM6uD6Di9tDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641465464; a=rsa-sha256; cv=none; b=GZvnL4detNGCeCr0TEKYfiTGkw5lhGl0n2qISnqGZGRMuEKgjXyMQIyxkfbGTPLHop0O7S /DIe73aR8PiuIZZ9iL6Js+AkwsDlT4zmMlZ9Cafs8KNJ55zBf65v8V2YxSd30L4RCEEd8Z C37t9GXo5wUH+9oshs5NNpqsL75eGvKtvVy5P4TjNM6CI3Pu3Q7rbvzTkENrUHYoXN/gPa /BOBNFVzQNGfiTeiqUB6FZYb2EHKyYN5BhI+B6kHkB9LuvitJ5NYO/5CRZWlEb3CFf2pb0 sVofrKmMgKAu8u5+1sX3iMfsTKyOBM31tzYhIVXeBTMpg7DfVvIRSJF4PhBgYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mcMWAfym; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mcMWAfym; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E1F3110350 X-Spam-Score: -2.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: haIbgDd4kvbH --=-z3AqLqjJVK7Rukm9oqBy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op do 06-01-2022 om 11:13 [+0100]: > That #:serializer would have a default value, probably =E2=80=9Cnone=E2= =80=9D, but no > =E2=80=9Cauto-detection=E2=80=9D as this amount of guessing would make fo= r a fragile > interface IMO. The auto-detection could be put into a separate procedure (define (guess-nar-or-none-serializer file) ; to be renamed (if directory? 'nar 'none)) so that 'file-hash*' is not fragile, but auto-detection can still happen if explicitely asked for: (file-hash* file #:serializer (guess-nar-or-serializer file)) WDYT? --=-z3AqLqjJVK7Rukm9oqBy 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+4iGRcl7gUCYdbFIBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kiIAPsH/S+Ni1aPpMMje0cTGQdeWyco Tsrh2i4drZcCMearewEAogGNLfkbLX3ngYyA2N0qWIgafgn4hwl1emOU36KBBQo= =E+Ak -----END PGP SIGNATURE----- --=-z3AqLqjJVK7Rukm9oqBy--