[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38320: Cuirass: Allow to use authenticated Git repositories as input
bug#38320: Cuirass: Allow to use authenticated Git repositories as inputs
Wed, 05 Feb 2020 22:24:42 +0100
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Mathieu Othacehe <address@hidden> skribis:
> Here's a version with optional authentication support. I do not find it
> too intrusive, but let me know what you think!
Yup, looks good!
> From 4554baf59564eb0c31cfe235acd078d54afef6d7 Mon Sep 17 00:00:00 2001
> From: Mathieu Othacehe <address@hidden>
> Date: Mon, 3 Feb 2020 18:05:02 +0100
> Subject: [PATCH] git: Add ssh authentication support.
> SSH agent authentication method is used.
> * guix/git.scm (auth-method): New variable,
> (clone*): pass previous variable in clone options,
> (update-cached-checkout): pass previous variable in fetch options.
> +;; Default authentication method.
> +(define auth-method (and auth-supported?
> + (%make-auth-ssh-agent)))
Perhaps we should not call it at the top level, in case it throws an
exception or has unwanted side effects? I’d suggest moving it to
the procedures where it’s used. Thoughts?
Apart from that it LGTM, thanks!