[PATCH] perf: Clean corpus and caches in distclean, not clean
authorAustin Clements <amdragon@MIT.EDU>
Tue, 22 Oct 2013 00:55:38 +0000 (20:55 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:57:30 +0000 (09:57 -0800)
95/70a747cc70a18baee651ed7d72416d8190b0ab [new file with mode: 0644]

diff --git a/95/70a747cc70a18baee651ed7d72416d8190b0ab b/95/70a747cc70a18baee651ed7d72416d8190b0ab
new file mode 100644 (file)
index 0000000..ced519a
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <amdragon@mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 960A5431FC7\r
+       for <notmuch@notmuchmail.org>; Mon, 21 Oct 2013 17:55:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id neyv-Tc01crG for <notmuch@notmuchmail.org>;\r
+       Mon, 21 Oct 2013 17:55:49 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu\r
+       [18.7.68.35])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4C1FA431FAF\r
+       for <notmuch@notmuchmail.org>; Mon, 21 Oct 2013 17:55:49 -0700 (PDT)\r
+X-AuditID: 12074423-b7fc98e0000009a2-2b-5265cd125e54\r
+Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
+       by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id 96.BC.02466.21DC5625; Mon, 21 Oct 2013 20:55:46 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+       by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r9M0tiJ6025818; \r
+       Mon, 21 Oct 2013 20:55:44 -0400\r
+Received: from drake.dyndns.org\r
+       (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
+       [216.15.114.40]) (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r9M0tfb4007089\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Mon, 21 Oct 2013 20:55:43 -0400\r
+Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
+       (envelope-from <amdragon@mit.edu>)\r
+       id 1VYQG5-0002P4-BH; Mon, 21 Oct 2013 20:55:41 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] perf: Clean corpus and caches in distclean, not clean\r
+Date: Mon, 21 Oct 2013 20:55:38 -0400\r
+Message-Id: <1382403338-9200-1-git-send-email-amdragon@mit.edu>\r
+X-Mailer: git-send-email 1.8.4.rc3\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixG6noit0NjXI4PNhK4sbrd2MFtdvzmR2\r
+       YPJ4tuoWs8eWQ++ZA5iiuGxSUnMyy1KL9O0SuDL2TG1jLZjNXnHv4QemBsZ+ti5GTg4JAROJ\r
+       4x0nWCBsMYkL99YDxbk4hAT2MUq8WtrGDuFsZJRovraHBcK5wyTx/NssKGcuo8ScJX1g/WwC\r
+       GhLb9i9nBLFFBKQldt6dzQpiMwtYSlz92s4EYgsLuEmc6NnDDGKzCKhK3HkyHewOXgF7icfr\r
+       9zBC3KEksfDUNtYJjLwLGBlWMcqm5Fbp5iZm5hSnJusWJyfm5aUW6Zrp5WaW6KWmlG5iBAeH\r
+       i/IOxj8HlQ4xCnAwKvHwZlilBgmxJpYVV+YeYpTkYFIS5S0+DRTiS8pPqcxILM6ILyrNSS0+\r
+       xCjBwawkwrv3CFCONyWxsiq1KB8mJc3BoiTOe4vDPkhIID2xJDU7NbUgtQgmK8PBoSTBm34G\r
+       qFGwKDU9tSItM6cEIc3EwQkynAdo+BaQxbzFBYm5xZnpEPlTjLocff8+fWMUYsnLz0uVEue1\r
+       AhkkAFKUUZoHNwcW1a8YxYHeEuYVBKniASYEuEmvgJYwAS1xZgRbUpKIkJJqYDwz4SrPOzHT\r
+       PQ1+PAJSmj/LzlTGch2bKvZbRoE3Yyfn/hXT62pVH5a7Xf+5c+X/h0prnpfG3n7x8syhiuWS\r
+       u+rXcU5Xypm0yNjQp3AX054tBzdV2B05v+RdoahbU5fX8icZB66m/NZqYf8S2NYpxyN/pPvH\r
+       Fdd3FtcWPr/zx6e+WFH4xBMdCUYlluKMREMt5qLiRACmNXCzxQIAAA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 22 Oct 2013 00:55:55 -0000\r
+\r
+Previously, we cleaned the downloaded performance corpus and the\r
+cached indexes on 'make clean'.  This seems heavy-handed, since these\r
+take a long time to download, unpack, and index.  They also aren't\r
+make targets to begin with.  Move cleaning these to 'make distclean'.\r
+This isn't exactly the right meaning of "distclean", but it's closer.\r
+---\r
+ performance-test/Makefile.local | 3 ++-\r
+ 1 file changed, 2 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/performance-test/Makefile.local b/performance-test/Makefile.local\r
+index e47219a..d97e56d 100644\r
+--- a/performance-test/Makefile.local\r
++++ b/performance-test/Makefile.local\r
+@@ -39,4 +39,5 @@ $(TXZFILE):\r
+ download-corpus:\r
+       wget -O ${TXZFILE} ${DEFAULT_URL}\r
\r
+-CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.* $(dir)/corpus $(dir)/notmuch.cache.*\r
++CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.*\r
++DISTCLEAN := $(dir)/corpus $(dir)/notmuch.cache.*\r
+-- \r
+1.8.4.rc3\r
+\r