<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/devel, branch 0.21_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.21_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.21_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2015-10-04T10:22:03Z</updated>
<entry>
<title>nmbug-status: print config errors to stderr</title>
<updated>2015-10-04T10:22:03Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-10-03T07:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=018e69f558c4ad36cefce42a11c2cdfe7270cb04'/>
<id>urn:sha1:018e69f558c4ad36cefce42a11c2cdfe7270cb04</id>
<content type='text'>
Particularly scripted usage with stdout redirection can be confusing
if errors are printed to stdout instead of stderr.
</content>
</entry>
<entry>
<title>nmbug-status: add support for specifying sort order for each view</title>
<updated>2015-09-29T11:25:25Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-09-26T11:37:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8b35b8f71aec56232a3d305aff6cf315bf31331e'/>
<id>urn:sha1:8b35b8f71aec56232a3d305aff6cf315bf31331e</id>
<content type='text'>
Let each view have a "sort" key, typically used with values
"oldest-first" or "newest-first" (although all values in Query.SORT
are accepted), and sort the results accordingly. Oldest first remains
the default.

The dynamic approach of mapping sort values is as suggested by
W. Trevor King &lt;wking@tremily.us&gt;.
</content>
</entry>
<entry>
<title>build: extract library versions from notmuch.h</title>
<updated>2015-08-10T11:53:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-08-09T14:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=765556c1f159ae0a29137c935c7cbf4106569e7e'/>
<id>urn:sha1:765556c1f159ae0a29137c935c7cbf4106569e7e</id>
<content type='text'>
- Make lib/notmuch.h the canonical location for the library versioning
information.

- Since the release-check should never fail now, remove it to reduce
complexity.

- Make the version numbers in notmuch.h consistent with the (now
  deleted) ones in lib/Makefile.local
</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>devel/release-checks.sh: made python version check work with python 3</title>
<updated>2015-08-04T14:27:34Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2015-08-02T09:48:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6d5c7b3ca50cb2ce36d4a2d6e6f064afcba7410b'/>
<id>urn:sha1:6d5c7b3ca50cb2ce36d4a2d6e6f064afcba7410b</id>
<content type='text'>
This trivial change consists of just putting print() argument in
parentheses.
</content>
</entry>
<entry>
<title>lib: define NOTMUCH_DEPRECATED macro, document its use.</title>
<updated>2015-08-04T07:11:17Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-06-07T15:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7e2d0ef10588b37922a6b48ca18005ce51bc0669'/>
<id>urn:sha1:7e2d0ef10588b37922a6b48ca18005ce51bc0669</id>
<content type='text'>
This has been tested with gcc and clang.
</content>
</entry>
<entry>
<title>release-checks: check that git working directory is clean</title>
<updated>2015-06-09T17:33:22Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2015-06-02T14:43:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a5a21bbe78725db70153b6bf59c1856de2dcae4d'/>
<id>urn:sha1:a5a21bbe78725db70153b6bf59c1856de2dcae4d</id>
<content type='text'>
Before release check that there are no uncommitted changes and
that there are no files in working directory that possibly should
have been added to the repository.

Amended by db: remove --ignored, since that seems like too much
trouble.
</content>
</entry>
<entry>
<title>nmbug-status: Use 'show-ref --heads' for loading configs</title>
<updated>2015-04-01T04:16:06Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2015-03-22T22:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=244f8739543dd2f6cde1188074fc4b32272e8446'/>
<id>urn:sha1:244f8739543dd2f6cde1188074fc4b32272e8446</id>
<content type='text'>
When loading configs from Git, the bare branch name (without a
refs/heads/ prefix or similar) matches all branches of that name
(including remote-tracking branches):

  .nmbug $ git show-ref config
  48f3bbf1d1492e5f3d2f01de6ea79a30d3840f20 refs/heads/config
  48f3bbf1d1492e5f3d2f01de6ea79a30d3840f20 refs/remotes/origin/config
  4b6dbd9ffd152e7476f5101eff26747f34497cee refs/remotes/wking/config

Instead of relying on the ordering of the matching references, use
--heads to ensure we only match local branches.
</content>
</entry>
<entry>
<title>nmbug-status: Clarify errors for illegible configs</title>
<updated>2015-03-15T08:28:15Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2014-05-10T19:16:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bed8b6743d1cfffe8193c6b3571ef460b92e4ade'/>
<id>urn:sha1:bed8b6743d1cfffe8193c6b3571ef460b92e4ade</id>
<content type='text'>
Carl Worth pointed out that errors like:

  $ ./nmbug-status
  fatal: Not a git repository: '/home/cworth/.nmbug'
  fatal: Not a git repository: '/home/cworth/.nmbug'
  Traceback (most recent call last):
    File "./nmbug-status", line 254, in &lt;module&gt;
      config = read_config(path=args.config)
    File "./nmbug-status", line 73, in read_config
      return json.load(fp)
    File "/usr/lib/python2.7/json/__init__.py", line 290, in load
      **kw)
    File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
      return _default_decoder.decode(s)
    File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
      raise ValueError("No JSON object could be decoded")
  ValueError: No JSON object could be decoded

are not particularly clear.  With this commit, we'll get output like:

  $ ./nmbug-status
  fatal: Not a git repository: '/home/wking/.nmbug'
  No local branch 'config' in /home/wking/.nmbug.  Checkout a local
  config branch or explicitly set --config.

which is much more accessible.  I've also added user-friendly messages
for a number of other config-parsing errors.
</content>
</entry>
<entry>
<title>lib: make notmuch_query_count_messages explicitely exact</title>
<updated>2015-03-13T06:58:55Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-10-14T16:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6d44e5ac4743f618513c9a080733d91afa683f16'/>
<id>urn:sha1:6d44e5ac4743f618513c9a080733d91afa683f16</id>
<content type='text'>
The default is actually exact if no checkatleast parameter is
specified. This change makes that explicit, mainly for documentation,
but also to be safe in the unlikely event of a change of default.

[ commit message rewritten by db based on id:87lho0nlkk.fsf@nikula.org
]
</content>
</entry>
</feed>
