Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 4a / 1b96e69758ad62b923f8ee790f1e46670560ae
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 BBB0F431FC7\r
6         for <notmuch@notmuchmail.org>; Tue, 15 Jul 2014 17:12:44 -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 DIk0qom4iqB8 for <notmuch@notmuchmail.org>;\r
17         Tue, 15 Jul 2014 17:12:41 -0700 (PDT)\r
18 Received: from qmta14.emeryville.ca.mail.comcast.net\r
19         (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212])\r
20         by olra.theworths.org (Postfix) with ESMTP id F17B2431FC0\r
21         for <notmuch@notmuchmail.org>; Tue, 15 Jul 2014 17:12:40 -0700 (PDT)\r
22 Received: from omta07.emeryville.ca.mail.comcast.net ([76.96.30.59])\r
23         by qmta14.emeryville.ca.mail.comcast.net with comcast\r
24         id SntS1o0031GXsucAEoCgqc; Wed, 16 Jul 2014 00:12:40 +0000\r
25 Received: from odin.tremily.us ([24.18.63.50])\r
26         by omta07.emeryville.ca.mail.comcast.net with comcast\r
27         id SoCf1o00K152l3L8UoCfZW; Wed, 16 Jul 2014 00:12:40 +0000\r
28 Received: by odin.tremily.us (Postfix, from userid 1000)\r
29         id 6645112951F9; Tue, 15 Jul 2014 17:12:39 -0700 (PDT)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31         t=1405469559; bh=N3LGpV7sxu8Sx6w1J7XrxaAVulliLF6XWR7Rxnx3cEY=;\r
32         h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33         b=RILcz77ipJ/0Bp45i0bGfx6IkjMJufzLJZSKMzZ+930SHeyNl6AZTozGrKJaULzgm\r
34         SMoK3k0UlLgm2sGnvoLyw6A6h1TrbsdtVobLcmKqH3BPjviSwZL9pL5/SRXIuXZrH5\r
35         ouo3QOwV2daglmPdHW+WKE4v9k3igRbO/a/jX1WI=\r
36 Date: Tue, 15 Jul 2014 17:12:39 -0700\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: David Bremner <david@tethera.net>\r
39 Subject: Re: [PATCH 4/4] nmbug: Add an 'init' command\r
40 Message-ID: <20140716001239.GH30232@odin>\r
41 References: <cover.1404678709.git.wking@tremily.us>\r
42         <05ccd672f55444f74da62250e2305fb84fdc6c42.1404678709.git.wking@tremily.us>\r
43         <87y4vu6uvf.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="JI+G0+mN8WmwPnOn"\r
47 Content-Disposition: inline\r
48 In-Reply-To: <87y4vu6uvf.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=1405469560;\r
54         bh=QYInJY/5NQAUy323uCpTsUi3X1CKQgTW7bIx9KpKf9s=;\r
55         h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
56         MIME-Version:Content-Type;\r
57         b=jAwZDkX+fP2FLvtkd0ookylXjIa+bloZNT2jLl6HqASuktQF3wKPsmrccI1nSJclE\r
58         mMoHHIJx6wC7oKtg2EMf3haiGnc0FGKxwsIDlu5jM7gR6kK+arxJRvTSK22Uh8lsNg\r
59         1t4cRlimFYU00hhfhkw9nndv8Tmm6LpyCNmWTIbIIkxHSGJrPx+TziXLdX0yhcwRik\r
60         bgl70Xv89Kq0ZJ98F9A/j558YgFmerEzM6EEV/V0OTKOSmXHVVVthdeFnz9NxZedni\r
61         932Xz+7F6QaC0nqLHS8uWgGZjVWAUNgWbYDX5oMTV32a6PrBdjMKmv6G1tRvjb0H3R\r
62         yRoo/GkwStvjQ==\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, 16 Jul 2014 00:12:44 -0000\r
77 \r
78 \r
79 --JI+G0+mN8WmwPnOn\r
80 Content-Type: text/plain; charset=us-ascii\r
81 Content-Disposition: inline\r
82 Content-Transfer-Encoding: quoted-printable\r
83 \r
84 On Tue, Jul 15, 2014 at 08:54:28PM -0300, David Bremner wrote:\r
85 > "W. Trevor King" <wking@tremily.us> writes:\r
86 >=20\r
87 > > +sub do_init {\r
88 > > +  my $tempwork =3D tempdir ('/tmp/nmbug-init.XXXXXX', CLEANUP =3D> 1);\r
89 > > +  system ('git', 'init', '--separate-git-dir', $NMBGIT, $tempwork) =3D=\r
90 =3D 0\r
91 > > +    or die "'git init' exited with nonzero value\n";\r
92 > > +  git ('config', '--unset', 'core.worktree');\r
93 > > +  git ('config', 'core.bare', 'true');\r
94 > > +  # create an empty blob (e69de29bb2d1d6434b8b29ae775ad8c2e48c5391)\r
95 > > +  git ('hash-object', '-w', '--stdin');\r
96 > > +  git ( { GIT_WORK_TREE =3D> $tempwork }, 'commit', '--allow-empty',\r
97 > > +        '-m', 'Start a new nmbug repository' );\r
98 > > +}\r
99 > > +\r
100 >=20\r
101 >=20\r
102 > Shouldn't this empty blob already be created by the following line:\r
103 >=20\r
104 > my $EMPTYBLOB =3D git (qw{hash-object -t blob /dev/null});\r
105 >=20\r
106 > Or is the key point to write it into the database?  Anyway I like my\r
107 > hack slightly better than yours ;).\r
108 \r
109 We need to write it to the database.  I'll use /dev/null in v2,\r
110 though.\r
111 \r
112 Cheers,\r
113 Trevor\r
114 \r
115 --=20\r
116 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
117 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
118 \r
119 --JI+G0+mN8WmwPnOn\r
120 Content-Type: application/pgp-signature; name="signature.asc"\r
121 Content-Description: OpenPGP digital signature\r
122 \r
123 -----BEGIN PGP SIGNATURE-----\r
124 Version: GnuPG v2\r
125 \r
126 iQIcBAEBAgAGBQJTxcN2AAoJEG8/JgBt8ol8h9EP/jAohUiNTaDCtAMiUYnq9kpK\r
127 5X1eqrcf5SoZ6K3e4bT+bbgBryIl0EGCLUvNCV0Rj/h32wGHPaHc7o1egMcQEBKU\r
128 q6WGja0oLs+nn0qXRPPgqJ4kJhgGT9C+RdJhIPnoGfyDA2VN/81Zr/eE74kxlHzH\r
129 /4PfSZK2Tzy2rALHAa13tct627P1eX23Yv/cRa2Vka4Qha4i9aA7NBCgspMGE1AZ\r
130 JMZ0DoCMZnnTjY5UbkV2TaGyn5MyjRpvTD2FnyQeTngmFKEC/PQba+l+PQV+XKAI\r
131 yxlRQHIFNKE0WPgWJaaUqhcInnhIGM3gclWs890Gg0unfI1QB76OlgDvYtvjAoZI\r
132 tgNEGLdEWs3IwdynL5KkLyPY8YMX9jsMd2+qmWJUk3oyutC8z9sqNeEs8jPKhNoa\r
133 gqB4Yp5A3MKBkZFq1rzZqasA9reB/1JarSHMIEAK9rxpACZiGe2y1799+hHkq5O7\r
134 czU2vMPTreGB1QYe9TwTuzVRpwmXAuXuusjYkw/RccVwI5P15NU2jL+9FPGI888V\r
135 +pKpzQCUYbYXFno6006uq/OlH7xb/2WSldeQ0GMPHPEAUnKIgf04sa7FNCD1CJ95\r
136 FBng6I5Ya2GsuXZHFeWqdBN8xAxLmQsK1+iIpZp+lo46jS0Fxg1kxpKRfcs/od7i\r
137 1nyFsBqe5/QlMaslDb1N\r
138 =vjXB\r
139 -----END PGP SIGNATURE-----\r
140 \r
141 --JI+G0+mN8WmwPnOn--\r