<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/insert, branch 0.17_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.17_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.17_rc2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-09-03T23:49:46Z</updated>
<entry>
<title>test: improve insert test reliability by checking message-id instead of count</title>
<updated>2013-09-03T23:49:46Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-09-03T05:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2f7cfcd320ba2ce11834756ec8cbca8b9245e62d'/>
<id>urn:sha1:2f7cfcd320ba2ce11834756ec8cbca8b9245e62d</id>
<content type='text'>
There isn't a reported issue this would fix. Spotted by reading the
test.
</content>
</entry>
<entry>
<title>test: add more maildir flag syncing related tests to insert</title>
<updated>2013-09-03T23:46:01Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-09-03T05:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8ffc60e989a9857855c5429697da80e00785eeec'/>
<id>urn:sha1:8ffc60e989a9857855c5429697da80e00785eeec</id>
<content type='text'>
Specifically test maildir flag syncing with insert.
</content>
</entry>
<entry>
<title>tags_to_maildir_flags: Don't rename if no flags change</title>
<updated>2013-09-03T23:41:51Z</updated>
<author>
<name>Louis Rilling</name>
<email>l.rilling@av7.net</email>
</author>
<published>2012-12-19T21:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a9b2135c75874f871fa8e97c8fca965654577772'/>
<id>urn:sha1:a9b2135c75874f871fa8e97c8fca965654577772</id>
<content type='text'>
notmuch_message_tags_to_maildir_flags() unconditionally moves messages from
maildir directory "new/" to maildir directory "cur/", which makes messages lose
their "new" status in the MUA. However some users want to keep this "new"
status after, for instance, an auto-tagging of new messages.

However, as Austin mentioned and according to the maildir specification,
messages living in "new/" are not allowed to have flags, even if mutt allows it
to happen. For this reason, this patch prevents moving messages from "new/" to
"cur/", only if no flags have to be changed. It's hopefully enough to satisfy
mutt (and maybe other MUAs showing the "new" status) users checking the "new"
status.

Changelog:
* v2: Fix bool type as well as NULL returned despite having no errors (Austin
      Clements)
* v4: Tag the related test (contributed by Michal Sojka) as working

Signed-off-by: Louis Rilling &lt;l.rilling@av7.net&gt;

[Condition for keeping messages in new/ was extended to satisfy all
 tests from the previous patch. -Michal Sojka]

[Added by David Bremner, to keep the tests passing at each commit]

update insert tests for new maildir synchronization rules

As of id:1355952747-27350-4-git-send-email-sojkam1@fel.cvut.cz
we are more conservative about moving messages from ./new to ./cur.
This updates the insert tests to match
</content>
</entry>
<entry>
<title>test: test insert --create-folder option</title>
<updated>2013-07-04T03:08:16Z</updated>
<author>
<name>Peter Wang</name>
<email>novalazy@gmail.com</email>
</author>
<published>2013-06-23T04:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9a64b2df292858597c0bf632b8df69aa1dba07e4'/>
<id>urn:sha1:9a64b2df292858597c0bf632b8df69aa1dba07e4</id>
<content type='text'>
Add tests for notmuch insert --create-folder option.
</content>
</entry>
<entry>
<title>test: test insert --folder option</title>
<updated>2013-07-01T15:23:09Z</updated>
<author>
<name>Peter Wang</name>
<email>novalazy@gmail.com</email>
</author>
<published>2013-06-23T04:24:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0c4b8aa73682c5f43b7b2b18d183b4ed70e1b208'/>
<id>urn:sha1:0c4b8aa73682c5f43b7b2b18d183b4ed70e1b208</id>
<content type='text'>
Add tests for notmuch insert --folder option.
</content>
</entry>
<entry>
<title>test: add tests for insert</title>
<updated>2013-06-29T22:29:02Z</updated>
<author>
<name>Peter Wang</name>
<email>novalazy@gmail.com</email>
</author>
<published>2013-06-23T04:23:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7e3a7ed62fcd939e04f39c8ba43c4702d10e9d16'/>
<id>urn:sha1:7e3a7ed62fcd939e04f39c8ba43c4702d10e9d16</id>
<content type='text'>
Add tests for new 'insert' command.
</content>
</entry>
</feed>
