Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread Tomi Ollila
On Tue, Mar 04 2014, David Bremner da...@tethera.net wrote: Jani Nikula j...@nikula.org writes: I think we should use the prereq mechanism in the tests to check if a required test database is in place, skipping the test if not. This should be fairly straightforward to do, and does not care

Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: I can contribute script with interface ./fetch-and-check.sh [--verify-only] destdir url sha256sum This script is basically embedded in http://pivot.cs.unb.ca/git?p=notmuch.git;a=commitdiff;h=f93e32b11e517e160c755355de55ab465206dc62 except that I

Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread Tomi Ollila
On Wed, Mar 05 2014, David Bremner da...@tethera.net wrote: Tomi Ollila tomi.oll...@iki.fi writes: I can contribute script with interface ./fetch-and-check.sh [--verify-only] destdir url sha256sum This script is basically embedded in

Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: (IIRC openssl sha256 is available at least in Mac OS X, probably in other BSD:s Solaris too) OTOH sha256sum is in coreutils, so everywhere with a gnu userland has it. Some might not have openssl (it's priority optional on Debian, e.g.). d

convert man pages to sphinx

2014-03-05 Thread David Bremner
This is the first version actually integrated into the build system. If people think the results are OK, I think we should move merge because it has become more difficult than I thought to update the rst files from man page changes. Of course we can/should still fix any glaring problems. One

[PATCH 4/4] doc: automagically read version from file

2014-03-05 Thread David Bremner
This avoids having to recreate the update-man-versions rule --- doc/conf.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 6c2806d..a926fe4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -14,10 +14,16 @@ master_doc = 'index'

[PATCH 3/4] doc: install sphinx version of man pages

2014-03-05 Thread David Bremner
The python script mkdocdeps.py is used to import the list of man pages from the sphinx configuration to make. This will delete the (release only) target update-man-versions. This will be replaced in a followup commit. --- Makefile | 2 +- Makefile.local | 2 +- doc/Makefile.local

[PATCH 2/4] doc: add target rst2man to build man pages using rst2man

2014-03-05 Thread David Bremner
Many people have docutils installed, but not sphinx. Allow these people to build the man pages. --- doc/Makefile.local | 7 ++ doc/prerst2man.py | 62 ++ 2 files changed, 69 insertions(+) create mode 100644 doc/prerst2man.py diff --git

Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread Tomi Ollila
On Wed, Mar 05 2014, David Bremner da...@tethera.net wrote: Tomi Ollila tomi.oll...@iki.fi writes: (IIRC openssl sha256 is available at least in Mac OS X, probably in other BSD:s Solaris too) OTOH sha256sum is in coreutils, so everywhere with a gnu userland has it. Some might not have

Re: convert man pages to sphinx

2014-03-05 Thread Tomi Ollila
On Wed, Mar 05 2014, David Bremner da...@tethera.net wrote: This is the first version actually integrated into the build system. If people think the results are OK, I think we should move merge because it has become more difficult than I thought to update the rst files from man page changes.

Re: [PATCH v2 0/7] emacs: show tag changes in buffer

2014-03-05 Thread Jani Nikula
On Wed, 19 Feb 2014, Mark Walters markwalters1...@gmail.com wrote: This is v2 of the patch set. Version 1 is at id:1390087855-26194-1-git-send-email-markwalters1...@gmail.com. The changes in this version are: use regexp tag-format matching (a slightly tweaked version of Austin's patch

[PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread Tomi Ollila
On Tue, Mar 04 2014, David Bremner wrote: > Jani Nikula writes: > >> >> I think we should use the prereq mechanism in the tests to check if a >> required test database is in place, skipping the test if not. This >> should be fairly straightforward to do, and does not care *how* the test >>

[PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread David Bremner
Tomi Ollila writes: > > I can contribute script with interface > > ./fetch-and-check.sh [--verify-only] destdir url sha256sum > This script is basically embedded in http://pivot.cs.unb.ca/git?p=notmuch.git;a=commitdiff;h=f93e32b11e517e160c755355de55ab465206dc62 except that I rebased away

[PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread David Bremner
Tomi Ollila writes: > > (IIRC openssl sha256 is available at least in Mac OS X, probably in other > BSD:s & Solaris too) > OTOH sha256sum is in coreutils, so everywhere with a gnu userland has it. Some might not have openssl (it's priority optional on Debian, e.g.). d

convert man pages to sphinx

2014-03-05 Thread David Bremner
This is the first version actually integrated into the build system. If people think the results are OK, I think we should move merge because it has become more difficult than I thought to update the rst files from man page changes. Of course we can/should still fix any glaring problems. One

[PATCH 3/4] doc: install sphinx version of man pages

2014-03-05 Thread David Bremner
The python script mkdocdeps.py is used to import the list of man pages from the sphinx configuration to make. This will delete the (release only) target update-man-versions. This will be replaced in a followup commit. --- Makefile | 2 +- Makefile.local | 2 +- doc/Makefile.local

[PATCH 4/4] doc: automagically read version from file

2014-03-05 Thread David Bremner
This avoids having to recreate the update-man-versions rule --- doc/conf.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 6c2806d..a926fe4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -14,10 +14,16 @@ master_doc = 'index'

[PATCH 1/4] doc: convert sphinx based docs

2014-03-05 Thread David Bremner
This is the output from sphinx-quickstart, massaged a bit, along with our existing man pages converted to rst. A skeleton notmuch-emacs manual is also included. It is not suitable for end user use yet. --- Makefile | 2 +- doc/Makefile | 5 +

[PATCH 2/4] doc: add target rst2man to build man pages using rst2man

2014-03-05 Thread David Bremner
Many people have docutils installed, but not sphinx. Allow these people to build the man pages. --- doc/Makefile.local | 7 ++ doc/prerst2man.py | 62 ++ 2 files changed, 69 insertions(+) create mode 100644 doc/prerst2man.py diff --git

[PATCH v2 00/13] literal folder: prefix, new path: prefix

2014-03-05 Thread Tomi Ollila
On Wed, Mar 05 2014, David Bremner wrote: > Tomi Ollila writes: >> >> (IIRC openssl sha256 is available at least in Mac OS X, probably in other >> BSD:s & Solaris too) >> > > OTOH sha256sum is in coreutils, so everywhere with a gnu userland has > it. Some might not have openssl (it's priority

convert man pages to sphinx

2014-03-05 Thread Tomi Ollila
On Wed, Mar 05 2014, David Bremner wrote: > This is the first version actually integrated into the build system. > > If people think the results are OK, I think we should move merge > because it has become more difficult than I thought to update the rst > files from man page changes. > > Of