From: David Bremner <david@tethera.net>
To: Thomas Schwinge <thomas@schwinge.name>, notmuch@notmuchmail.org
Subject: Re: [PATCH, v2] notmuch restore --accumulate
Date: Sun, 16 Oct 2011 18:48:38 -0300 [thread overview]
Message-ID: <87sjmsboax.fsf@zancas.localnet> (raw)
In-Reply-To: <1317317811-29540-1-git-send-email-thomas@schwinge.name>
On Thu, 29 Sep 2011 19:36:51 +0200, Thomas Schwinge <thomas@schwinge.name> wrote:
> From: Thomas Schwinge <thomas@schwinge.name>
>
> Flesh out what ``notmuch restore --accumulate'' is supposed to do. Its tests
> are currently XFAILed; the functionality will be added in another patch.
>
I was looking at these patches and it occured to me that a
generalization like
notmuch restore --replace=ALL current behaviour and default
notmuch restore --replace=NONE proposed --accumulate behaviour
notmuch restore --replace=<regex> delete all tags matching regex
before adding tags from file.
would solve your use case (some kind of merging?) and the case of
restoring a namespace of tags like "notmuch\..*"
Let the bikeshedding begin!
d
prev parent reply other threads:[~2011-10-16 21:48 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-05 19:07 [PATCH] notmuch restore --accumulate Thomas Schwinge
2011-09-05 19:31 ` Jameson Graef Rollins
2011-09-09 9:06 ` Louis Rilling
2011-09-09 9:45 ` Thomas Schwinge
2011-09-09 16:13 ` Austin Clements
2011-09-09 17:22 ` Thomas Schwinge
2011-09-09 17:35 ` Austin Clements
2011-09-09 18:58 ` Jameson Graef Rollins
2011-09-29 18:24 ` [PATCH] patchformatting: Test Suite Enhancements Thomas Schwinge
2011-09-29 17:36 ` [PATCH, v2] notmuch restore --accumulate Thomas Schwinge
2011-09-29 17:37 ` Thomas Schwinge
2011-10-21 19:47 ` Updated v3 patches for " David Bremner
2011-10-21 19:47 ` [PATCH 1/6] test/test-lib.sh: update comments David Bremner
2011-10-21 19:47 ` [PATCH 2/6] test/dump-restore: expand test suite for dump-restore, make more robust David Bremner
2011-10-21 19:47 ` [PATCH 3/6] test/dump-restore: add tests for restore --accumulate David Bremner
2011-10-21 19:47 ` [PATCH 4/6] notmuch-restore: implement --accumulate option David Bremner
2011-10-21 19:47 ` [PATCH 5/6] test/dump-restore: Fix quoting on grep David Bremner
2011-10-21 19:47 ` [PATCH 6/6] notmuch-restore: check for extra arguments David Bremner
2011-10-21 22:21 ` [PATCH 1/2] notmuch.1: typo fixes new wording for dump/restore David Bremner
2011-10-21 22:21 ` [PATCH 2/2] docs: Update news, man page, and online help for restore --accumulate David Bremner
2011-10-23 19:50 ` Updated v3 patches for notmuch " David Bremner
2011-10-16 21:48 ` David Bremner [this message]
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=87sjmsboax.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=thomas@schwinge.name \
/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).