From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 26 05:05:19 2019 Received: (at 38320) by debbugs.gnu.org; 26 Nov 2019 10:05:19 +0000 Received: from localhost ([127.0.0.1]:50554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZXig-0007LE-RZ for submit@debbugs.gnu.org; Tue, 26 Nov 2019 05:05:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZXif-0007L0-7T for 38320@debbugs.gnu.org; Tue, 26 Nov 2019 05:05:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iZXia-0001Hc-5K; Tue, 26 Nov 2019 05:05:12 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=35816 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iZXiY-00041D-WB; Tue, 26 Nov 2019 05:05:11 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#38320: Cuirass: Allow to use authenticated Git repositories as inputs References: <875zjc8ciz.fsf@lassieur.org> <878so4t6mk.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Frimaire 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: Tue, 26 Nov 2019 11:05:09 +0100 In-Reply-To: <878so4t6mk.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 25 Nov 2019 14:42:11 +0100") Message-ID: <87r21v9cmi.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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38320 Cc: 38320@debbugs.gnu.org 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: -3.3 (---) Hi Mathieu, Mathieu Othacehe skribis: >> I think there are small modifications to do to (guix git) and (git >> clone). > > I did integrate a part of libgit2 ssh authentification mechanism in > Guile-Git in 2017. You can find it in (git fetch) module. > > It is currently broken, because of a regression. See > https://lists.gnu.org/archive/html/guix-devel/2019-11/msg00415.html. Oh I missed that message of yours. Do you have a complete example using that functionality that I could use as a test? It would be great to have a test for that in Guile-Git. We could use Guile-SSH, when it=E2=80=99s available, to spawn an SSH server. > What would be missing to have support for authenticated Git repositories > as Cuirass inputs is: > > * Fix the regression mentionned above. > > * Add support for a fetch-options argument in clone method of (git clone). > > * In (guix git), "latest-repository-commit" method would take parameters > to setup ssh authentication (such as ssh private key path at least) and > pass them to "fetch" and "clone" methods of Guile-Git. > > * Finally in Cuirass, the ssh authentication parameters could be > specified in the specification file (maybe for each input?) and passed > to "latest-repository-commit" method accordingly. I=E2=80=99d like to see that happen! Thanks, Ludo=E2=80=99.