<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-insert.c, branch 0.21_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.21_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.21_rc2'/>
<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: define shared options, use for --help and --version</title>
<updated>2015-06-01T05:32:54Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-04-05T13:13:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0018a8d787a98f80c665061daa9b0c73839d3666'/>
<id>urn:sha1:0018a8d787a98f80c665061daa9b0c73839d3666</id>
<content type='text'>
Unfortunately it seems trickier to support --config globally

The non-trivial changes are in notmuch.c; most of the other changes
consists of blindly inserting two lines into every subcommand.
</content>
</entry>
<entry>
<title>cli: change "setup" to "set up" where used as a verb</title>
<updated>2015-05-31T17:14:42Z</updated>
<author>
<name>J. Lewis Muir</name>
<email>jlmuir@imca-cat.org</email>
</author>
<published>2015-05-27T17:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d08af93c65310c2d5ec8033040854f8ff4e5550f'/>
<id>urn:sha1:d08af93c65310c2d5ec8033040854f8ff4e5550f</id>
<content type='text'>
The word "setup" is a noun, not a verb.  Change occurrences of "setup"
where used as a verb to "set up".
</content>
</entry>
<entry>
<title>cli/insert: add post-insert hook</title>
<updated>2014-10-28T18:19:30Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-09-28T14:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=19c09d870f18f549df3d9f5a3a30a20f7279b07a'/>
<id>urn:sha1:19c09d870f18f549df3d9f5a3a30a20f7279b07a</id>
<content type='text'>
The post-new hook might no longer be needed or run very often if
notmuch insert is being used. Therefore a post-insert hook is needed
(arguably pre-insert not so much, so don't add one). Also add the
--no-hooks option to skip hooks.
</content>
</entry>
<entry>
<title>cli: cast timeval fields to long for format</title>
<updated>2014-10-28T11:12:10Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-10-28T08:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0bb1f26a268c357b2aa1e6a704eb3a3fa695fa32'/>
<id>urn:sha1:0bb1f26a268c357b2aa1e6a704eb3a3fa695fa32</id>
<content type='text'>
This hides platform differences between struct timeval field types.
</content>
</entry>
<entry>
<title>cli/insert: require succesful message indexing for success status</title>
<updated>2014-10-18T05:54:25Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-10-03T21:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dc20a0eedc80477c0db7b7dea9efef90860ec9fb'/>
<id>urn:sha1:dc20a0eedc80477c0db7b7dea9efef90860ec9fb</id>
<content type='text'>
Add --keep option to keep any remaining stuff in index or file. We
could distinguish between failures to index and failures to apply tags
or maildir sync, but for simplicity just have one.
</content>
</entry>
<entry>
<title>cli/insert: add fail path to add_file_to_database</title>
<updated>2014-10-18T05:53:15Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-10-03T21:18:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5df46a3d9efcc201700b02e70b11808fcc40beab'/>
<id>urn:sha1:5df46a3d9efcc201700b02e70b11808fcc40beab</id>
<content type='text'>
Handle failures gracefully in add_file_to_database, renamed simply
add_file while at it. Add keep option to not remove the message from
database if tagging or tag syncing to maildir flags fails. Expand the
function documentation to cover the changes.
</content>
</entry>
<entry>
<title>cli/insert: rehash file writing functions</title>
<updated>2014-09-24T18:29:58Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-09-22T09:54:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0d597f6889fe29bf94658a1389b38c100154b72f'/>
<id>urn:sha1:0d597f6889fe29bf94658a1389b38c100154b72f</id>
<content type='text'>
Make the function calls make more sense as independent building blocks
of the big picture, with clear inputs and outputs. Split up
write_message into two. Improve function documentation. Cleanup and
clarify the error paths.
</content>
</entry>
<entry>
<title>cli/insert: abstract temporary filename generation</title>
<updated>2014-09-24T18:28:42Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-09-22T09:54:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dcfcb4ba7b9dfdb49ec62d8fb47a72fb60540655'/>
<id>urn:sha1:dcfcb4ba7b9dfdb49ec62d8fb47a72fb60540655</id>
<content type='text'>
This will clean up the usage. There's the slight functional change of
potentially ending up doing extra gethostname and getpid calls, but
this is neglible.
</content>
</entry>
<entry>
<title>cli/insert: use a single recursive mkdir function</title>
<updated>2014-09-24T18:25:48Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-09-22T09:54:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cd3d4e62d63819bd8eced5e2d8e5b6e07ea45e41'/>
<id>urn:sha1:cd3d4e62d63819bd8eced5e2d8e5b6e07ea45e41</id>
<content type='text'>
Combine make_directory() and make_directory_and_parents() into a
single recursive mkdir_recursive() function. Clarify the code and
improve error handling. Improve error messages. Switch to using the
new function in maildir_create_folder(). Constify talloc context.
</content>
</entry>
</feed>
