<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/dump-restore, branch 0.14</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.14</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.14'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-08-06T11:52:45Z</updated>
<entry>
<title>notmuch-restore: replace positional argument for input with option</title>
<updated>2012-08-06T11:52:45Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-08-04T12:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=19c824c3fd7be29a2257cdd530ee23074c978d63'/>
<id>urn:sha1:19c824c3fd7be29a2257cdd530ee23074c978d63</id>
<content type='text'>
Since notmuch dump doesn't use positional arguments anymore, it seems
better to be consistent.
</content>
</entry>
<entry>
<title>notmuch-dump: remove deprecated positional argument for output file</title>
<updated>2012-08-06T11:52:33Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-08-04T02:23:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=760e17488e6b11299f2971cf879b109b84816d14'/>
<id>urn:sha1:760e17488e6b11299f2971cf879b109b84816d14</id>
<content type='text'>
The syntax --output=filename is a smaller change than deleting the
output argument completely, and conceivably useful e.g. when running
notmuch under a debugger.
</content>
</entry>
<entry>
<title>notmuch-restore: check for extra arguments.</title>
<updated>2011-10-23T13:27:57Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-21T18:46:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=903fe6398693621484315d30bd8d37de4095f4a5'/>
<id>urn:sha1:903fe6398693621484315d30bd8d37de4095f4a5</id>
<content type='text'>
We consider it an error to pass more than one file to restore, since
extra ones are ignored.
</content>
</entry>
<entry>
<title>notmuch-restore: implement --accumulate option</title>
<updated>2011-10-23T13:27:57Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-19T21:18:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a77d9adcacf001025092087fb6c1d77743cdf699'/>
<id>urn:sha1:a77d9adcacf001025092087fb6c1d77743cdf699</id>
<content type='text'>
Modify command line argument handling to take a --accumulate flag.
Test for extra arguments beyond the input file.

The --accumulate switch causes the union of the existing and new tags to be
applied, instead of replacing each message's tags as they are read in from the
dump file.

Based on a patch by Thomas Schwinge:

      id:"1317317857-29636-1-git-send-email-thomas@schwinge.name"
</content>
</entry>
<entry>
<title>test/dump-restore: add tests for restore --accumulate</title>
<updated>2011-10-23T13:27:57Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-21T16:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=42c80dfd07740ed07cf58eefd0c30dc78cbafc08'/>
<id>urn:sha1:42c80dfd07740ed07cf58eefd0c30dc78cbafc08</id>
<content type='text'>
Flesh out what ``notmuch restore --accumulate'' is supposed to do.
Its tests are currently XFAILed; the functionality will be added in
future patch(es).

Based on a patch by Thomas Schwinge:

      id:"1317317811-29540-1-git-send-email-thomas@schwinge.name"
</content>
</entry>
<entry>
<title>test/dump-restore: Fix quoting on grep</title>
<updated>2011-10-23T13:27:57Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-21T00:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8a65353b4f38a062ef225623f49ffd585e693f4c'/>
<id>urn:sha1:8a65353b4f38a062ef225623f49ffd585e693f4c</id>
<content type='text'>
Thanks to Thomas Schwinge for noticing yet another place where quoting
matters. Since the shell translates \. to ., the regex passed to grep
is too generous without the quotes.

The use of [.] is the suggestion of Tomi Ollila.
</content>
</entry>
<entry>
<title>test/dump-restore: expand test suite for dump-restore, make more robust</title>
<updated>2011-10-22T22:43:02Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-19T21:03:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c4579513442e734c7928a02cf8ffa5a9531b9921'/>
<id>urn:sha1:c4579513442e734c7928a02cf8ffa5a9531b9921</id>
<content type='text'>
Several new tests are added, and existing use of test_begin_subtest is
replaced by test_expect_success to catch failing commands in cases where
we execute more than one command.

Based on changes in

      id:"1317317811-29540-1-git-send-email-thomas@schwinge.name"
</content>
</entry>
<entry>
<title>notmuch-dump: deprecate use of output file argument.</title>
<updated>2011-10-16T22:59:53Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-10T13:44:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=53b397acfcd6b6372372593cc9047ee1a9599afd'/>
<id>urn:sha1:53b397acfcd6b6372372593cc9047ee1a9599afd</id>
<content type='text'>
We print an intentionally non-specific message on stderr, since it
isn't clear if there will be some global output file argument to
replace.

We update the test suite atomically, since it relies on having the
same text in two files.
</content>
</entry>
<entry>
<title>notmuch-dump: treat any remaining arguments after the filename as search terms</title>
<updated>2011-10-16T22:59:53Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-09T14:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=09beff1def1daa9887679723205855ff7da8a297'/>
<id>urn:sha1:09beff1def1daa9887679723205855ff7da8a297</id>
<content type='text'>
The main motivation here is allow the fast dumping of tag data for
messages having certain tags.  In practice it seems too slow to pipe
dump to grep.

All dump-restore tests should be working now, so we update test/dump-restore
accordingly
</content>
</entry>
<entry>
<title>test: add tests for command line arguments to notmuch-dump</title>
<updated>2011-10-16T22:59:53Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-10T12:27:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=532829d463717ed36c43756728608d7465deac8e'/>
<id>urn:sha1:532829d463717ed36c43756728608d7465deac8e</id>
<content type='text'>
The plan is to add the possibility of search terms after the file name,
and the use of -- to stop looking for an output file name.
</content>
</entry>
</feed>
