Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 9c / ba3be06dd8e0a939ce86b0b33689ebcdb8023b
1 Return-Path: <tomi.ollila@iki.fi>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1702D431FD5\r
6         for <notmuch@notmuchmail.org>; Mon, 18 Nov 2013 09:55:10 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id dyd+18EBFJLK for <notmuch@notmuchmail.org>;\r
16         Mon, 18 Nov 2013 09:55:02 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id A61C3431FC7\r
19         for <notmuch@notmuchmail.org>; Mon, 18 Nov 2013 09:55:02 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 23D85100030;\r
22         Mon, 18 Nov 2013 19:54:53 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
25 Subject: Re: fix for failing tests with gmime 2.6.19\r
26 In-Reply-To: <1384100482-15453-1-git-send-email-david@tethera.net>\r
27 References: <1384100482-15453-1-git-send-email-david@tethera.net>\r
28 User-Agent: Notmuch/0.16+175~g19e97d6 (http://notmuchmail.org) Emacs/24.3.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Mon, 18 Nov 2013 19:54:52 +0200\r
34 Message-ID: <m2txf9ioib.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Mon, 18 Nov 2013 17:55:10 -0000\r
50 \r
51 On Sun, Nov 10 2013, David Bremner <david@tethera.net> wrote:\r
52 \r
53 > Although Jeffrey Stedfast fixed gmime bug 711305 amazingly quickly, it\r
54 > looks like many people still have to live with a buggy version of\r
55 > gmime for a while yet. Here is an opt-in fix that stops the test suite\r
56 > from failing; this is a simple fix for e.g. the debian build process.\r
57 \r
58 After looking throught all the comments and thinking about the options\r
59 I see the following 2 options\r
60 \r
61 1) Keep things as those currently are. Anyone who runs tests when \r
62    gmime 2.6.19 is in use will see some tests fail (and some may not have\r
63    a clue what's going on). We could mention this first thing in the NEWS\r
64    so that the "professional" users who run test *and* reads NEWS will\r
65    get the clue. \r
66 \r
67 2) Push the current patches to release branch *only* (maybe the test\r
68    could be changed to if [ pkg-config --exact-version=2.6.19 gmime-2.6 ] (*)\r
69    instead of checking the WORKAROUNDS flag so that users would not have\r
70    to bother (and some may not have a clue what's going on)). During merge\r
71    to master (as it has been done in the past) these changes would probably\r
72    be dropped.\r
73 \r
74 2b) Merge to master, release 0.17, follow gmime deployments, revert\r
75     patches.\r
76 \r
77 \r
78 IMHO for temporary problems there could be temporary cruft (which would\r
79 not be cruft if the problem wasn't temporary). The test system must\r
80 be as strict as it can be to ensure best failure coverage.\r
81 \r
82 Tomi\r
83 \r
84 \r
85 (*) The fastest (& most cruftiest) implementation:\r
86 \r
87 notmuch_reply_sanitize ()\r
88 {\r
89    if pkg-config --exact-version=2.6.19 gmime-2.6 >/dev/null\r
90    then\r
91         notmuch_reply_sanitize () {\r
92            # work around GMIME bug #711305\r
93             sed -e 's/^References:  /References: /'\r
94         }\r
95    else     \r
96         notmuch_reply_sanitize () {\r
97             cat\r
98         }\r
99    fi\r
100    notmuch_reply_sanitize # call just rewritten version of this function\r
101 }\r