Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 9f / 9a40d9615b8d9bc454ed5249dd7fdd7ad8f5db
1 Return-Path: <wking@tremily.us>\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 7D668431FD5\r
6         for <notmuch@notmuchmail.org>; Sun,  6 Jul 2014 13:41:09 -0700 (PDT)\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\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id y3U-dTZKNLNR for <notmuch@notmuchmail.org>;\r
17         Sun,  6 Jul 2014 13:41:03 -0700 (PDT)\r
18 Received: from qmta14.westchester.pa.mail.comcast.net\r
19         (qmta14.westchester.pa.mail.comcast.net [76.96.59.212])\r
20         by olra.theworths.org (Postfix) with ESMTP id 6C7F5431FBD\r
21         for <notmuch@notmuchmail.org>; Sun,  6 Jul 2014 13:41:03 -0700 (PDT)\r
22 Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74])\r
23         by qmta14.westchester.pa.mail.comcast.net with comcast\r
24         id P8RP1o0051c6gX85E8h2wW; Sun, 06 Jul 2014 20:41:02 +0000\r
25 Received: from odin.tremily.us ([24.18.63.50])\r
26         by omta23.westchester.pa.mail.comcast.net with comcast\r
27         id P8h01o00C152l3L3j8h1ir; Sun, 06 Jul 2014 20:41:02 +0000\r
28 Received: from mjolnir.tremily.us (unknown [192.168.0.140])\r
29         by odin.tremily.us (Postfix) with ESMTPS id 41AA512700E3;\r
30         Sun,  6 Jul 2014 13:40:59 -0700 (PDT)\r
31 Received: (nullmailer pid 1893 invoked by uid 1000);\r
32         Sun, 06 Jul 2014 20:40:27 -0000\r
33 From: "W. Trevor King" <wking@tremily.us>\r
34 To: notmuch@notmuchmail.org\r
35 Subject: [PATCH 0/4] nmbug without an upstream repository (and init)\r
36 Date: Sun,  6 Jul 2014 13:40:18 -0700\r
37 Message-Id: <cover.1404678709.git.wking@tremily.us>\r
38 X-Mailer: git-send-email 1.9.1.353.gc66d89d\r
39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
40         s=q20140121; t=1404679262;\r
41         bh=+cvP3cYrvsGHloVpSmmVfUpoZxNmetpSLWzFLIH6iW0=;\r
42         h=Received:Received:Received:Received:From:To:Subject:Date:\r
43         Message-Id;\r
44         b=i+EBZdrUqp68ZzXQw9ziZcYHtyZUW/BNzFHrwosKE87oysbGP+o48WtKuf2Y3/Cdr\r
45         3ESp91Qil4yl2GoNhP3ORluE5DfnwR+IE0H7WbNHfh4G46r6nKLHt3zf50KDem4NLa\r
46         vRSQBeIWxInJGiw5VpmWkPc2vSM1IXSP3GOyqE80uhbnQECIZYDpB3ZSGmEvMVt+r4\r
47         kU8jeMKpUo9GJBVrR7UDwckBmBh16KKtP+ho33iVgl6SQrNt4g9YKYQETliFYy0/xv\r
48         0BwyislI3pJZHXRW9mEbUX9W1fHNZAelvmtP4iwu5ZNA7F7nTWIaVj5b91A1QWWQJe\r
49         p2IEgFH8380sQ==\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sun, 06 Jul 2014 20:41:09 -0000\r
63 \r
64 Currently 'nmbug status' errors out if there is no @{upstream} branch.\r
65 To support folks who are just using nmbug locally, add exit code\r
66 checking and stderr catching to handle this case appropriately.  The\r
67 final commit isn't closely related, but it allows folks to easily\r
68 initialize nmbug repositories (e.g. if they want to version-controll\r
69 *all* their tags, or tags for a different project).  After this\r
70 series, you can run something like:\r
71 \r
72   export NMBGIT=/tmp/nmbug\r
73   nmbug init\r
74   export NMBPREFIX=''\r
75   nmbug status\r
76   nmbug commit\r
77 \r
78 to create a new repository with all your tags.  Replace the NMBPREFIX\r
79 with something else (e.g. NMBPREFIX='myproject::') to only track tags\r
80 for a particular project.  You could also define aliases to set the\r
81 appropriate environment variables on the fly:\r
82 \r
83   $ alias mpbug='NMBGIT=/tmp/nmbug NMBPREFIX="myproject::" nmbug'\r
84   $ mpbug status\r
85 \r
86 W. Trevor King (4):\r
87   nmbug: Add a git_with_status helper function\r
88   nmbug: Handle missing @upstream in is_unmerged\r
89   nmbug: Catch stderr in is_unmerged\r
90   nmbug: Add an 'init' command\r
91 \r
92  devel/nmbug/nmbug | 49 +++++++++++++++++++++++++++++++++++++++++++------\r
93  1 file changed, 43 insertions(+), 6 deletions(-)\r
94 \r
95 -- \r
96 1.9.1.353.gc66d89d\r
97 \r