<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T050-new.sh, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2023-04-02T22:24:43Z</updated>
<entry>
<title>lib: index attachments with mime types matching index.as_text</title>
<updated>2023-04-02T22:24:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-01-06T00:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a554690d6af0ac8cb55166a20efd0f449abde389'/>
<id>urn:sha1:a554690d6af0ac8cb55166a20efd0f449abde389</id>
<content type='text'>
Instead of skipping indexing all attachments, we check of a (user
configured) mime type that is indexable as text.
</content>
</entry>
<entry>
<title>lib: add better diagnostics for over long filenames.</title>
<updated>2023-02-20T13:22:32Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-12-27T17:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=09f2ad8e853375930c63bca847f623bc722b9cc0'/>
<id>urn:sha1:09f2ad8e853375930c63bca847f623bc722b9cc0</id>
<content type='text'>
Previously we just crashed with an internal error. With this change,
the caller can handle it better. Update notmuch-new so that it doesn't
crash with "unknown error code" because of this change.
</content>
</entry>
<entry>
<title>test: add known broken test for diagnostics from over long filenames.</title>
<updated>2023-02-20T13:22:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-12-27T17:08:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4e6c6c8aac7f581448df525abd09b85c08358dd3'/>
<id>urn:sha1:4e6c6c8aac7f581448df525abd09b85c08358dd3</id>
<content type='text'>
Previously we tested over long directory names, add similar testing
for over long filenames.
</content>
</entry>
<entry>
<title>test: mark some tests as broken when run as root.</title>
<updated>2023-01-06T00:14:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-01-04T12:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f4dc32e71b6fbaca933e0c7edd6d08b65feed0ec'/>
<id>urn:sha1:f4dc32e71b6fbaca933e0c7edd6d08b65feed0ec</id>
<content type='text'>
File permission errors e.g., are hard to trigger as root.
</content>
</entry>
<entry>
<title>test: add known broken test for indexing text/* attachments</title>
<updated>2022-09-03T12:06:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-08-20T18:50:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8eabd6388ecb7bea8246a9ba6943a0432d23406e'/>
<id>urn:sha1:8eabd6388ecb7bea8246a9ba6943a0432d23406e</id>
<content type='text'>
The general problem of indexing attachments requires some help to turn
things into text, but (most?) text/* should be doable internally,
possibly with optimizations as for the text/html case.
</content>
</entry>
<entry>
<title>cli/new: only ignore .notmuch at top level</title>
<updated>2022-01-16T14:52:13Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-26T12:24:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6472dbf4b7fdec3bd59d7622ef477a035e34c67a'/>
<id>urn:sha1:6472dbf4b7fdec3bd59d7622ef477a035e34c67a</id>
<content type='text'>
Since the bug was first reported in [1], notmuch has gained the
ability to have the database located outside the mail root, hence this
this change differs slightly from Jani's proposed solution [2] in not
using notmuch_database_get_path, but rather the already retrieved
mail_root.

[1]: id:87mwhifu9a.fsf@trouble.defaultvalue.org
[2]: id:87ios5v59p.fsf@nikula.org
</content>
</entry>
<entry>
<title>test: add known broken test for ignoring non-toplevel .notmuch</title>
<updated>2022-01-16T14:47:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-26T12:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fd6d50b38f8d8529191f6c9b637ecb458018baa3'/>
<id>urn:sha1:fd6d50b38f8d8529191f6c9b637ecb458018baa3</id>
<content type='text'>
In [1] Rob observed that notmuch new ignored directories called
.notmuch everywhere in the tree, where they should only (and now, with
split configs, at most) be ignored at the top level. Add a test to
demonstrate the problem.

[1]: id:87mwhifu9a.fsf@trouble.defaultvalue.org
</content>
</entry>
<entry>
<title>test/new: replace use of gdb in vanishing file test</title>
<updated>2021-12-04T16:36:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-25T01:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=efa7f35d4a28bd8af20cc5dee3195dc8f2d142bc'/>
<id>urn:sha1:efa7f35d4a28bd8af20cc5dee3195dc8f2d142bc</id>
<content type='text'>
Unlike the similar change in T060-new, no symlink creation is needed
here.
</content>
</entry>
<entry>
<title>config: ignore leading/trailing spaces in ';'-delimited lists</title>
<updated>2021-12-04T16:16:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-30T17:17:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bab633d3ac87167dc214094f9d340655885a01b1'/>
<id>urn:sha1:bab633d3ac87167dc214094f9d340655885a01b1</id>
<content type='text'>
In [1] Ciprian observed that it was easy for users to mistakenly
introduce leading and trailing space to new.tags when editing a
notmuch config file. This commit strips spaces on either side of the
';' delimiter when splitting.

In principle it would be possible to support tags (or other config
values) with leading or trailing spaces by processing '\s' escapes in
the input string. Currently such processing is not done.

[1]: id:CA+Tk8fzjPLaEd3vL1f9ebk_bF_RV8PDTLzDupraTkCLCpJAmCg@mail.gmail.com
</content>
</entry>
<entry>
<title>test: known broken tests for leading/trailing ws in config</title>
<updated>2021-12-04T16:15:49Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-30T17:17:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e22bbb124e4f9191880e80d6517346f35bf7e2a9'/>
<id>urn:sha1:e22bbb124e4f9191880e80d6517346f35bf7e2a9</id>
<content type='text'>
These tests duplicate the bug/misfeature reported in

      id:CA+Tk8fzjPLaEd3vL1f9ebk_bF_RV8PDTLzDupraTkCLCpJAmCg@mail.gmail.com
</content>
</entry>
</feed>
