unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Peter Wang <novalazy@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH v6 00/12] insert command
Date: Sat, 22 Jun 2013 15:46:36 +1000	[thread overview]
Message-ID: <1371880008-18312-1-git-send-email-novalazy@gmail.com> (raw)

Since v5:

- return success if the message was successfully added to the maildir
  even if we weren't able to add it to the notmuch database
- document exit status
- add a couple of tests
- don't print anything after parse_arguments returns failure

Peter Wang (12):
  tag-util: move out 'tag' command-line checks
  tag-util: do not reset list in parse_tag_command_line
  cli: add insert command
  man: document 'insert' command
  man: reference notmuch-insert.1
  test: add tests for insert
  insert: add --folder option
  man: document insert --folder option
  test: test insert --folder option
  insert: add --create-folder option
  man: document insert --create-folder
  test: test insert --create-folder option

 Makefile.local                  |   1 +
 man/Makefile.local              |   1 +
 man/man1/notmuch-config.1       |   4 +-
 man/man1/notmuch-count.1        |   4 +-
 man/man1/notmuch-dump.1         |   4 +-
 man/man1/notmuch-insert.1       |  75 +++++++
 man/man1/notmuch-new.1          |   4 +-
 man/man1/notmuch-reply.1        |   3 +-
 man/man1/notmuch-restore.1      |   3 +-
 man/man1/notmuch-search.1       |   3 +-
 man/man1/notmuch-show.1         |   3 +-
 man/man1/notmuch-tag.1          |   3 +-
 man/man1/notmuch.1              |   3 +-
 man/man5/notmuch-hooks.5        |   4 +-
 man/man7/notmuch-search-terms.7 |   3 +-
 notmuch-client.h                |   3 +
 notmuch-insert.c                | 477 ++++++++++++++++++++++++++++++++++++++++
 notmuch-tag.c                   |   5 +
 notmuch.c                       |   3 +
 tag-util.c                      |   8 +-
 tag-util.h                      |   2 +
 test/insert                     | 121 ++++++++++
 test/notmuch-test               |   1 +
 23 files changed, 716 insertions(+), 22 deletions(-)
 create mode 100644 man/man1/notmuch-insert.1
 create mode 100644 notmuch-insert.c
 create mode 100755 test/insert

-- 
1.7.12.1

             reply	other threads:[~2013-06-22  5:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-22  5:46 Peter Wang [this message]
2013-06-22  5:46 ` [PATCH v6 01/12] tag-util: move out 'tag' command-line checks Peter Wang
2013-06-22  6:50   ` Mark Walters
2013-06-22  5:46 ` [PATCH v6 02/12] tag-util: do not reset list in parse_tag_command_line Peter Wang
2013-06-22  6:52   ` Mark Walters
2013-06-22  5:46 ` [PATCH v6 03/12] cli: add insert command Peter Wang
2013-06-22  6:55   ` Mark Walters
2013-06-22  7:48   ` Mark Walters
2013-06-23  3:57     ` Peter Wang
2013-06-22  5:46 ` [PATCH v6 04/12] man: document 'insert' command Peter Wang
2013-06-22  5:46 ` [PATCH v6 05/12] man: reference notmuch-insert.1 Peter Wang
2013-06-22  5:46 ` [PATCH v6 06/12] test: add tests for insert Peter Wang
2013-06-22  5:46 ` [PATCH v6 07/12] insert: add --folder option Peter Wang
2013-06-22  5:46 ` [PATCH v6 08/12] man: document insert " Peter Wang
2013-06-22  5:46 ` [PATCH v6 09/12] test: test " Peter Wang
2013-06-22  5:46 ` [PATCH v6 10/12] insert: add --create-folder option Peter Wang
2013-06-22  5:46 ` [PATCH v6 11/12] man: document insert --create-folder Peter Wang
2013-06-22  5:46 ` [PATCH v6 12/12] test: test insert --create-folder option Peter Wang
2013-06-22  7:55 ` [PATCH v6 00/12] insert command Mark Walters

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1371880008-18312-1-git-send-email-novalazy@gmail.com \
    --to=novalazy@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).