unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 00/11] notmuch insert updates
@ 2014-09-22  9:54 Jani Nikula
  2014-09-22  9:54 ` [PATCH 01/11] lib: actually return failures from notmuch_message_tags_to_maildir_flags Jani Nikula
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Jani Nikula @ 2014-09-22  9:54 UTC (permalink / raw)
  To: notmuch

This series refactors and cleans up insert, improves error handling and
reporting, and adds post-insert hook. I intend to add documentation and
more tests, but the code is ready for review. Also, at least some of the
cleanups and fixes in the beginning of the series could go in without
additional tests or documentation.

BR,
Jani.


Jani Nikula (11):
  lib: actually return failures from
    notmuch_message_tags_to_maildir_flags
  cli/insert: rename check_folder_name to is_valid_folder_name
  cli/insert: move add_file_to_database to a better place
  cli/insert: rename file copy function
  cli/insert: clean up sync_dir
  cli/insert: use a single recursive mkdir function
  cli/insert: abstract temporary filename generation
  cli/insert: rehash file writing functions
  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

 lib/message.cc      |    2 +-
 notmuch-insert.c    |  462 +++++++++++++++++++++++++++++----------------------
 test/T070-insert.sh |    2 +-
 3 files changed, 262 insertions(+), 204 deletions(-)

-- 
1.7.2.5

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

end of thread, other threads:[~2014-09-26 20:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22  9:54 [PATCH 00/11] notmuch insert updates Jani Nikula
2014-09-22  9:54 ` [PATCH 01/11] lib: actually return failures from notmuch_message_tags_to_maildir_flags Jani Nikula
2014-09-22  9:54 ` [PATCH 02/11] cli/insert: rename check_folder_name to is_valid_folder_name Jani Nikula
2014-09-22  9:54 ` [PATCH 03/11] cli/insert: move add_file_to_database to a better place Jani Nikula
2014-09-22  9:54 ` [PATCH 04/11] cli/insert: rename file copy function Jani Nikula
2014-09-22  9:54 ` [PATCH 05/11] cli/insert: clean up sync_dir Jani Nikula
2014-09-22  9:54 ` [PATCH 06/11] cli/insert: use a single recursive mkdir function Jani Nikula
2014-09-22  9:54 ` [PATCH 07/11] cli/insert: abstract temporary filename generation Jani Nikula
2014-09-22  9:54 ` [PATCH 08/11] cli/insert: rehash file writing functions Jani Nikula
2014-09-22  9:55 ` [PATCH 09/11] cli/insert: add fail path to add_file_to_database Jani Nikula
2014-09-26 20:09   ` David Bremner
2014-09-22  9:55 ` [PATCH 10/11] cli/insert: require succesful message indexing for success status Jani Nikula
2014-09-22  9:55 ` [PATCH 11/11] cli/insert: add post-insert hook Jani Nikula
2014-09-25  8:13 ` [PATCH 00/11] notmuch insert updates David Bremner
2014-09-25 19:54   ` Tomi Ollila
2014-09-26  6:48     ` 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).