<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T520-show.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>2024-08-06T09:50:33Z</updated>
<entry>
<title>CLI/show: warn if crypto options are used with mbox format</title>
<updated>2024-08-06T09:50:33Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-12-21T17:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a691d54280b574035d38f3827d5caca9d0a6ae5b'/>
<id>urn:sha1:a691d54280b574035d38f3827d5caca9d0a6ae5b</id>
<content type='text'>
This limitation seems somewhat hard to fix, but at least try to warn
users when combining crypto operations with mbox output format.

Because the default is --decrypt=auto, the warning is omitted if
--decrypt=auto is specified. While this is not great, it seems more
wrong to always warn, or to change the default because of this.
</content>
</entry>
<entry>
<title>test/cli: Add known broken test for (missing) quoting in From</title>
<updated>2024-06-15T17:46:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-05-26T12:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0d2a964ea3d0c466d6284dd0b693285941c28440'/>
<id>urn:sha1:0d2a964ea3d0c466d6284dd0b693285941c28440</id>
<content type='text'>
In [1], Jakub Wilk observes that the current behaviour is confusing
since it looks like there are two mailboxes in From, while in fact
there is only one.  It seems to me that notmuch should at least quote
the display-name part of a mailbox if it has "funny" characters in it,
and perhaps always quote it. Either way will require changing the
indexing code, since the structure is lost when writing the headers to
the database.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021614
</content>
</entry>
<entry>
<title>test: treat undefined feature variables as 0</title>
<updated>2023-07-21T09:58:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-04-09T14:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dfa43a19218ed46f677034ab7bf8b8907a327935'/>
<id>urn:sha1:dfa43a19218ed46f677034ab7bf8b8907a327935</id>
<content type='text'>
When running the test suite without building first, it is desirable to
have the tests consider these variables being undefined as equivalent
to the feature not being present, and in particular for the tests not
to generate errors.
</content>
</entry>
<entry>
<title>CLI/show: support --duplicate for structured output</title>
<updated>2022-07-30T11:41:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-07-01T21:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4612f3eb3dbf16bf98ccbadef77d7a6f6361e692'/>
<id>urn:sha1:4612f3eb3dbf16bf98ccbadef77d7a6f6361e692</id>
<content type='text'>
This introduces a new mandatory key for message structures, namely
"duplicate". Per convention in devel/schemata this does _not_ increase
the format version. This means that clients are responsible for
checking that it exists, and not crashing if it does not.

The main functional change is teaching mime_node_open to understand a
'duplicate' argument.

Support for --duplicate in notmuch-reply would make sense, but we
defer it to a later commit.
</content>
</entry>
<entry>
<title>CLI/{count, dump, reindex, reply, show}: enable sexp queries</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2944d5913319056dfec5c23065932fd1c87a96f6'/>
<id>urn:sha1:2944d5913319056dfec5c23065932fd1c87a96f6</id>
<content type='text'>
The change in each case is to call notmuch_query_create_with_syntax,
relying on the already inherited shared options.  As a bonus we get
improved error handling from the new query creation API.

The remaining subcommand is 'tag', which is a bit trickier.
</content>
</entry>
<entry>
<title>CLI/show: tests for the new --sort option</title>
<updated>2021-07-03T23:27:39Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2021-07-02T20:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=13d49b8e16cfbe9ea473754a3f59861cd68549e1'/>
<id>urn:sha1:13d49b8e16cfbe9ea473754a3f59861cd68549e1</id>
<content type='text'>
New unit tests for notmuch show --sort, covering the basic use cases.
</content>
</entry>
<entry>
<title>test: use $(dirname "$0") for sourcing test-lib.sh</title>
<updated>2017-10-20T22:52:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-09-25T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a863de1e43ee34f6f5794a2759fdceb287e851aa'/>
<id>urn:sha1:a863de1e43ee34f6f5794a2759fdceb287e851aa</id>
<content type='text'>
Don't assume the tests are always run from within the source tree.
</content>
</entry>
<entry>
<title>test: make script exit (1) if it "fails" to source (.) a file</title>
<updated>2015-08-07T19:56:39Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2015-08-06T09:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02a2eeb427d6b424029f6e5e5ddad4c6ec987741'/>
<id>urn:sha1:02a2eeb427d6b424029f6e5e5ddad4c6ec987741</id>
<content type='text'>
The files (test) scripts source (with builtin command `.`) provides
information which the scripts depend, and without the `source` to
succeed allowing script to continue may lead to dangerous situations
(e.g. rm -rf "${undefined_variable}"/*).

At the end of all source (.) lines construct ' || exit 1' was added;
In our case the script script will exit if it cannot find (or read) the
file to be sourced. Additionally script would also exits if the last
command of the sourced file exited nonzero.
</content>
</entry>
<entry>
<title>notmuch-show: detect NULL pointer returned from notmuch_query_search_threads</title>
<updated>2014-01-25T00:24:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-01-23T12:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ecbb29e8cea404faab2ef55b06431942ee329941'/>
<id>urn:sha1:ecbb29e8cea404faab2ef55b06431942ee329941</id>
<content type='text'>
We want to return an error status, not 0 or (worse) segfault.
</content>
</entry>
<entry>
<title>test: add known broken test exit code of notmuch show</title>
<updated>2014-01-25T00:19:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-01-23T12:23:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5c526d1737212dd736b1c3fedc6bf5b3493ce436'/>
<id>urn:sha1:5c526d1737212dd736b1c3fedc6bf5b3493ce436</id>
<content type='text'>
This test catches a segfault on a syntactically invalid query. It also
catches a problem with my initial fix, which still returned 0.
</content>
</entry>
</feed>
