<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/devel, branch 0.28</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.28</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.28'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2018-06-14T23:38:20Z</updated>
<entry>
<title>use #!/usr/bin/env python consistently</title>
<updated>2018-06-14T23:38:20Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-06-12T21:21:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0741e48c3dafdc243abda866c962707344467904'/>
<id>urn:sha1:0741e48c3dafdc243abda866c962707344467904</id>
<content type='text'>
</content>
</entry>
<entry>
<title>minor cleanup to printmimestructure</title>
<updated>2018-06-14T23:36:19Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2018-06-12T21:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0a3dff7b8a7eb0f60abd1e3f04518cce035d11ba'/>
<id>urn:sha1:0a3dff7b8a7eb0f60abd1e3f04518cce035d11ba</id>
<content type='text'>
make the source slightly easier to read.  no functional change.
</content>
</entry>
<entry>
<title>devel: make printmimestructure py3 compatible</title>
<updated>2018-06-14T23:33:17Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-06-12T21:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8ca911d13b6f38bb07586e7d488c0ce9d0be4d30'/>
<id>urn:sha1:8ca911d13b6f38bb07586e7d488c0ce9d0be4d30</id>
<content type='text'>
Make printmimestructure work in python3 as well as python2.
</content>
</entry>
<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>fix typos</title>
<updated>2018-01-05T00:35:58Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-01-02T15:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=54982e520c3bee74e947e311ee5b1219396fa1a8'/>
<id>urn:sha1:54982e520c3bee74e947e311ee5b1219396fa1a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nmbug: Bump to version 0.3</title>
<updated>2017-12-29T20:44:20Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2017-12-28T18:11:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=75477003e9df8208ac1db56d532b806a69ad0dfb'/>
<id>urn:sha1:75477003e9df8208ac1db56d532b806a69ad0dfb</id>
<content type='text'>
Changes since 0.2:

* Accept failures to unset core.worktree in clone (0a155847,
  2017-10-10, unreleased).
* Use --no-renames in log (f9189a06, 2016-09-26, v0.24).
* Auto-checkout in clone if it wouldn't clobber (7ef3b653, 2017-10-10,
  unreleased).
* Add a 'help' command for folks who don't like --help
  (9d25c97d, 2014-10-03, v0.20).
* Setup a 'config' branch on clone to track origin/config (244f8739,
  2015-03-22, v0.20).  This branch may be consumed by
  notmuch-report(1).
* Only error for invalid diff lines in tags/ (57225988, 2017-10-16,
  unreleased).
* Ignore # comments in 'notmuch dump ...' output (9bbc54bd,
  2016-03-27, v0.22).
* Respect 'expect' in _spawn(..., wait=True) (e263c5b1, 2017-10-10,
  unreleased).
* Update URLs in documentation (554b90b5 and 6a833a6e8, 2016-06-02,
  v0.23).
</content>
</entry>
<entry>
<title>nmbug: Only error for invalid diff lines in tags/</title>
<updated>2017-12-16T12:20:13Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2017-10-16T18:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=572259885af4d5858c3be5c2119ec7019e1ca617'/>
<id>urn:sha1:572259885af4d5858c3be5c2119ec7019e1ca617</id>
<content type='text'>
Avoid:

  Traceback (most recent call last):
    File "/home/nmbug/bin/nmbug", line 834, in &lt;module&gt;
      args.func(**kwargs)
    File "/home/nmbug/bin/nmbug", line 385, in checkout
      status = get_status()
    File "/home/nmbug/bin/nmbug", line 580, in get_status
      maybe_deleted = _diff_index(index=index, filter='D')
    File "/home/nmbug/bin/nmbug", line 658, in _diff_index
      for id, tag in _unpack_diff_lines(stream=p.stdout):
    File "/home/nmbug/bin/nmbug", line 678, in _unpack_diff_lines
      'Invalid line in diff: {!r}'.format(line.strip()))
  ValueError: Invalid line in diff: u'.mailmap'

With this commit, folks can commit READMEs, .mailmap, etc. to their
nmbug repositories, and 'nmbug diff' and 'status' won't choke on them.
If you want to check for this sort of thing, you can set --log-level
to info or greater.  nmbug will still error if the unrecognized path
is under tags/, since that's more likely to be a user error.
</content>
</entry>
<entry>
<title>nmbug: Auto-checkout in clone if it wouldn't clobber</title>
<updated>2017-12-11T13:07:09Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2017-10-10T22:49:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7ef3b65376b87829441736f04b3231021f561d84'/>
<id>urn:sha1:7ef3b65376b87829441736f04b3231021f561d84</id>
<content type='text'>
We currently auto-checkout after pull and merge to make those more
convenient.  They're guarded against data-loss with a leading
_insist_committed().  This commit adds the same convenience to clone,
since in most cases users will have no NMBPREFIX-prefixed tags in
their database when they clone.  Users that *do* have
NMBPREFIX-prefixed tags will get a warning (and I've bumped the
default log level to warning so folks who don't set --log-level will
see it) like:

  $ nmbug clone http://nmbug.notmuchmail.org/git/nmbug-tags.git
  Cloning into '/tmp/nmbug-clone.g9dvd0tv'...
  Checking connectivity: 16674, done.
  Branch config set up to track remote branch config from origin.
  Not checking out to avoid clobbering existing tags: notmuch::0.25, ...
</content>
</entry>
<entry>
<title>nmbug: Accept failures to unset core.worktree in clone</title>
<updated>2017-12-11T13:06:47Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2017-10-10T22:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0a1558471f70ec8591c9d40808d1ffd930742054'/>
<id>urn:sha1:0a1558471f70ec8591c9d40808d1ffd930742054</id>
<content type='text'>
Since 6311cfaf (init: do not set unnecessary core.worktree,
2016-09-25, 2.11.0 [1]), Git has no longer set core.worktree when
--separate-git-dir is used.  This broke clone with:

  $ nmbug clone http://nmbug.notmuchmail.org/git/nmbug-tags.git
  Cloning into '/tmp/nmbug-clone.33gg442e'...
  Checking connectivity: 16674, done.
  ['git', '--git-dir', '/home/wking/.nmbug', 'config', '--unset', 'core.worktree'] exited with 5
  $ echo $?
  1

The initial discussion that lead to the Git change is in [2], and
there is some more discussion around this specific change in [3].
There is some useful background on working trees in this 2009 message
[4].  There is also a git-worktree(1) since df0b6cfb (worktree: new
place for "git prune --worktrees", 2015-06-29, 2.5.0 [5]) which grew
the ability to add new worktrees in 799767cc (Merge branch
'es/worktree-add', 2015-07-13, 2.5.0 [6]).  Folks relying on
core.worktree in the --separate-git-dir case fall into the "former
case" in [4], and as Junio pointed out in that message, Git
operations like 'add' don't really work there.

In nmbug we don't want core.worktree, because our effective working
tree is the notmuch database.  By accepting failed core.worktree
unsets, clone will work with Gits older and younger than 2.11.0.

[1]: https://github.com/git/git/commit/6311cfaf93716bcc43dd1151cb1763e3f80d8099
[2]: https://public-inbox.org/git/CALqjkKZO_y0DNcRJjooyZ7Eso7yBMGhvZ6fE92oO4Su7JeCeng@mail.gmail.com/
[3]: https://public-inbox.org/git/87h94d8cwi.fsf@kyleam.com/
[4]: https://public-inbox.org/git/7viqbsw2vn.fsf@alter.siamese.dyndns.org/
[5]: https://github.com/git/git/commit/df0b6cfbda88144714541664fb501146d6465a82
[6]: https://github.com/git/git/commit/799767cc98b2f8e6f82d0de4bef9b5e8fcc16e97

Reported-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>nmbug: Respect 'expect' in _spawn(..., wait=True)</title>
<updated>2017-12-11T13:06:30Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2017-10-10T22:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e263c5b1f9e21d049ab04be0bec3ec7dc5bbc30e'/>
<id>urn:sha1:e263c5b1f9e21d049ab04be0bec3ec7dc5bbc30e</id>
<content type='text'>
Fixing a bug from 7f2cb3be (nmbug: Translate to Python, 2014-10-03).
The bug had no direct impact though, because none of the wait=True
callers were setting expect.

Also add expected codes to the debug messages, to help log readers
understand why nonzero exits are occasionally accepted.
</content>
</entry>
</feed>
