<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch 0.26_rc1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.26_rc1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.26_rc1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-12-29T20:45:55Z</updated>
<entry>
<title>cli/reply: make --decrypt take a keyword</title>
<updated>2017-12-29T20:45:55Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-19T16:40:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=af8255fb7159652a7d4e1fe4f1398302e1746cce'/>
<id>urn:sha1:af8255fb7159652a7d4e1fe4f1398302e1746cce</id>
<content type='text'>
This brings the --decrypt argument to "notmuch reply" into line with
the other --decrypt arguments (in "show", "new", "insert", and
"reindex").  This patch is really just about bringing consistency to
the user interface.

We also use the recommended form in the emacs MUA when replying, and
update test T350 to match.
</content>
</entry>
<entry>
<title>cli/show: make --decrypt take a keyword.</title>
<updated>2017-12-29T20:45:46Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-19T16:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8ea4a99d74737929f58568505e41c94f65a14743'/>
<id>urn:sha1:8ea4a99d74737929f58568505e41c94f65a14743</id>
<content type='text'>
We also expand tab completion for it, update the emacs bindings, and
update T350, T357, and T450 to match.

Make use of the bool-to-keyword backward-compatibility feature.
</content>
</entry>
<entry>
<title>cli: some keyword options can be supplied with no argument</title>
<updated>2017-12-29T20:45:35Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-25T18:42:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0ada2a05c94de72bc2c7c57a790e92b77af37a42'/>
<id>urn:sha1:0ada2a05c94de72bc2c7c57a790e92b77af37a42</id>
<content type='text'>
We might change some notmuch command line tools that used to be
booleans into keyword arguments.

In that case, there are some legacy tools that will expect to be able
to do "notmuch foo --bar" instead of "notmuch foo --bar=baz".

This patch makes it possible to support that older API, while
providing a warning and an encouragement to upgrade.
</content>
</entry>
<entry>
<title>python: add decrypt_policy argument to Database.index_file()</title>
<updated>2017-12-24T13:47:35Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-19T19:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6aec7a76b9e70544a93b092c50d167c3e63548ee'/>
<id>urn:sha1:6aec7a76b9e70544a93b092c50d167c3e63548ee</id>
<content type='text'>
We adopt a pythonic idiom here with an optional argument, rather than
exposing the user to the C indexopts object directly.

This now includes a simple test to ensure that the decrypt_policy
argument works as expected.
</content>
</entry>
<entry>
<title>test: final named query test works regardless of Xapian FieldProcessor</title>
<updated>2017-12-21T13:35:20Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-19T16:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b1de8e885d0cb150650f34acb074bcfdfd5c3840'/>
<id>urn:sha1:b1de8e885d0cb150650f34acb074bcfdfd5c3840</id>
<content type='text'>
This test passes with older versions of Xapian as well, because
neither query returns any results.

This should resolve the travis build failure at
https://travis-ci.org/notmuch/notmuch/builds/318571658

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>lib: return "" rather than NULL from notmuch_thread_get_authors</title>
<updated>2017-12-21T13:22:30Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-12-15T02:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7cfa1c69610bcf15fb47868131d3d9102f899225'/>
<id>urn:sha1:7cfa1c69610bcf15fb47868131d3d9102f899225</id>
<content type='text'>
The current behaviour is at best under-documented. The modified test in
T470-missing-headers.sh previously relied on printf doing the right
thing with NULL, which seems icky.

The use of talloc_strdup here is probably overkill, but it avoids
having to enforce that thread-&gt;authors is never mutated outside
_resolve_thread_authors_string.
</content>
</entry>
<entry>
<title>test: retrying lock tests are broken when built against older Xapian</title>
<updated>2017-12-19T11:14:13Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-06T02:33:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8e1c3fa5bba1434077df2f5a81ed6588468f9eb9'/>
<id>urn:sha1:8e1c3fa5bba1434077df2f5a81ed6588468f9eb9</id>
<content type='text'>
If we're building against a version of Xapian that doesn't offer
retrying the lock, we should be honest and describe the tests as
broken, rather than marking them as missing a test prerequisite.

missing test prerequisites should be for specific components of the
test harness that are missing, not for the backend library notmuch
uses.
</content>
</entry>
<entry>
<title>test: named query tests are broken when missing Xapian FieldProcessor</title>
<updated>2017-12-19T11:14:07Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-06T02:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bace15c27578bc4d6f78272b4093000aaeede966'/>
<id>urn:sha1:bace15c27578bc4d6f78272b4093000aaeede966</id>
<content type='text'>
Named queries don't work without Xapian FieldProcessor.  Rather than
silently skipping them, we should explictly mark them as broken when
building against an older version of Xapian.
</content>
</entry>
<entry>
<title>test: searching by absolute date is broken without Xapian FieldProcessor</title>
<updated>2017-12-19T11:14:03Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-06T02:33:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=776a2982ae5f3fd8accfae173a32038a01b79a57'/>
<id>urn:sha1:776a2982ae5f3fd8accfae173a32038a01b79a57</id>
<content type='text'>
Previously, the test suite had simply silently skipped the absolute
date test if we're using an archaic version of Xapian.  For
correctness, we should instead mark the test as broken.

This also changes from string to numeric comparison when checking
NOMTUCH_HAVE_XAPIAN_FIELD_PROCESSOR for consistency with other tests.
</content>
</entry>
<entry>
<title>test: Add test to unset config items with the python bindings</title>
<updated>2017-12-19T10:42:50Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-07T11:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=660f1a5a3373f098f6df8912ef6b62fa2b08d8f0'/>
<id>urn:sha1:660f1a5a3373f098f6df8912ef6b62fa2b08d8f0</id>
<content type='text'>
</content>
</entry>
</feed>
