Re: [PATCH v3 06/16] Prefer gpg2 in the test suite if available
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 10 Feb 2016 16:39:05 +0000 (11:39 +1900)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:05 +0000 (16:21 -0700)
7f/3c1d4fb2175dd62de1c3e3d1450ceb0afe71a0 [new file with mode: 0644]

diff --git a/7f/3c1d4fb2175dd62de1c3e3d1450ceb0afe71a0 b/7f/3c1d4fb2175dd62de1c3e3d1450ceb0afe71a0
new file mode 100644 (file)
index 0000000..f3a62e1
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <dkg@fifthhorseman.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id EE3E96DE179F\r
+ for <notmuch@notmuchmail.org>; Wed, 10 Feb 2016 08:39:11 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.017\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.017 tagged_above=-999 required=5\r
+ tests=[AWL=-0.017] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 474BsAD9_yoN for <notmuch@notmuchmail.org>;\r
+ Wed, 10 Feb 2016 08:39:06 -0800 (PST)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 17B606DE1104\r
+ for <notmuch@notmuchmail.org>; Wed, 10 Feb 2016 08:39:06 -0800 (PST)\r
+Received: from fifthhorseman.net (unknown [38.109.115.130])\r
+ by che.mayfirst.org (Postfix) with ESMTPSA id C5133F997;\r
+ Wed, 10 Feb 2016 11:39:03 -0500 (EST)\r
+Received: by fifthhorseman.net (Postfix, from userid 1000)\r
+ id 7AF832017F; Wed, 10 Feb 2016 11:39:05 -0500 (EST)\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+To: David Bremner <david@tethera.net>, Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH v3 06/16] Prefer gpg2 in the test suite if available\r
+In-Reply-To: <87lh6svl0b.fsf@maritornes.cs.unb.ca>\r
+References: <1454272801-23623-1-git-send-email-dkg@fifthhorseman.net>\r
+ <1454272801-23623-7-git-send-email-dkg@fifthhorseman.net>\r
+ <87lh6svl0b.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Notmuch/0.21+72~gd8c4f1c (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 10 Feb 2016 11:39:05 -0500\r
+Message-ID: <874mdgo6za.fsf@alice.fifthhorseman.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 10 Feb 2016 16:39:12 -0000\r
+\r
+On Wed 2016-02-10 06:54:12 -0500, David Bremner wrote:\r
+> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:\r
+>\r
+>>  \r
+>> +# choose the preferred GnuPG binary:\r
+>> +if command -v gpg2 > /dev/null; then\r
+>> +    GPG=gpg2\r
+>> +else\r
+>> +    GPG=gpg\r
+>> +fi\r
+>\r
+> It feels like this should maybe be in configure, to centralize the choice\r
+> of GPG default. At least, that would be consistent with python / python2\r
+\r
+I'm not sure what to do here.  Ultimately, i don't want there to be a\r
+choice because i plan on having /usr/bin/gpg provided by gpg2, so this\r
+will all be moot.\r
+\r
+So i'm not inclined to spend much more time/engineering effort on it,\r
+but if someone wants to propose moving these choices into configure, i'd\r
+be willing to review.\r
+\r
+   --dkg\r