From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: 38320@debbugs.gnu.org
Subject: bug#38320: Cuirass: Allow to use authenticated Git repositories as inputs
Date: Tue, 26 Nov 2019 11:05:09 +0100 [thread overview]
Message-ID: <87r21v9cmi.fsf@gnu.org> (raw)
In-Reply-To: <878so4t6mk.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 25 Nov 2019 14:42:11 +0100")
Hi Mathieu,
Mathieu Othacehe <m.othacehe@gmail.com> 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’s 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’d like to see that happen!
Thanks,
Ludo’.
next prev parent reply other threads:[~2019-11-26 10:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-22 9:51 bug#38320: Cuirass: Allow to use authenticated Git repositories as inputs Clément Lassieur
2019-11-25 13:42 ` Mathieu Othacehe
2019-11-25 13:46 ` Mathieu Othacehe
2019-11-28 23:46 ` Clément Lassieur
2019-11-26 10:05 ` Ludovic Courtès [this message]
2019-12-09 16:41 ` Mathieu Othacehe
2019-12-10 14:28 ` Ludovic Courtès
2019-12-11 0:28 ` Erik Edrosa
2019-12-12 13:13 ` Ludovic Courtès
2019-12-11 11:53 ` Mathieu Othacehe
2019-12-11 15:36 ` Clément Lassieur
2019-12-12 13:15 ` Ludovic Courtès
2020-02-04 9:16 ` Mathieu Othacehe
2020-02-04 12:58 ` Ludovic Courtès
2020-02-05 8:45 ` Mathieu Othacehe
2020-02-05 21:24 ` Ludovic Courtès
2020-02-06 15:16 ` Mathieu Othacehe
2020-02-06 17:17 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r21v9cmi.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=38320@debbugs.gnu.org \
--cc=m.othacehe@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.