Re: Use .authinfo for git credentials

2018-05-18 Thread Pierre Neidhardt
I've sent a patch to add the git:credential-netrc output: #31488. I went down the road of a new output because: - It's part of the same repository as git, so I wanted to avoid duplicating code and effort. - Users will not want to clutter their PATH with a collection of credentials, they will pr

Re: Use .authinfo for git credentials

2018-04-27 Thread Pierre Neidhardt
Yes, that sounds like the right approach. I'll look into packaging it then! -- Pierre Neidhardt The other line moves faster. signature.asc Description: PGP signature

Re: Use .authinfo for git credentials

2018-04-26 Thread Chris Marusich
Pierre Neidhardt 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 >

Re: Use .authinfo for git credentials

2018-04-25 Thread Efraim Flashner
On Wed, Apr 25, 2018 at 12:07:35PM +0200, Marius Bakke wrote: > Pierre Neidhardt writes: > > > Or else how do you people configure `git send-email' to not prompt for a > > password? > > I use 'msmtp' as the transport and have configured it to look up > passwords from 'password-store'. > > $ git

Re: Use .authinfo for git credentials

2018-04-25 Thread Marius Bakke
Pierre Neidhardt writes: > Marius Bakke writes: > >> I use 'msmtp' as the transport and have configured it to look up >> passwords from 'password-store'. >> >> $ git config --get-regexp sendemail.* >> sendemail.smtpserver /home/marius/.guix-profile/bin/msmtp >> sendemail.envelopesender auto > >

Re: Use .authinfo for git credentials

2018-04-25 Thread Pierre Neidhardt
Marius Bakke writes: > I use 'msmtp' as the transport and have configured it to look up > passwords from 'password-store'. > > $ git config --get-regexp sendemail.* > sendemail.smtpserver /home/marius/.guix-profile/bin/msmtp > sendemail.envelopesender auto From the (1)git-send-email man page:

Re: Use .authinfo for git credentials

2018-04-25 Thread Marius Bakke
Pierre Neidhardt writes: > Or else how do you people configure `git send-email' to not prompt for a > password? I use 'msmtp' as the transport and have configured it to look up passwords from 'password-store'. $ git config --get-regexp sendemail.* sendemail.smtpserver /home/marius/.guix-profile

Use .authinfo for git credentials

2018-04-25 Thread Pierre Neidhardt
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.