[PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 14 / ddd2e2857ffbf28509a9ff00b1d070aecd396d
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 1A714431FBF\r
6         for <notmuch@notmuchmail.org>; Thu,  8 May 2014 16:35:36 -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.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001] 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 I730R8ovzKlO for <notmuch@notmuchmail.org>;\r
17         Thu,  8 May 2014 16:35:32 -0700 (PDT)\r
18 Received: from qmta02.westchester.pa.mail.comcast.net\r
19         (qmta02.westchester.pa.mail.comcast.net [76.96.62.24])\r
20         by olra.theworths.org (Postfix) with ESMTP id B99C4431FAE\r
21         for <notmuch@notmuchmail.org>; Thu,  8 May 2014 16:35:32 -0700 (PDT)\r
22 Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72])\r
23         by qmta02.westchester.pa.mail.comcast.net with comcast\r
24         id zay51n0021ZXKqc51bbYjP; Thu, 08 May 2014 23:35:32 +0000\r
25 Received: from odin.tremily.us ([24.18.63.50])\r
26         by omta21.westchester.pa.mail.comcast.net with comcast\r
27         id zbbX1n00T152l3L3hbbYD0; Thu, 08 May 2014 23:35:32 +0000\r
28 Received: by odin.tremily.us (Postfix, from userid 1000)\r
29         id F0F1A119462C; Thu,  8 May 2014 16:35:30 -0700 (PDT)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31         t=1399592130; bh=aRdBuS6FLx5bdsHswaQ01NtySi9LTBtp5JFUeWfk2KM=;\r
32         h=Date:From:To:Subject:References:In-Reply-To;\r
33         b=i+tcxvL+w49NyimtEeGfPYri6u8F4s2OTMBBL1ICzyw/RSf7/Wlot6/Y9OZpVPh78\r
34         Mg1jyhA86nx+2Yp5P456jlWlUfE+Bw5NhICL+lfl7Fob66rbqr2j4/xF23Zou0OZEr\r
35         cOPIesAL0VPlmSswqkZXN8mNit/GntrpRhrntBK0=\r
36 Date: Thu, 8 May 2014 16:35:30 -0700\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: Re: Submodules for language bindings (was: Github?)\r
40 Message-ID: <20140508233530.GV28634@odin.tremily.us>\r
41 References: <87iopgkaiz.fsf@nikula.org> <E1WiJsj-0004mz-VK@teckel.deptj.eu>\r
42         <20140508101325.GC23124@vilya.m0g.net>\r
43         <CA+kKtKA8Q5z6Pys9RAumLTiJvmGwWYKGXDkKr9Mh_6ecV-7sdA@mail.gmail.com>\r
44         <CA+kKtKCP8Oo2sHz5Cd0+=BmS9UK=b2h9GrGopUFwWZ=GJUXqyA@mail.gmail.com>\r
45         <20140508203019.GA2374@chitra.no-ip.org>\r
46         <20140508212100.GD23124@vilya.m0g.net>\r
47         <20140508220046.GB2374@chitra.no-ip.org>\r
48         <20140508222931.GU28634@odin.tremily.us>\r
49         <20140508224527.GC2374@chitra.no-ip.org>\r
50 MIME-Version: 1.0\r
51 Content-Type: multipart/signed; micalg=pgp-sha1;\r
52         protocol="application/pgp-signature"; boundary="/neOAU127r7zg3jS"\r
53 Content-Disposition: inline\r
54 In-Reply-To: <20140508224527.GC2374@chitra.no-ip.org>\r
55 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
56         url=http://tremily.us/pubkey.txt\r
57 User-Agent: Mutt/1.5.23 (2014-03-12)\r
58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
59         s=q20140121; t=1399592132;\r
60         bh=iRsOfteew/yMq/Y1osERG8OqsMdNztP7WabGKVazlZg=;\r
61         h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
62         MIME-Version:Content-Type;\r
63         b=OWQ5wt9YGC3xxtcL8sXdTqF8z0IERhJ3O1w7yhoT/eGiKnah12ppAWiP+vLMH2EU1\r
64         l759Ter968dU/T50zvIp0xdTYbQkAkla7AkG51WIvifbeq5hL+dzdiJ7MnF/cmJPZ4\r
65         5KHGmLIhuIklrbm+kspvWBNPJxGxWTN5x7nA1uewzWO8C3N1KPHlktqwnXHhaa6TaM\r
66         4yx25T73lUCBhCCLU5LYmIKZbus9677l540YP/TWKQecYxbGIgehSeDQu85BcgGtrQ\r
67         +OxDamc45s3rCAs73+LHCJNxGLND72O2uYe1YGHCFxGffEbJtTyQqBKH1Z/KTDAUrc\r
68         1oDXw38PUlvmA==\r
69 X-BeenThere: notmuch@notmuchmail.org\r
70 X-Mailman-Version: 2.1.13\r
71 Precedence: list\r
72 List-Id: "Use and development of the notmuch mail system."\r
73         <notmuch.notmuchmail.org>\r
74 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
75         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
76 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
77 List-Post: <mailto:notmuch@notmuchmail.org>\r
78 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
79 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
80         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
81 X-List-Received-Date: Thu, 08 May 2014 23:35:36 -0000\r
82 \r
83 \r
84 --/neOAU127r7zg3jS\r
85 Content-Type: text/plain; charset=utf-8\r
86 Content-Disposition: inline\r
87 Content-Transfer-Encoding: quoted-printable\r
88 \r
89 On Fri, May 09, 2014 at 12:45:27AM +0200, Suvayu Ali wrote:\r
90 > On Thu, May 08, 2014 at 03:29:31PM -0700, W. Trevor King wrote:\r
91 > > On Fri, May 09, 2014 at 12:00:46AM +0200, Suvayu Ali wrote:\r
92 > > > One of my TODOs is to also package the ruby bindings, and\r
93 > > > notmuch-vim.  The only thing preventing me now is my\r
94 > > > unfamiliarty with ruby, and Fedora packaging guidelines for\r
95 > > > ruby-gems.\r
96 > >=20\r
97 > > I think this is one argument argument in favor of submodules,\r
98 > > because they make it easy to treat the bindings as separate\r
99 > > packages.  Once you have separate packages, it's easy to delegate\r
100 > > packaging (e.g. =E2=80=9CI don't use the Ruby bindings, so I'm not going\r
101 > > to maintain the Ruby-binding package.  I'll leave that to Alice,\r
102 > > who likes Ruby, but is less familiar with $distro's Python\r
103 > > packaging=E2=80=9D).\r
104 >=20\r
105 > Well as far as my understanding of rpm goes, sub-packages are\r
106 > prefered here rather than independent packages.  I believe the\r
107 > reason is again easier dependency tracking[1]; all sub-packages\r
108 > share the same source rpm, so no explicit `Requires' in the spec\r
109 > file.\r
110 \r
111 It looks like sub-packages share a single spec file with the main\r
112 package [1].  That means you'll have to have authors with the full\r
113 range of binding-language expertise to bump that spec file (assuming\r
114 there are any changes that require bumps).  For example, Gentoo's\r
115 Python eclasses have gone through a few revisions in the last year or\r
116 two, and I wouldn't expect one person to stay on top of the latest\r
117 packaging styles for every language with notmuch bindings.  I think\r
118 the benefit of having separate packages (and spec files, or ebuilds,\r
119 or whatever) is that you can release notmuch-0.18 without worrying\r
120 about all those bindings, and leave it to the other maintainers (who\r
121 might include you) to independently package notmuch-python-0.18,\r
122 notmuch-ruby-0.18, notmuch-go-0.18, =E2=80=A6.  With only three sets of\r
123 bindings, it doesn't really matter, but I think you'll want the weaker\r
124 coupling of stand-alone packages by the time you hit a dozen\r
125 languages.  =E2=80=9CBump an explicit 'Requires'=E2=80=9D certainly seems l=\r
126 ike a lower\r
127 barrier than =E2=80=9Cpackage Go bindings idiomatically for Fedora=E2=80=9D=\r
128  ;).\r
129 \r
130 Cheers,\r
131 Trevor\r
132 \r
133 [1]: http://www.rpm.org/max-rpm/ch-rpm-subpack.html\r
134 \r
135 --=20\r
136 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
137 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
138 \r
139 --/neOAU127r7zg3jS\r
140 Content-Type: application/pgp-signature; name="signature.asc"\r
141 Content-Description: OpenPGP digital signature\r
142 \r
143 -----BEGIN PGP SIGNATURE-----\r
144 Version: GnuPG v2.0.22 (GNU/Linux)\r
145 \r
146 iQIcBAEBAgAGBQJTbBTAAAoJEKKfehoaNkbtjg4P/jSgmNZbgGA8Br8BfeG0E67f\r
147 aDGqCJZdl07/oo943s+OEkFKUIKvkt/meMOW2117ULR8S9I5khhU579Ni6o0XFHG\r
148 dPWVDt62cbK6DSdywnk/QfVuZQCQI89q2sfqo8HCdTmyj2FNw2iqP46UJ3pGKNe1\r
149 UB06jSqZzlSO+GNwXRw20XuIL6kxgksB6dfWFOx0vGFx9XquCQjh7MWAUdk1c+JO\r
150 U+y8xbWLCTFRFuxwFxmr/8qdSqhg0Ju9aLEhJ/eHXgjIuvL98epRSG02cddqsp5t\r
151 nFfA+UVDrHnPZEmy6YavIuv9Jvp44nq+HIlgVwnt1/OjGtl74a3tfYjQ5wPh93dD\r
152 Mc4H48RAurHZu1PkmSlaze9ihluOl7uurg0maGkXj9wVJ0xK6BzKcDape8oZFJnb\r
153 Zyvz2sZAMS9Md/3vJ/8Do4M6EYUQp8PmTZ28n3WZp0jcOdCG+RRf4/G3jihC208C\r
154 fSuto8HNruv3tRjzZuVprsaoWTnRoGjIdonM6C1yffGAmGb4lPtGjcxjCLLbFam/\r
155 v1CuMm/jEgBoPosS4o2J7NBXH6owpvY5VAfCSH+gchpCFZvk3h4+3HOJNa000lqv\r
156 5EoFOwNbyT/Jhe1FaLS0zFEsOVtmm23AGw4E7VHH3JjyMHCh1F99hFVycuoRdBFi\r
157 0TGR0xW/d9Rda6HtIk2+\r
158 =watZ\r
159 -----END PGP SIGNATURE-----\r
160 \r
161 --/neOAU127r7zg3jS--\r