From: Chris Marusich <cmmarusich@gmail.com>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Use .authinfo for git credentials
Date: Thu, 26 Apr 2018 20:11:17 -0700 [thread overview]
Message-ID: <87vacd2vje.fsf@gmail.com> (raw)
In-Reply-To: <87k1svmygw.fsf@gmail.com> (Pierre Neidhardt's message of "Wed, 25 Apr 2018 14:53:11 +0530")
[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]
Pierre Neidhardt <ambrevar@gmail.com> writes:
> I would like `git send-email` to use the credentials from ~/.authinfo.gpg
> to send patches to the Guix mailing list.
>
> While not related to Guix code per se, I'm posting this here because I
> primarily use `git send-email` for Guix and I suppose people around here
> must have an answer to that question.
>
> Or else how do you people configure `git send-email' to not prompt for a
> password?
>
> All I've found so far is this:
>
> https://github.com/git/git/blob/master/contrib/credential/netrc/git-credential-netrc
At first blush, this looks like the right solution given your problem
statement. I believe this is actually included in the Git source under
the contrib/credential subdirectory. We just don't build it today.
Perhaps you could submit a patch to build it? I wonder if it would be
simpler to define a separate package that builds it from the source
you've linked above, rather than trying to build it within the (already
rather large) Git package definition.
I type my password when I invoke git-send-email, and it makes me a
little sad inside every time, so I'd love to be able to use this!
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2018-04-27 3:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 9:23 Use .authinfo for git credentials Pierre Neidhardt
2018-04-25 10:07 ` Marius Bakke
2018-04-25 10:17 ` Pierre Neidhardt
2018-04-25 10:42 ` Marius Bakke
2018-04-25 19:02 ` Efraim Flashner
2018-04-27 3:11 ` Chris Marusich [this message]
2018-04-27 9:23 ` Pierre Neidhardt
2018-05-18 9:26 ` Pierre Neidhardt
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=87vacd2vje.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=ambrevar@gmail.com \
--cc=guix-devel@gnu.org \
/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.