[PATCH v3 0/5] Add 'config list' command
authorPeter Wang <novalazy@gmail.com>
Fri, 6 Apr 2012 01:48:01 +0000 (11:48 +1000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:03 +0000 (09:46 -0800)
7a/037c02c374e379fabf49afa37c20f29b97cc57 [new file with mode: 0644]

diff --git a/7a/037c02c374e379fabf49afa37c20f29b97cc57 b/7a/037c02c374e379fabf49afa37c20f29b97cc57
new file mode 100644 (file)
index 0000000..c1768eb
--- /dev/null
@@ -0,0 +1,82 @@
+Return-Path: <novalazy@gmail.com>\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 6E9AC431FB6\r
+       for <notmuch@notmuchmail.org>; Thu,  5 Apr 2012 18:48:36 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 ear6HSaUi9PJ for <notmuch@notmuchmail.org>;\r
+       Thu,  5 Apr 2012 18:48:36 -0700 (PDT)\r
+Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com\r
+       [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 00B30431FAE\r
+       for <notmuch@notmuchmail.org>; Thu,  5 Apr 2012 18:48:35 -0700 (PDT)\r
+Received: by pbcuo1 with SMTP id uo1so2418745pbc.26\r
+       for <notmuch@notmuchmail.org>; Thu, 05 Apr 2012 18:48:34 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
+       bh=DxsIxyyPrOTLqrs0DsGhDkVWaDK0yxW7CvwvHHPb9Js=;\r
+       b=TBSYxFloxxs84GGKAwj014+VLbnLzyWtjQIqHT6xW9q0TmgHqzg3hUxzv3dTw/0sDZ\r
+       9RSBKDoiPfNvX9v12K3IZCTdN53hM3VyfRhxdfHl3oHOt/k4Pk/Fsno4f0JkQYlyp/UV\r
+       N2Y18LEpPT4i5V3R5Ri09T8WxvziszpzvOGIfQPflZimmYLSGMZcyxFW7uhGDH8oa5wE\r
+       aOBFetSRNjMLaGf6uG3urCifug4zxnj05SzUFv4Cpxxq2Va29Wsd6z0KIdXrwWN3Sdr5\r
+       wEXoxrTJO3C8SpGTxv6YyuRPWGSaxw9UidvjyWiHQv1XjCc3GdmtSGhbRxRMIw0keJQ8\r
+       VODA==\r
+Received: by 10.68.212.35 with SMTP id nh3mr11575158pbc.84.1333676913941;\r
+       Thu, 05 Apr 2012 18:48:33 -0700 (PDT)\r
+Received: from localhost (215.42.233.220.static.exetel.com.au.\r
+       [220.233.42.215])\r
+       by mx.google.com with ESMTPS id a9sm4777895pbo.48.2012.04.05.18.48.30\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 05 Apr 2012 18:48:32 -0700 (PDT)\r
+From: Peter Wang <novalazy@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v3 0/5] Add 'config list' command\r
+Date: Fri,  6 Apr 2012 11:48:01 +1000\r
+Message-Id: <1333676886-9835-1-git-send-email-novalazy@gmail.com>\r
+X-Mailer: git-send-email 1.7.4.4\r
+In-Reply-To: <1332282698-7951-1-git-send-email-novalazy@gmail.com>\r
+References: <1332282698-7951-1-git-send-email-novalazy@gmail.com>\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: Fri, 06 Apr 2012 01:48:36 -0000\r
+\r
+This version tests 'config set' by reading back the set value, as suggested.\r
+\r
+\r
+Peter Wang (5):\r
+  config: Fix free in 'config get' implementation.\r
+  test: Add tests for 'config' command\r
+  test: Add broken test for 'config list'\r
+  config: Add 'config list' command\r
+  man: Document 'config list' command\r
+\r
+ man/man1/notmuch-config.1 |   14 +++++++++\r
+ notmuch-config.c          |   68 +++++++++++++++++++++++++++++++++++++++++---\r
+ test/config               |   40 ++++++++++++++++++++++++++\r
+ test/notmuch-test         |    1 +\r
+ 4 files changed, 118 insertions(+), 5 deletions(-)\r
+ create mode 100755 test/config\r
+\r
+-- \r
+1.7.4.4\r
+\r