<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch 0.5</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.5</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.5'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-11-12T01:00:15Z</updated>
<entry>
<title>test: Update emacs tests for fix to counting of signature lines.</title>
<updated>2010-11-12T01:00:15Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-12T01:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=42f1a13374bdb75c51132ff2b07c8e192291f8d7'/>
<id>urn:sha1:42f1a13374bdb75c51132ff2b07c8e192291f8d7</id>
<content type='text'>
The recent bug fix invalidated some expected test results. Fix them up.
</content>
</entry>
<entry>
<title>tags_to_maildir_flags: Fix to preserve existing, unsupported flags</title>
<updated>2010-11-12T00:36:02Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-12T00:36:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=96d99c383785dec67443ff1b45e2d2f8437398fa'/>
<id>urn:sha1:96d99c383785dec67443ff1b45e2d2f8437398fa</id>
<content type='text'>
This is to prevent notmuch from destroying any information the user
has encoded as flags in the maildir filename. Tests are also added to
the test suite to verify the documented behavior.
</content>
</entry>
<entry>
<title>notmuch_message_tags_to_maildir_flags: Do nothing outside of "new" and "cur"</title>
<updated>2010-11-11T22:32:17Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T22:32:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=95dd5fe5d7e9cd8169a6e3174ea27376acd92870'/>
<id>urn:sha1:95dd5fe5d7e9cd8169a6e3174ea27376acd92870</id>
<content type='text'>
Some people use notmuch with non-maildir files, (for example, email
messages in MH format, or else cool things like using sluk[*] to suck
down feeds into a format that notmuch can index).

To better support uses like that, don't do any renaming for files that
are not in a directory named either "new" or "cur".

[*] https://github.com/krl/sluk/
</content>
</entry>
<entry>
<title>test: Move corpus emails into maildir directory structure</title>
<updated>2010-11-11T12:17:29Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f6ec7ca78f867c2ae27d0dba154a2395ccf15f52'/>
<id>urn:sha1:f6ec7ca78f867c2ae27d0dba154a2395ccf15f52</id>
<content type='text'>
Now that we have maildir synchronization turned on by default, it's
advantageous to make all of the tests exercise it as much as possible.
</content>
</entry>
<entry>
<title>test: Fix emacs FCC test to account for new maildir synchronization</title>
<updated>2010-11-11T12:12:43Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=666e410b60855dd714c2b4f36085aeae1810907c'/>
<id>urn:sha1:666e410b60855dd714c2b4f36085aeae1810907c</id>
<content type='text'>
The FCC code saves a message in maildir format, and sets the S flag by
default, so now, automatically, FCC messages will not show up as
"unread", (which seems natural enough).
</content>
</entry>
<entry>
<title>Enable maildir synchronization by default.</title>
<updated>2010-11-11T12:11:21Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=28708d2bd399ed1dc7968918833df3683c7accec'/>
<id>urn:sha1:28708d2bd399ed1dc7968918833df3683c7accec</id>
<content type='text'>
This is a useful feature that most people should want, so enable it by
default, (still allowing customization to disable it of course).
</content>
</entry>
<entry>
<title>test: Drop test for propagating flag changes from one file to another</title>
<updated>2010-11-11T11:47:11Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T11:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=483f422699cc480b856ceeac77a4fa5d11f82ea0'/>
<id>urn:sha1:483f422699cc480b856ceeac77a4fa5d11f82ea0</id>
<content type='text'>
There's nothing in the current API documentation that would suggest
the behavior being tested here. Attempt to implement this could have
some nasty side effects, (such as notmuch_message_maildir_flags_to_tags
implicitly calling notmuch_message_tags_to_maildir_flags and maybe
even opening up some bad looping possibilities).

Much better to stick with what we have documented, which we believe will
actually be useful, (and easy enough to comprehend).
</content>
</entry>
<entry>
<title>test: Add a new test that removal of a maildir flag also changes tags</title>
<updated>2010-11-11T11:40:19Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T10:43:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0100df8edbc84d95210c369b9eb560b87c2d36be'/>
<id>urn:sha1:0100df8edbc84d95210c369b9eb560b87c2d36be</id>
<content type='text'>
This test exposes an existing bug, so is currently failing.
</content>
</entry>
<entry>
<title>test: Rework recently-added additional maildir-sync tests</title>
<updated>2010-11-11T11:40:19Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-10T20:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0b6349d70557589563f6eb2a23c2a1fa1330e54a'/>
<id>urn:sha1:0b6349d70557589563f6eb2a23c2a1fa1330e54a</id>
<content type='text'>
These needed to be changed to be brought up to the current state of
the maildir-sync tests. This includes style changes, but also the
elimination of any assumption about pre-existing message filenames,
(such as msg-003) which actually don't exist anymore.

Also, the known broken tests are changed to emit FAIL rather than
BROKEN simply to make them easier to fix, (so that they print the
current problems rather than hiding them).

Finally, an additional test is added to ensure that when a duplicate
file is added without flags, it doesn't invalidate flags from other
duplicates, (instead the flags are effectively merged).
</content>
</entry>
<entry>
<title>test: More maildir synchronization tests</title>
<updated>2010-11-11T10:35:03Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-11-10T10:27:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2638fb75653a6cb65b92429c82e27462aeb34fc6'/>
<id>urn:sha1:2638fb75653a6cb65b92429c82e27462aeb34fc6</id>
<content type='text'>
Add maildir synchronization tests for multiple messages with the same
message-id. As this is not yet implemented in notmuch, some of these
teste are marked as BROKEN.

I use $(&lt; ) operator to avoid fiddling with stripped trailing newlines
from test results which happens when output+=$(command) is used.
</content>
</entry>
</feed>
