From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iLqvNUsdA180QgAA0tVLHw (envelope-from ) for ; Mon, 06 Jul 2020 12:47:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id zsCBMUsdA1+ICQAAB5/wlQ (envelope-from ) for ; Mon, 06 Jul 2020 12:47: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 4970494053D for ; Mon, 6 Jul 2020 12:47:07 +0000 (UTC) Received: from localhost ([::1]:34660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsQWY-0004hw-6o for larch@yhetil.org; Mon, 06 Jul 2020 08:47:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsQWT-0004bo-T1 for guix-patches@gnu.org; Mon, 06 Jul 2020 08:47:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsQWT-0004ga-J6 for guix-patches@gnu.org; Mon, 06 Jul 2020 08:47:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jsQWT-0005QG-Iy for guix-patches@gnu.org; Mon, 06 Jul 2020 08:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42225] [PATCH 0/5] Add 'guix git-authenticate' command Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Jul 2020 12:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42225 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 42225@debbugs.gnu.org Received: via spool by 42225-submit@debbugs.gnu.org id=B42225.159403958220786 (code B ref 42225); Mon, 06 Jul 2020 12:47:01 +0000 Received: (at 42225) by debbugs.gnu.org; 6 Jul 2020 12:46:22 +0000 Received: from localhost ([127.0.0.1]:33770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsQVq-0005PB-J4 for submit@debbugs.gnu.org; Mon, 06 Jul 2020 08:46:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsQVl-0005Ow-Si for 42225@debbugs.gnu.org; Mon, 06 Jul 2020 08:46:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53930) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsQVg-0004dP-Cf; Mon, 06 Jul 2020 08:46:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51088 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jsQVf-0004pG-Vv; Mon, 06 Jul 2020 08:46:12 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200706083755.11778-1-ludo@gnu.org> <86y2nxro6j.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Messidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 06 Jul 2020 14:46:10 +0200 In-Reply-To: <86y2nxro6j.fsf@gmail.com> (zimoun's message of "Mon, 06 Jul 2020 11:24:36 +0200") Message-ID: <871rloke0d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -1.01 X-TUID: IrehFfBhB/Yb Hi, zimoun skribis: > On Mon, 06 Jul 2020 at 10:37, Ludovic Court=C3=A8s wrote: > >> I put the =E2=80=9CInvoking=E2=80=9D node under =E2=80=9CDevelopment=E2= =80=9D, not sure if that=E2=80=99s >> the best place. Also, I considered doing a =E2=80=98guix git=E2=80=99 c= ommand, >> of which =E2=80=98authenticate=E2=80=99 would be one sub-command and may= be =E2=80=98clone=E2=80=99 >> another one. But for =E2=80=98clone=E2=80=99 I thought that =E2=80=98gu= ix download=E2=80=99 would >> be a better fit. So I concluded that =E2=80=98guix git-authenticate=E2= =80=99 was >> a good choice in the end. > > On the topic of other subcommands, I have in mind log and tag. > > Currently, I have > > export CKT=3D~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmis= yr27shj7apsnalwq > export SRC=3D~/src/guix > > and I run "git -C $CKT" or "git -C $SRC", for example: > > git -C $SRC log | grep Update > > And I would like to be able to simply run; > > guix git log | grep Update Good point. Though hopefully this particular use case (finding new package updates) is well served by =E2=80=98guix pull --news=E2=80=99, no? It=E2=80=99s not entirely clear to me what a =E2=80=98guix git log=E2=80=99= command would do in fact: show the log for the =E2=80=98guix=E2=80=99 channel? For all channel= s (how?)? For the specified channel? For what commit range? > And the same for tagging commits. Which implies also improve what "guix > pull" and "guix time-machine" accept. Tagging commits is tricky because users only have a *cached* checkout. So if we want persistent tags, we=E2=80=99ll have to develop a separate mechanism. Could be useful, though perhaps redundant with the (unimplemented) idea of tagging generation? In the short term, we don=E2=80=99t need to solve all these problems: we can also go for =E2=80=98git-authenticate=E2=80=99 and rename it once we have t= hese other commands. Thanks, Ludo=E2=80=99.