<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/corpora, branch debian/0.40-2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.40-2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.40-2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2024-06-15T17:40:00Z</updated>
<entry>
<title>test/corpora: add example with text/calendar attachment</title>
<updated>2024-06-15T17:40:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-05-29T10:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=55d259a1143000658a97d300d6c4514ea54be36e'/>
<id>urn:sha1:55d259a1143000658a97d300d6c4514ea54be36e</id>
<content type='text'>
Initially for testing rendering in Emacs.
</content>
</entry>
<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>test: replace aging OpenPGP key used in the test suite</title>
<updated>2022-09-23T23:16:00Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@sequoia-pgp.org</email>
</author>
<published>2022-09-22T08:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bf8aa34324cc91a530b0b12f833f106c939f7d84'/>
<id>urn:sha1:bf8aa34324cc91a530b0b12f833f106c939f7d84</id>
<content type='text'>
This replaces the old OpenPGPv4 key that is used in the test suite
with a more modern OpenPGPv4 key.  All cryptographic artifacts in the
test suite are updated accordingly.

Having old cryptographic artifacts in the test suite presents a
problem once the old algorithms are rejected by contemporary
implementations.

For reference, this is the old key.

  sec   rsa1024 2011-02-05 [SC]
        5AEAB11F5E33DCE875DDB75B6D92612D94E46381
  uid           [ unknown] Notmuch Test Suite &lt;test_suite@notmuchmail.org&gt; (INSECURE!)
  ssb   rsa1024 2011-02-05 [E]

And this is the new key.  Note that is has the same shape, but uses
Ed25519 and Cv25519 instead of 1024-bit RSA.

  sec   ed25519 2022-09-07 [SC]
        9A3AFE6C60065A148FD4B58A7E6ABE924645CC60
  uid           [ultimate] Notmuch Test Suite (INSECURE!) &lt;test_suite@notmuchmail.org&gt;
  ssb   cv25519 2022-09-07 [E]
</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>test: rename indexing corpus</title>
<updated>2022-09-03T12:05:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-08-20T18:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a832f940e10dee79029556c002b522daadb07d74'/>
<id>urn:sha1:a832f940e10dee79029556c002b522daadb07d74</id>
<content type='text'>
The corpus is not really suitable for general indexing test since the
sole message is ignored (and will most likely continue to be ignored)
by notmuch-new.
</content>
</entry>
<entry>
<title>test: add new corpus of duplicate messages</title>
<updated>2022-07-05T10:05:49Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-07-01T21:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bf9e206925a892adecfaf31b48b14d024885b806'/>
<id>urn:sha1:bf9e206925a892adecfaf31b48b14d024885b806</id>
<content type='text'>
This corpus will be used to test a new --duplicate option for notmuch-show
</content>
</entry>
<entry>
<title>test: make T450 independent of application/octet-stream interpretation</title>
<updated>2022-05-29T10:23:32Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2022-05-26T16:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=aec72e5806bb3103fdc0b30e5edcac8158dc67a6'/>
<id>urn:sha1:aec72e5806bb3103fdc0b30e5edcac8158dc67a6</id>
<content type='text'>
The actual content type of `application/octet-stream` is up to content
type detection of the reader, and thus may not be stable across
implementations or versions. This showed up when

fd46fc19 ("emacs:  document/defcustom notmuch-multipart/alternative-discouraged", 2022-05-14)

introduced a test for omitting a part of type `text/html` because it
expected a part of type `application/octet-stream` to remain in place,
i.e. a part of "unstable type". In particular, tests with `fd46fc19`
would succeed on RHEL/EPEL but fail on all current Fedoras with

```
 FAIL   multipart/alternative hides html by default
	--- T450-emacs-show.16.notmuch-show-multipart-alternative	2022-05-26 15:34:42.100557244 +0000
	+++ T450-emacs-show.16.OUTPUT	2022-05-26 15:34:42.102557207 +0000
	@@ -24,7 +24,7 @@
	 uses 64 as the
	 buffer size.
	 [ text/html (hidden) ]
	-[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-diff) ]
	+[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-patch) ]
	 From e3bc4bbd7b9d0d086816ab5f8f2d6ffea1dd3ea4 Mon Sep 17 00:00:00 2001
	 From: Alexander Botero-Lowry &lt;alex.boterolowry@gmail.com&gt;
	 Date: Tue, 17 Nov 2009 11:30:39 -0800
```

due to the different type detected.

Fix this by giving that message a specicific type of `text/x-diff` in
the test corpus, and adjust all affected test outputs.

Signed-off-by: Michael J Gruber &lt;git@grubix.eu&gt;
Amended-by: db, fix some trailing whitespace
</content>
</entry>
<entry>
<title>test: start corpus for attachments</title>
<updated>2022-05-16T10:10:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-03-19T10:07:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b884d7e2f5bebdc8b1c2a3c8bd4e16fccb92e39c'/>
<id>urn:sha1:b884d7e2f5bebdc8b1c2a3c8bd4e16fccb92e39c</id>
<content type='text'>
Initially these are to test the emacs frontend.
</content>
</entry>
<entry>
<title>test: start new corpus of test messages for indexing code</title>
<updated>2022-02-20T00:14:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-05T19:52:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=190d8a77114993f7eede09c9346fbd3c8f16810e'/>
<id>urn:sha1:190d8a77114993f7eede09c9346fbd3c8f16810e</id>
<content type='text'>
This particular message is not recognized by notmuch as mail, but is
fine according to e.g. mutt. The trigger for this bad behaviour seems
to be a second "From " ocurring at the beginning of the line but
inside an attachment.
</content>
</entry>
<entry>
<title>test/crypto: test message with rfc822 attachment.</title>
<updated>2021-08-30T23:24:59Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-07-03T20:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e1c56f49deb71a9a1b419331a5df38ce3cb4fb4a'/>
<id>urn:sha1:e1c56f49deb71a9a1b419331a5df38ce3cb4fb4a</id>
<content type='text'>
This is intended to help track down a display problem in the emacs
front end
</content>
</entry>
</feed>
