unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v2 0/6] batch tagging support: "notmuch tag --stdin"
@ 2012-04-14 12:15 Jani Nikula
  2012-04-14 12:15 ` [PATCH v2 1/6] hex-escape: (en|de)code strings to/from restricted character set Jani Nikula
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Jani Nikula @ 2012-04-14 12:15 UTC (permalink / raw)
  To: notmuch

v2 of id:"cover.1333231401.git.jani@nikula.org"

This series adds support for batch tagging through stdin to "notmuch
tag". This should be useful and efficient for e.g. initial tagging
scripts. Also, this adds locking around a batch of tag changes, which is
also useful for initial tagging scripts. See the test patch for an
example using a "here document".

The idea is that the same format (and parser) would be later used for
notmuch dump/restore, building on David's earlier work at
id:"1324214111-32079-1-git-send-email-david@tethera.net".

The v2 only has non-functional changes per David's comments, and
squashes the first three patches of v1 into one.

BR,
Jani.


David Bremner (3):
  hex-escape: (en|de)code strings to/from restricted character set
  test/hex-xcode: new test binary
  test/hex-escaping: new test for hex escaping routines

Jani Nikula (3):
  cli: add support for batch tagging operations to "notmuch tag"
  test: add test for notmuch tag --stdin option
  man: document notmuch tag --stdin option

 man/man1/notmuch-tag.1 |   44 +++++++++-
 notmuch-tag.c          |  244 ++++++++++++++++++++++++++++++++++++++++++------
 test/.gitignore        |    1 +
 test/Makefile.local    |    6 +-
 test/basic             |    2 +-
 test/hex-escaping      |   26 +++++
 test/hex-xcode.c       |  103 ++++++++++++++++++++
 test/notmuch-test      |    1 +
 test/tagging           |   13 +++
 util/Makefile.local    |    2 +-
 util/hex-escape.c      |  168 +++++++++++++++++++++++++++++++++
 util/hex-escape.h      |   41 ++++++++
 12 files changed, 616 insertions(+), 35 deletions(-)
 create mode 100755 test/hex-escaping
 create mode 100644 test/hex-xcode.c
 create mode 100644 util/hex-escape.c
 create mode 100644 util/hex-escape.h

-- 
1.7.5.4

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

end of thread, other threads:[~2012-04-18 18:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-14 12:15 [PATCH v2 0/6] batch tagging support: "notmuch tag --stdin" Jani Nikula
2012-04-14 12:15 ` [PATCH v2 1/6] hex-escape: (en|de)code strings to/from restricted character set Jani Nikula
2012-04-14 12:15 ` [PATCH v2 2/6] test/hex-xcode: new test binary Jani Nikula
2012-04-14 12:15 ` [PATCH v2 3/6] test/hex-escaping: new test for hex escaping routines Jani Nikula
2012-04-14 12:15 ` [PATCH v2 4/6] cli: add support for batch tagging operations to "notmuch tag" Jani Nikula
2012-04-14 12:15 ` [PATCH v2 5/6] test: add test for notmuch tag --stdin option Jani Nikula
2012-04-14 12:15 ` [PATCH v2 6/6] man: document " Jani Nikula
2012-04-14 20:27 ` [PATCH v2 0/6] batch tagging support: "notmuch tag --stdin" Jameson Graef Rollins
2012-04-14 21:07   ` Jani Nikula
2012-04-15 12:02     ` David Bremner
2012-04-18 18:58       ` Jani Nikula

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).