unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v2 0/3] notmuch insert failure paths and post-insert hook
@ 2014-09-28 14:40 Jani Nikula
  2014-09-28 14:40 ` [PATCH v2 1/3] cli/insert: add fail path to add_file_to_database Jani Nikula
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jani Nikula @ 2014-09-28 14:40 UTC (permalink / raw)
  To: notmuch

This is v2 of the final three patches of [1]. The failure paths have
been improved further still, with some new warning messages on any
cleanup errors as well. Man pages have been updated.

Tests are still lacking. The post-insert hook should be simple, but I
haven't had a sudden outburst of creativity in figuring out how to test
all the fail scenarios.

BR,
Jani.


[1] id:cover.1411379395.git.jani@nikula.org

Jani Nikula (3):
  cli/insert: add fail path to add_file_to_database
  cli/insert: require succesful message indexing for success status
  cli/insert: add post-insert hook

 doc/man1/notmuch-insert.rst |  26 ++++++--
 doc/man5/notmuch-hooks.rst  |  11 ++++
 notmuch-insert.c            | 140 +++++++++++++++++++++++++++++++-------------
 test/T070-insert.sh         |   2 +-
 4 files changed, 132 insertions(+), 47 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-10-28 18:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28 14:40 [PATCH v2 0/3] notmuch insert failure paths and post-insert hook Jani Nikula
2014-09-28 14:40 ` [PATCH v2 1/3] cli/insert: add fail path to add_file_to_database Jani Nikula
2014-09-28 14:40 ` [PATCH v2 2/3] cli/insert: require succesful message indexing for success status Jani Nikula
2014-09-28 14:40 ` [PATCH v2 3/3] cli/insert: add post-insert hook Jani Nikula
2014-10-18  7:22   ` [PATCH] test: add simple tests for " David Bremner
2014-10-28 17:29     ` Jani Nikula
2014-10-28 18:43       ` David Bremner
2014-09-29 19:49 ` [PATCH] WIP: new insert tests for failing indexing David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).