From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iMfILfRU8l93CQAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 23:36:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sBXFKfRU8l+MPQAA1q6Kng (envelope-from ) for ; Sun, 03 Jan 2021 23:36:20 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0D97F940222 for ; Sun, 3 Jan 2021 23:36:19 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2B32C29D29; Sun, 3 Jan 2021 18:36:03 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9EB2329CB2 for ; Sun, 3 Jan 2021 18:35:59 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id C4F8A5FF47; Sun, 3 Jan 2021 18:35:57 -0500 (EST) Received: (nullmailer pid 126189 invoked by uid 1000); Sun, 03 Jan 2021 23:35:56 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: v3 merged config Date: Sun, 3 Jan 2021 19:35:11 -0400 Message-Id: <20210103233547.122707-1-david@tethera.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Message-ID-Hash: ARDYZYYCTFRLS4AQWLFWCMFWIANB5JAN X-Message-ID-Hash: ARDYZYYCTFRLS4AQWLFWCMFWIANB5JAN X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.88 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0D97F940222 X-Spam-Score: -0.88 X-Migadu-Scanner: scn1.migadu.com X-TUID: aaosxY2+SFQ4 This series has grown somewhat since id:20201225004228.647328-1-david@tethera.net. The following are test system improvements and fixes that I noticed or needed along the way. > [PATCH 01/36] test/T750-gzip: don't compress the xapian database > [PATCH 02/36] test/T391-python-cffi: run verbosely > [PATCH 27/36] bindings/notmuch2: add missing crypto error status These are the same as the last series, setting up infrastructure > [PATCH 03/36] lib: add _notmuch_string_map_set > [PATCH 04/36] lib: cache configuration information from database > [PATCH 05/36] lib: add stub for notmuch_database_open_with_config > [PATCH 06/36] lib/open: add support for config profiles and default > [PATCH 07/36] CLI: generalize notmuch_config_mode_t > [PATCH 08/36] lib/config: add notmuch_config_key_{get,set} > [PATCH 09/36] lib/open: load default values for known configuration > [PATCH 10/36] CLI: add (unused) database argument to subcommands. > [PATCH 11/36] util: add strsplit_len: simplified strtok with > [PATCH 12/36] lib/config: add config values iterator Most of the individual subcommands are straightforward to convert. The exception here is notmuch-show, that I'm not completely happy with. > [PATCH 13/36] CLI/count: switch to new configuration framework > [PATCH 14/36] cli/dump: convert to new config framework > [PATCH 15/36] lib: add notmuch_config_get_bool > [PATCH 16/36] CLI/restore: convert to new config framework > [PATCH 17/36] CLI/insert: convert to new config framework. > [PATCH 18/36] cli/reindex: convert new config framework > [PATCH 19/36] CLI/reply: convert to new config framework > [PATCH 20/36] CLI/{search,address}: convert to new configuration > [PATCH 21/36] cli/config: add accessor for config file name > [PATCH 22/36] CLI/show: mostly switch show to new config framework > [PATCH 23/36] cli/tag: convert to new config framework. > [PATCH 24/36] lib/config: add _notmuch_config_cache > [PATCH 25/36] lib: split notmuch_database_compact > [PATCH 26/36] cli/compact: convert to new configuration framework The new patches in the series are to convert notomuch-new to the new configuration framework. This involves adding a few new status values, and one new API call. > [PATCH 28/36] lib/config: add NOTMUCH_CONFIG_NEW_IGNORE > [PATCH 29/36] lib/config: make values iterators restartable > [PATCH 30/36] lib/open: factor out first part of open > [PATCH 31/36] lib: add NOTMUCH_STATUS_NO_CONFIG > [PATCH 32/36] lib/database: move n_d_create* to open.cc > [PATCH 33/36] lib: add NOTMUCH_STATUS_DATABASE_EXISTS > [PATCH 34/36] lib: introduce notmuch_database_create_with_config > [PATCH 35/36] cli/new: refactor database upgrade code > [PATCH 36/36] cli/new: convert to new config framework I will send another series for flexible database location that builds upon this. In particular it needs notmuch-new to be converted to the new configuration framework.