<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/python/docs/source, branch debian/0.27-1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.27-1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.27-1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2018-05-03T23:59:20Z</updated>
<entry>
<title>move more http -&gt; https</title>
<updated>2018-05-03T23:59:20Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-04-29T08:35:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c20a5eb80520a11cb697a45b0d9553c68e2199c8'/>
<id>urn:sha1:c20a5eb80520a11cb697a45b0d9553c68e2199c8</id>
<content type='text'>
Correct URLs that have crept into the notmuch codebase with http://
when https:// is possible.

As part of this conversion, this changeset also indicates the current
preferred upstream URLs for both gmime and sup.  the new URLs are
https-enabled, the old ones are not.

This also fixes T310-emacs.sh, thanks to Bremner for catching it.
</content>
</entry>
<entry>
<title>python: add bindings for notmuch_message_get_propert(y/ies)</title>
<updated>2018-05-02T23:16:11Z</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2018-05-02T17:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5e05f00fe59d2f2d7dceadefaab30bcc12b0e8df'/>
<id>urn:sha1:5e05f00fe59d2f2d7dceadefaab30bcc12b0e8df</id>
<content type='text'>
Message.get_property (prop) returns a string with the value of the property and
Message.get_properties (prop, exact=False) yields key, value pairs
</content>
</entry>
<entry>
<title>Fix typos as found by codespell</title>
<updated>2018-03-24T23:09:54Z</updated>
<author>
<name>Georg Faerber</name>
<email>georg@riseup.net</email>
</author>
<published>2018-03-18T02:30:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c117306f2dfcdf705ef3433962d227d1cb39eb90'/>
<id>urn:sha1:c117306f2dfcdf705ef3433962d227d1cb39eb90</id>
<content type='text'>
Signed-off-by: Georg Faerber &lt;georg@riseup.net&gt;
</content>
</entry>
<entry>
<title>python: Fix method name in docs</title>
<updated>2017-12-24T13:17:06Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-22T22:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e0ac149955686353570c19c9949c9032d46fb30f'/>
<id>urn:sha1:e0ac149955686353570c19c9949c9032d46fb30f</id>
<content type='text'>
Fix a method rename in the docs that was overlooked in
3444c731d27fd42bbbdaae00af6ca48b4525b03b.
</content>
</entry>
<entry>
<title>python: add bindings to access config</title>
<updated>2017-12-19T10:36:30Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-07T11:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6c6b0f13ffc3988b0f31774b33b8215be02abaa9'/>
<id>urn:sha1:6c6b0f13ffc3988b0f31774b33b8215be02abaa9</id>
<content type='text'>
The C functions notmuch_database_get_config,
notmuch_database_get_config_list and notmuch_database_set_config are
part of the official C bindings.  So there should also be some python
bindings for them.

Also they are the only way to access the named queries introduced in
b9bf3f44.

The interface of the python functions is designed to be close to the C
functions.
</content>
</entry>
<entry>
<title>database: add n_d_index_file (deprecates n_d_add_message)</title>
<updated>2017-08-23T10:38:37Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-08-17T23:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b10ce6bc23002d48916b1b2f375480e7540e3164'/>
<id>urn:sha1:b10ce6bc23002d48916b1b2f375480e7540e3164</id>
<content type='text'>
We need a way to pass parameters to the indexing functionality on the
first index, not just on reindexing.  The obvious place is in
notmuch_database_add_message.  But since modifying the argument list
would break both API and ABI, we needed a new name.

I considered notmuch_database_add_message_with_params(), but the
functionality we're talking about doesn't always add a message.  It
tries to index a specific file, possibly adding a message, but
possibly doing other things, like adding terms to an existing message,
or failing to deal with message objects entirely (e.g. because the
file didn't contain a message).

So i chose the function name notmuch_database_index_file.

I confess i'm a little concerned about confusing future notmuch
developers with the new name, since we already have a private
_notmuch_message_index_file function, and the two do rather different
things.  But i think the added clarity for people linking against the
future libnotmuch and the capacity for using index parameters makes
this a worthwhile tradeoff.  (that said, if anyone has another name
that they strongly prefer, i'd be happy to go with it)

This changeset also adjusts the tests so that we test whether the new,
preferred function returns bad values (since the deprecated function
just calls the new one).

We can keep the deprecated n_d_add_message function around as long as
we like, but at the next place where we're forced to break API or ABI
we can probably choose to drop the name relatively safely.

NOTE: there is probably more cleanup to do in the ruby and go bindings
to complete the deprecation directly.  I don't know those languages
well enough to attempt a fix; i don't know how to test them; and i
don't know the culture around those languages about API additions or
deprecations.
</content>
</entry>
<entry>
<title>Fix orthography</title>
<updated>2017-07-18T09:50:44Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-07-17T22:16:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=87bdfbc91f65cb1031ef0ac8a804759f2061ac10'/>
<id>urn:sha1:87bdfbc91f65cb1031ef0ac8a804759f2061ac10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use https instead of http where possible</title>
<updated>2016-06-05T11:32:17Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-06-02T16:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a833a6e83865f6999707cc30768d07e1351c2cb'/>
<id>urn:sha1:6a833a6e83865f6999707cc30768d07e1351c2cb</id>
<content type='text'>
Many of the external links found in the notmuch source can be resolved
using https instead of http.  This changeset addresses as many as i
could find, without touching the e-mail corpus or expected outputs
found in tests.
</content>
</entry>
<entry>
<title>python: Remove {Filenames,Threads}.__len__</title>
<updated>2016-01-08T12:58:33Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2016-01-08T11:27:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=096c600b96e5d556b67ac01263a1364d0b8e9115'/>
<id>urn:sha1:096c600b96e5d556b67ac01263a1364d0b8e9115</id>
<content type='text'>
Remove the __len__ functions, as they exhaust the iterator, breaking
'list(x)'.

This is a follow-up to 8866a89e.

Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
<entry>
<title>python: add new errors</title>
<updated>2016-01-08T12:58:33Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2015-12-24T11:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ed1eea8b63115343ec4a32907d9a1e1b9c0b7f1'/>
<id>urn:sha1:9ed1eea8b63115343ec4a32907d9a1e1b9c0b7f1</id>
<content type='text'>
Add support for the new notmuch status codes UNSUPPORTED_OPERATION,
UPGRADE_REQUIRED, and PATH_ERROR.

Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
</feed>
