From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Use .authinfo for git credentials Date: Thu, 26 Apr 2018 20:11:17 -0700 Message-ID: <87vacd2vje.fsf@gmail.com> References: <87k1svmygw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBtnC-0002Na-Ht for guix-devel@gnu.org; Thu, 26 Apr 2018 23:11:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBtnB-0006tp-Hk for guix-devel@gnu.org; Thu, 26 Apr 2018 23:11:26 -0400 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:37260) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBtnB-0006sm-AZ for guix-devel@gnu.org; Thu, 26 Apr 2018 23:11:25 -0400 Received: by mail-pf0-x233.google.com with SMTP id p6so399703pfn.4 for ; Thu, 26 Apr 2018 20:11:24 -0700 (PDT) In-Reply-To: <87k1svmygw.fsf@gmail.com> (Pierre Neidhardt's message of "Wed, 25 Apr 2018 14:53:11 +0530") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 > 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-cred= ential-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! =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlrilNYACgkQ3UCaFdgi Rp2GHBAAppo3BqDvYsQ96B2dy/oEJSYd1ZQwbQJ7AhNwOfxq1X9l5tNqjqGy1qVy sWHR0MraQKV7/4ugBNqvEJxwSpPIE2cyFug5cUzcBYOx4xqhWWsTozjmwZGkpAOF /Bhf/WMJET7Y8dVRRwZefb4v3i983nAhSzYWOr/4HYcMYG9OS0FUTZ6/SUwcWgIz mN2ReRBIlnNTFLkXn/JAxnDnp9IM3ETTfsa4OjC0AnQvOOJQug28e+/9aVdR5Sb0 cZFX5KmIR52ib7HfQXxM1Q04HE3ZQBaF9cyJScCpzH6RnRjY/K2qBybgVDx/2Af+ 3YZt82W7AB4YKauXjU/nhJKOPbiXVyetxnGEx4Zo9z5AaekWd5WdceFgTNe37Qhv ZMhc8qJ3500Mfx1Tq3ytrp/GWA8uHQ+OquUi0FGfnZrdhv191mlworKJozMRc7Cf u+fGlzMMatGKzp1CXKdBQZvOvja9Xk+3hS9k7PpHnWN+dB3+Y7Ziscf3Nh7Jyp+U 6r9laniW9L75ZI0d24/BnAupef6SzHWaFJGDSSvjr96AB3IWUjzyVjFa1/bG/g0g ZWWQGFEqUgdQxW+BYlJh8Lisz2v3s0+iYPL74WNXeHG2mmobNBsOnjmA25MQ2uG1 rCLfu7D9jJYQHIC6+4uMeMUBqo2P0B+Hpa6mtyVlqZfBIMK9o7g= =VfnC -----END PGP SIGNATURE----- --=-=-=--