<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/dump-restore, branch 0.13</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.13</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.13'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-10-23T13:27:57Z</updated>
<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>
<entry>
<title>test: update dump-restore to use redirection instead of filename args</title>
<updated>2011-10-12T21:01:12Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-09T13:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=adb1dc6792a4b33384ac33172294998a8189375b'/>
<id>urn:sha1:adb1dc6792a4b33384ac33172294998a8189375b</id>
<content type='text'>
The idea here is that we want to deprecate the use of arguments to
dump and restore to specify paths, since in particular we want to use
the non-option arguments to dump to form a query.
</content>
</entry>
<entry>
<title>test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability</title>
<updated>2011-05-27T21:03:28Z</updated>
<author>
<name>Joel Borggrén-Franck</name>
<email>jbf@codehouse.se</email>
</author>
<published>2010-12-01T20:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3fa843216c918fe4a6151e55947cf3a7f46fcdb5'/>
<id>urn:sha1:3fa843216c918fe4a6151e55947cf3a7f46fcdb5</id>
<content type='text'>
Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way
systems running on bash &lt; 4 can prepend bash &gt;= 4 to path before
running the tests.
</content>
</entry>
</feed>
