<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/new, branch 0.16</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.16</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.16'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-11-27T02:17:20Z</updated>
<entry>
<title>new: Skip ignored broken symlinks</title>
<updated>2012-11-27T02:17:20Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-25T05:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7611a72be2cf6488c4d57ac0545469ff7ae89760'/>
<id>urn:sha1:7611a72be2cf6488c4d57ac0545469ff7ae89760</id>
<content type='text'>
We now test for user ignore patterns before attempting to determine if
a directory entry is itself a directory.  As a result, we no longer
abort for broken symlinks if the user has explicitly ignored them.

This fixes the test added in the previous patch.  It also slightly
changes the debug output checked by another test of ignores.
</content>
</entry>
<entry>
<title>test: Add a test for skipping ignored broken symlinks</title>
<updated>2012-11-27T02:12:21Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-25T05:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f5d65615bb1a9e34761674aa5432495579b0aeaf'/>
<id>urn:sha1:f5d65615bb1a9e34761674aa5432495579b0aeaf</id>
<content type='text'>
Currently marked as broken because we abort on broken symlinks, even
if they are in the ignore list.
</content>
</entry>
<entry>
<title>lib: Reject multi-message mboxes and deprecate single-message mbox</title>
<updated>2012-11-27T01:12:10Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-25T06:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=610f0e09929a5f351f7c1c3850ac7e0d83ffe388'/>
<id>urn:sha1:610f0e09929a5f351f7c1c3850ac7e0d83ffe388</id>
<content type='text'>
Previously, we would treat multi-message mboxes as one giant email,
which, besides the obvious incorrect indexing, often led to
out-of-memory errors for archival mboxes.  Now we explicitly reject
multi-message mboxes.  For historical reasons, we retain support for
single-message mboxes, but official deprecate this behavior.
</content>
</entry>
<entry>
<title>test: Test for ignoring multi-message mbox</title>
<updated>2012-11-27T01:10:11Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-25T06:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=079f5a138b685bb33bee86c0ed5b8d17f58b09af'/>
<id>urn:sha1:079f5a138b685bb33bee86c0ed5b8d17f58b09af</id>
<content type='text'>
This test is currently broken.  Note that its brokenness cascades and
causes the next test to fail as well (because notmuch incorrectly
indexes the mbox file).
</content>
</entry>
<entry>
<title>test: Test notmuch new for single-message mbox</title>
<updated>2012-11-27T01:05:15Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-25T06:15:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=de9875ca8335dffa0e2d4efd06eadb104c84f95b'/>
<id>urn:sha1:de9875ca8335dffa0e2d4efd06eadb104c84f95b</id>
<content type='text'>
We support this for historical reasons.
</content>
</entry>
<entry>
<title>test: new: Fix intermittent test failures with --debug</title>
<updated>2012-10-22T23:04:15Z</updated>
<author>
<name>Ethan Glasser-Camp</name>
<email>ethan.glasser.camp@gmail.com</email>
</author>
<published>2012-10-21T13:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0d552ab6d0d9f7783d5f3cd0a246243c91090d49'/>
<id>urn:sha1:0d552ab6d0d9f7783d5f3cd0a246243c91090d49</id>
<content type='text'>
Although messages are created in a particular order, it seems that
when they are created on a tmpfs, they do not always come back in the
same order, leading to the same files being ignored but being output
in a different order. This causes the test to fail because the outputs
being compared are the same.

Fix the failures by sorting the output of notmuch --debug and
comparing this to a hand-sorted version of its output.

Signed-off-by: Ethan Glasser-Camp &lt;ethan@betacantrips.com&gt;
</content>
</entry>
<entry>
<title>test: another test wrt ignoring user-specified files and directories</title>
<updated>2012-10-20T20:29:00Z</updated>
<author>
<name>Pieter Praet</name>
<email>pieter@praet.org</email>
</author>
<published>2012-10-12T19:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1a4aa694921cbc79014141523c8afbfecb5076c9'/>
<id>urn:sha1:1a4aa694921cbc79014141523c8afbfecb5076c9</id>
<content type='text'>
Demonstrates that *every* file/directory which matches one of the values
in 'new.ignore' will be ignored, independent of its depth/location in
the mail store.

Signed-off-by: Ethan Glasser-Camp &lt;ethan@betacantrips.com&gt;
</content>
</entry>
<entry>
<title>new: Centralize file type stat-ing logic</title>
<updated>2012-05-25T00:53:08Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-05-24T22:01:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d99270c450d8f9ef3ecfbcbeeb99b581f36c9175'/>
<id>urn:sha1:d99270c450d8f9ef3ecfbcbeeb99b581f36c9175</id>
<content type='text'>
This moves our logic to get a file's type into one function.  This has
several benefits: we can support OSes and file systems that do not
provide dirent.d_type or always return DT_UNKNOWN, complex
symlink-handling logic has been replaced by a simple stat fall-through
in one place, and the error message for un-stat-able file is more
accurate (previously, the error always mentioned directories, even
though a broken symlink is not a directory).
</content>
</entry>
<entry>
<title>test: Test notmuch new with a broken symlink</title>
<updated>2012-05-25T00:52:53Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-05-24T22:01:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=72c944655f9bc29809dc2f64d206d942d2198f6f'/>
<id>urn:sha1:72c944655f9bc29809dc2f64d206d942d2198f6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: replace occurrences of $PWD with vars that are more stable</title>
<updated>2012-02-25T12:48:47Z</updated>
<author>
<name>Pieter Praet</name>
<email>pieter@praet.org</email>
</author>
<published>2012-02-01T20:37:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b32831e5b8e494da802f7c616c986fcd1e1e7b5f'/>
<id>urn:sha1:b32831e5b8e494da802f7c616c986fcd1e1e7b5f</id>
<content type='text'>
Thanks to Dmitry Kurochkin &lt;dmitry.kurochkin@gmail.com&gt;
for pointing this out:  id:"87d39ymyb4.fsf@gmail.com"
</content>
</entry>
</feed>
