From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38320: Cuirass: Allow to use authenticated Git repositories as inputs Date: Tue, 26 Nov 2019 11:05:09 +0100 Message-ID: <87r21v9cmi.fsf@gnu.org> References: <875zjc8ciz.fsf@lassieur.org> <878so4t6mk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57422) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZXsQ-0005e4-Us for bug-guix@gnu.org; Tue, 26 Nov 2019 05:15:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZXjO-0001bm-Nh for bug-guix@gnu.org; Tue, 26 Nov 2019 05:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44581) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZXjO-0001bg-Ke for bug-guix@gnu.org; Tue, 26 Nov 2019 05:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZXjO-0007MH-Eg for bug-guix@gnu.org; Tue, 26 Nov 2019 05:06:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878so4t6mk.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 25 Nov 2019 14:42:11 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mathieu Othacehe Cc: 38320@debbugs.gnu.org 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.