<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-config.c, branch 0.22</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.22</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.22'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2015-08-14T16:23:49Z</updated>
<entry>
<title>cli: add global option "--uuid"</title>
<updated>2015-08-14T16:23:49Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-04-05T22:39:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f76d8f82dd004cf14426a91e8a80dcd2a4b97317'/>
<id>urn:sha1:f76d8f82dd004cf14426a91e8a80dcd2a4b97317</id>
<content type='text'>
The function notmuch_exit_if_unmatched_db_uuid is split from
notmuch_process_shared_options because it needs an open notmuch
database.

There are two exceptional cases in uuid handling.

1) notmuch config and notmuch setup don't currently open the database,
   so it doesn't make sense to check the UUID.

2) notmuch compact opens the database inside the library, so we either
   need to open the database just to check uuid, or change the API.
</content>
</entry>
<entry>
<title>cli: add standard option processing to config, help and setup</title>
<updated>2015-06-01T05:32:54Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-04-05T20:34:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=447ad6b4984c71881b7f97641c77f0a39b71a991'/>
<id>urn:sha1:447ad6b4984c71881b7f97641c77f0a39b71a991</id>
<content type='text'>
In particular this fixes a recently encountered bug where the
"--config" argument to "notmuch setup" is silently ignored, which the
unpleasant consequence of overwriting the users config file.
</content>
</entry>
<entry>
<title>CLI: make gpg binary used by libgmime configurable.</title>
<updated>2015-03-11T07:04:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-12-09T20:01:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c883e632bf0a3692fa4ca7aa77604e0e60820295'/>
<id>urn:sha1:c883e632bf0a3692fa4ca7aa77604e0e60820295</id>
<content type='text'>
Previously we set up a way for the top level notmuch command to choose
which gpg binary was invoked by libgmime. In this commit we add the
(mostly boilerplate) code to allow the notmuch-config command to read
and write this path, and use it in the appropriate struct.

Update tests for new default variable
</content>
</entry>
<entry>
<title>cli: Be more helpful when .notmuch-config does not exist</title>
<updated>2014-09-07T18:01:01Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@mit.edu</email>
</author>
<published>2014-09-03T15:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3d39d346d793b9bea0c23ae2c16600feab11ee19'/>
<id>urn:sha1:3d39d346d793b9bea0c23ae2c16600feab11ee19</id>
<content type='text'>
Previously, if the user ran any subcommand that required a
configuration (e.g., notmuch new) but didn't have a configuration,
notmuch would give the rather un-friendly and un-actionable message

  Error reading configuration file .notmuch-config: No such file or directory

Since this condition is expected for new users, this patch adds
specific handling for the file-not-found case to give a message that
is friendly and actionable.
</content>
</entry>
<entry>
<title>notmuch-config: talloc_strdup MAILDIR and NAME environment variables</title>
<updated>2014-08-08T00:12:27Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-08-07T15:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=748798511d7cb704ee7f9ce98cfbf87ebc41ab0f'/>
<id>urn:sha1:748798511d7cb704ee7f9ce98cfbf87ebc41ab0f</id>
<content type='text'>
When defined -- the pointer is soon given to talloc_free() which
expects it to be allocated by talloc.
</content>
</entry>
<entry>
<title>config: read database.path from $MAILDIR if set</title>
<updated>2014-07-31T10:13:38Z</updated>
<author>
<name>Mark Oteiza</name>
<email>mvoteiza@udel.edu</email>
</author>
<published>2014-07-21T23:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6c9721a40700394e4953e26a8191bbb9552ba145'/>
<id>urn:sha1:6c9721a40700394e4953e26a8191bbb9552ba145</id>
<content type='text'>
Try to read the config parameter database.path from $MAILDIR before
falling back to $HOME/mail
</content>
</entry>
<entry>
<title>config: read user.name from $NAME if set</title>
<updated>2014-07-31T10:13:14Z</updated>
<author>
<name>Mark Oteiza</name>
<email>mvoteiza@udel.edu</email>
</author>
<published>2014-07-21T03:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=488b2619643de6776e2649d97b480da8db049023'/>
<id>urn:sha1:488b2619643de6776e2649d97b480da8db049023</id>
<content type='text'>
Try to read the config parameter user.name from $NAME before taking the
user name from /etc/passwd.
</content>
</entry>
<entry>
<title>compat: add canonicalize_file_name</title>
<updated>2014-04-08T10:27:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-01-27T14:12:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=af5c3afa91cc29268c6754ea70f15cae30f22403'/>
<id>urn:sha1:af5c3afa91cc29268c6754ea70f15cae30f22403</id>
<content type='text'>
the POSIX 2008 behaviour of realpath is not available everywhere so we
provide a simple wrapper function.  We use (and provide) the gnu
extension canonicalize_file_name to make it cleaner to test for the
feature we need; otherwise we have to rely on realpath segfaulting if
the second argument is null.
</content>
</entry>
<entry>
<title>cli: abstract common config get/set code</title>
<updated>2014-01-19T00:09:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-17T16:38:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3b36898f0b5cc03d8d93e2892959aacc8953fc2c'/>
<id>urn:sha1:3b36898f0b5cc03d8d93e2892959aacc8953fc2c</id>
<content type='text'>
Pretty straightforward abstraction similar to get/set list.
</content>
</entry>
<entry>
<title>cli: clean up exit status code returned by the cli commands</title>
<updated>2014-01-18T18:45:26Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-10T21:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c7453773064efbd0b2cd17b15ba483edbd28ce1e'/>
<id>urn:sha1:c7453773064efbd0b2cd17b15ba483edbd28ce1e</id>
<content type='text'>
Apart from the status codes for format mismatches, the non-zero exit
status codes have been arbitrary. Make the cli consistently return
either EXIT_SUCCESS or EXIT_FAILURE.
</content>
</entry>
</feed>
