<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-insert.c, branch 0.19</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.19</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.19'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-10-28T18:19:30Z</updated>
<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>
<entry>
<title>cli/insert: clean up sync_dir</title>
<updated>2014-09-24T18:22:21Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-09-22T09:54:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eab18a61a9831d73f22b058d9003a683ef6c6462'/>
<id>urn:sha1:eab18a61a9831d73f22b058d9003a683ef6c6462</id>
<content type='text'>
Clarify the code slightly, improve error messages. Apart from the
error message changes, no functional changes.
</content>
</entry>
<entry>
<title>cli/insert: rename file copy function</title>
<updated>2014-09-24T18:20:19Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-09-22T09:54:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9324e04a82e8d483e1cb334138ba64fc4b721513'/>
<id>urn:sha1:9324e04a82e8d483e1cb334138ba64fc4b721513</id>
<content type='text'>
The copying has nothing to do with stdin, so call it copy_fd
instead. While at it, improve documentation and reverse the
parameters, as destination is traditionally the first parameter.
</content>
</entry>
<entry>
<title>cli/insert: move add_file_to_database to a better place</title>
<updated>2014-09-24T18:20:12Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-09-22T09:54:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c878081127f48c393835b6f067f8f85beda9ff29'/>
<id>urn:sha1:c878081127f48c393835b6f067f8f85beda9ff29</id>
<content type='text'>
Move add_file_to_database around to keep the filesystem related
functions grouped together, improving readability. No functional
changes.
</content>
</entry>
</feed>
