From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id j7TGOPdNcGBnywAAgWs5BA (envelope-from ) for ; Fri, 09 Apr 2021 14:52:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EDuhMfdNcGBzegAA1q6Kng (envelope-from ) for ; Fri, 09 Apr 2021 12:52:07 +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 8CF832C489 for ; Fri, 9 Apr 2021 14:52:07 +0200 (CEST) Received: from localhost ([::1]:40522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUqcI-0003Gu-KG for larch@yhetil.org; Fri, 09 Apr 2021 08:52:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUqZJ-0001Yp-Su for guix-patches@gnu.org; Fri, 09 Apr 2021 08:49:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUqZJ-0007Jw-L1 for guix-patches@gnu.org; Fri, 09 Apr 2021 08:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUqZJ-0005cf-J9 for guix-patches@gnu.org; Fri, 09 Apr 2021 08:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47670] [PATCH 0/2] Add updater for packages hosted as SourceHut Git repositories Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Apr 2021 12:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?L=C3=A9o?= Le Bouter , 47670@debbugs.gnu.org Received: via spool by 47670-submit@debbugs.gnu.org id=B47670.161797249021555 (code B ref 47670); Fri, 09 Apr 2021 12:49:01 +0000 Received: (at 47670) by debbugs.gnu.org; 9 Apr 2021 12:48:10 +0000 Received: from localhost ([127.0.0.1]:49238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUqYU-0005bb-CP for submit@debbugs.gnu.org; Fri, 09 Apr 2021 08:48:10 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:42032 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUqYS-0005b3-AN for 47670@debbugs.gnu.org; Fri, 09 Apr 2021 08:48:09 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617972480; bh=pLC1Qi3rV/IlcuHE81KS0Enb1/3azOtaq2a7NXRJ+jM=; h=From:To:Subject:In-Reply-To:References:Date; b=EALnSj5lQ6dnwKFk6PNrA9kulAw1sUhmN+vLk9dU2sfncu3NqSPUPtW8f3xV0t7S7 VL0dqv5ejQcaWnjlZK4VSx9K20II9dP09nPXTYbgEkHoLpatwNwyHQF7jm5/SkVroh YtpSj/NzHBg0Q6KLcAOKJZJiM5wZ+nA4tVin+XcQ= In-Reply-To: <87fszzwryv.fsf@yoctocell.xyz> References: <6b8ddedae2addf01efa57dcf3a6723bed81bf076.camel@zaclys.net> <87im4vwtyd.fsf@yoctocell.xyz> <2513bc7a1e52872be1cd1b8ecde11e21a6f613e0.camel@zaclys.net> <87fszzwryv.fsf@yoctocell.xyz> Date: Fri, 09 Apr 2021 14:48:00 +0200 Message-ID: <87czv3wrnj.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1617972727; 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: content-transfer-encoding:content-transfer-encoding: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=LKXKqI3uH3p3PNvDVoDKZWuAnLJsNECs9OSkH7w7KTs=; b=YfsjAqEIrMlCSaMj8B+eD5QzVHoXjWnodmCuc9HLuh0VnzIdYV9ge9GstB/j6ReTJXLt+i zANYOqlDqCW3clzmZ1gsU/uWxOIOCCw52K7zecU9lYRod0WjisDYLmyu6U/lo4p8+14/kp QRcYSusWAbHEStMK+362CkHYZUF+7gLLRJphjpfp51VotFdMT5Lsr/2a4cCmqbnTqBTBAp kGdIuhFujniFPJOfQoMyVQHKQhAlICmSqLzjWMZtpCfttafM30fHje+1CM6yOxuLqn2Ini bpd03q+LvgjiwL+/sNYaQ9481upF97bAKbXIig7Zqhhr+/aPPe+zFEMAMFFbxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617972727; a=rsa-sha256; cv=none; b=Bp5OozY5a1Fyo1P7ssamQEbMHl95Qvl3Lb4dfQSjfoP2JGowZl8Qyw8bUJnOkgP+lngVyM O26B7wRd4DonHJMkYgFMr2GEL5G+ew4honswoObunKnXZzXxlZlSZ+Gw1yYDQf6eK6+Bob AzyAdchn4+7/bvpHrQmiBt6Sm9wncNy5rUfqQfcyvxc5vcHHvc11l/5a7UVZxuCVCElicI 2rVrGpPp5mlZtd8xvMDdHdpOojKCI5JX3LtaNWVeNpERzYnPUHszsW1GixpE2usuygQPTl prFBAJTjIWlAzwWp48MAqql3LPiz8P6rWzFIACyAmWaKYcDHBcLjg6QnBhjwmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=EALnSj5l; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=EALnSj5l; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 8CF832C489 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: bd8r4gQDt3Gv On Fri, Apr 09 2021, Xinglu Chen wrote: > On Fri, Apr 09 2021, L=C3=A9o Le Bouter via Guix-patches via wrote: > >> Is that an autogenerated tarball? I am under the impression that usage >> of those is banned in GNU Guix, and that there's a lint pass for it. >> What do you use these autogenerated tarballs for? Is the 'ls-remote' >> command not enough to replace the version and hash? > > The GitHub updater fetches the autogenerated tarball so that's what I > did as well. I wasn't aware about the fact that we would like to avoid > them. > >> GNU Guix uses shallow clones (AIUI) to save bandwidth, do you need >> this to generate the hash? I encourage you use the same shallow clone >> mechanism here, so it's more generic and not specific to Sourcehut. > > Ok, I will use shallow clones to make it more generic. Umm, the 'upstream-source-compiler' uses 'url-fetch' to fetch the url, I guess we would have to make it support Git repositories first.