Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 2b / 18652492848cf9b17735202a811d0a5c51c29e
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 60D38431FBD\r
6         for <notmuch@notmuchmail.org>; Wed,  6 Aug 2014 16:28:11 -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 UqlTlqyuUAVe for <notmuch@notmuchmail.org>;\r
17         Wed,  6 Aug 2014 16:28:07 -0700 (PDT)\r
18 Received: from qmta11.emeryville.ca.mail.comcast.net\r
19         (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211])\r
20         by olra.theworths.org (Postfix) with ESMTP id 798C2431FAE\r
21         for <notmuch@notmuchmail.org>; Wed,  6 Aug 2014 16:28:07 -0700 (PDT)\r
22 Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89])\r
23         by qmta11.emeryville.ca.mail.comcast.net with comcast\r
24         id bbB41o0021vN32cABbU6ck; Wed, 06 Aug 2014 23:28:06 +0000\r
25 Received: from odin.tremily.us ([24.18.63.50])\r
26         by omta22.emeryville.ca.mail.comcast.net with comcast\r
27         id bbU51o00X152l3L8ibU6Nx; Wed, 06 Aug 2014 23:28:06 +0000\r
28 Received: by odin.tremily.us (Postfix, from userid 1000)\r
29         id B018B12BD996; Wed,  6 Aug 2014 16:28:05 -0700 (PDT)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31         t=1407367685; bh=2zJpkForLkaRNGvIYgOAjqLbqyaQoqHVVNo8zTTmMkU=;\r
32         h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33         b=Hqmt+mt2BIkCkJTBuRJKkydD7PWyL0lvX2Bh6WB66p/ocmdsMSylC7xg4K9nMiue3\r
34         AJq5tsiyCLfNYjVsQDnDWp10q2+nzY0LsIcvctjalNRdDXew2yVX3WFXrWv3E6bDiV\r
35         Rm4aMA6Cf9FnYXpCP7s0S2IEnVJlBgx4J9eu9eNA=\r
36 Date: Wed, 6 Aug 2014 16:28:05 -0700\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: David Bremner <bremner@debian.org>\r
39 Subject: Re: [PATCH v3] nmbug: Translate to Python\r
40 Message-ID: <20140806232805.GI31313@odin.tremily.us>\r
41 References:\r
42  <84447a0ed48412e1587761d560d18cb5affd4f66.1405897133.git.wking@tremily.us>\r
43         <878un36bd5.fsf@maritornes.cs.unb.ca>   <874mxqe7tx.fsf@maritornes.cs.unb.ca>\r
44 MIME-Version: 1.0\r
45 Content-Type: multipart/signed; micalg=pgp-sha1;\r
46         protocol="application/pgp-signature"; boundary="JIpyCmsTxyPLrmrM"\r
47 Content-Disposition: inline\r
48 In-Reply-To: <874mxqe7tx.fsf@maritornes.cs.unb.ca>\r
49 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
50         url=http://tremily.us/pubkey.txt\r
51 User-Agent: Mutt/1.5.23 (2014-03-12)\r
52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
53         s=q20140121; t=1407367686;\r
54         bh=+Kp7Awa4ywgQJh92/nkH4TabvHHKOKJ5W+1mn1OpyGY=;\r
55         h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
56         MIME-Version:Content-Type;\r
57         b=RX0Ndu/zp0DNxTmcbMCl3MM/1EgqYVs7Id6EgvmbuF/R086wSHpkzV8wH1Fx9FVnY\r
58         eOSPY2kCv0u5+PAgBYyJA4XFmg01v/wFg7iu5EpH78wqsJ7E6M+iw3FgpZ/BsnNd/G\r
59         wSzZ0Kqs2Dr/vwq4zLjiwGPT/RuqomLqh6b4PgI8rYYWmwN9p53qjSbPTfAe0ky8jF\r
60         mioX9S2MMIs+H8/FrJ6AKb/uskkNH6a5kVD7jUw9xhlN5954jzCRf8B3ND/MflMcvR\r
61         8BLfLDavdEfvaiCOX4LdwIaHsxmvNBLUEpEtO1VdNOdQJsbpMUXQiuzTErlHoLXg3r\r
62         Miqf7TzKZf1tQ==\r
63 Cc: notmuch@notmuchmail.org\r
64 X-BeenThere: notmuch@notmuchmail.org\r
65 X-Mailman-Version: 2.1.13\r
66 Precedence: list\r
67 List-Id: "Use and development of the notmuch mail system."\r
68         <notmuch.notmuchmail.org>\r
69 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
70         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
72 List-Post: <mailto:notmuch@notmuchmail.org>\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
74 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
75         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
76 X-List-Received-Date: Wed, 06 Aug 2014 23:28:11 -0000\r
77 \r
78 \r
79 --JIpyCmsTxyPLrmrM\r
80 Content-Type: text/plain; charset=utf-8\r
81 Content-Disposition: inline\r
82 Content-Transfer-Encoding: quoted-printable\r
83 \r
84 On Tue, Aug 05, 2014 at 10:16:10PM -0300, David Bremner wrote:\r
85 > David Bremner writes:\r
86 > > I did notice that merging was noticably noisier than I remembered.=20\r
87 >=20\r
88 > rejected pushes also seem noisier than before; I'm not sure the=20\r
89 > python backtrace adds anything here.\r
90 >=20\r
91 > To nmbug@nmbug.tethera.net:nmbug-tags\r
92 >  ! [rejected]        master -> master (fetch first)\r
93 > error: failed to push some refs to 'nmbug@nmbug.tethera.net:nmbug-tags'\r
94 > hint: Updates were rejected because the remote contains work that you do\r
95 > hint: not have locally. This is usually caused by another repository push=\r
96 ing\r
97 > hint: to the same ref. You may want to first integrate the remote changes\r
98 > hint: (e.g., 'git pull ...') before pushing again.\r
99 > hint: See the 'Note about fast-forwards' in 'git push --help' for details.\r
100 > Traceback (most recent call last):\r
101 >   File "/home/bremner/config/scripts/nmbug", line 766, in <module>\r
102 >     args.func(**kwargs)\r
103 >   File "/home/bremner/config/scripts/nmbug", line 463, in push\r
104 >     _git(args=3Dargs, wait=3DTrue)\r
105 >   File "/home/bremner/config/scripts/nmbug", line 210, in _git\r
106 >     return _spawn(args=3Dargs, **kwargs)\r
107 >   File "/home/bremner/config/scripts/nmbug", line 193, in _spawn\r
108 >     args=3Dargs, status=3Dstatus, stdout=3Dstdout, stderr=3Dstderr)\r
109 > __main__.SubprocessError: ['git', '--git-dir', '/home/bremner/.nmbug', 'p=\r
110 ush'] exited with 1\r
111 \r
112 I can drop the backtrace and just print the SubprocessError, and just\r
113 show the traceback if the logging is set to =E2=80=98debug=E2=80=99.  If th=\r
114 at sounds\r
115 reasonable, I'll to it in v4.\r
116 \r
117 I'm not sure what the current nmbug shows in this case.  Do you want\r
118 me to prune the =E2=80=98hint=E2=80=99 lines too?  I usually find those to =\r
119 be pretty\r
120 informative, but the're not directly applicable to folks using nmbug\r
121 who prefer to ignore the underlying Git layer.  Ideally, we'd\r
122 translate them to apply to nmbug (=E2=80=9C=E2=80=A6(e.g. nmbug pull ...) b=\r
123 efore\r
124 pushing=E2=80=A6=E2=80=9D), but I can't think of a maintainable way to do t=\r
125 hat.\r
126 \r
127 Cheers,\r
128 Trevor\r
129 \r
130 --=20\r
131 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
132 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
133 \r
134 --JIpyCmsTxyPLrmrM\r
135 Content-Type: application/pgp-signature; name="signature.asc"\r
136 Content-Description: OpenPGP digital signature\r
137 \r
138 -----BEGIN PGP SIGNATURE-----\r
139 Version: GnuPG v2\r
140 \r
141 iQIcBAEBAgAGBQJT4roEAAoJEG8/JgBt8ol8vj8P/iB9b6J1eg/ePgiY7uvtGPXd\r
142 c+pzUaBrhyaEHDBdK33ajEZlz+b4V1A/cZ+mKQvYr4JaB/hutTnWI1vOWjUL10wd\r
143 8zEYH120jRWnK8kdto+jAd4IipKuLp5DbgiagxvHEpf4O2wbWq19dqmL9T+3zNCd\r
144 kNbiR6azJyRrxGe7J0rEpd0VV1P94pEmwdi7a/bfCZnJXUz7cDaI6tTzPH+AxkLi\r
145 ksyay5vNnioEEdsuWrtcEMNgulHmeTq5f5fVBlYX+8jQ3DZHH9fyMTrY6b1nB+T1\r
146 RSr70TlT0zvLVfnVLcSnUgHOgQ0YP02Wzpala4hdeusdDDtDbJ6kFoY6QEMYGpJa\r
147 Jy5mhaG30o6O5aPY6PNtqhyfs892MoxORqavIJjQWBbK+T5hsKe2/Ckw1rxve6HU\r
148 Cf+wGBdAQVGPH/Sa3vlHlemnzZzBQLOAbMCJxpRocrL4UXlCd1DZaEM92mTxvGR+\r
149 0Mr2FD4/FYWO0vw2pd7KabR69QrzvQBKrSM7l2O3ZxE8jyhLbm2QQebqAj0Bx+Ch\r
150 akzKTJAM/sUpUFIdNOOHii0H4a0eN/amaGY03mjTFRpjweHoDWdZRb1iodcnP+qJ\r
151 TWvdyVgA5qHrupQcFCHYZ7f1ATLmjDemnVRY/Yj9DjF2pEUfhbb7Dtv4drXhmt5H\r
152 1fQmJVCxpXstmTx+xJBT\r
153 =zonE\r
154 -----END PGP SIGNATURE-----\r
155 \r
156 --JIpyCmsTxyPLrmrM--\r