The first 3 patches in this series seem uncontroverisal, and pushable
alone.
d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch
W. Trevor King wk...@tremily.us writes:
+sub do_clone {
+ my $repository = shift;
+ system ('git', 'clone', '--bare', $repository, $NMBGIT) == 0
+or die 'git clone' exited with nonzero value\n;
+ my $branch = git ('symbolic-ref', 'HEAD');
+ $branch =~ s|^refs/heads/||;
+ git
Tomi Ollila tomi.oll...@iki.fi writes:
If notmuch cli notmuch emacs MUA versions differ, print also the
emacs MUA version string (along with the cli version) to the
minibuffer.
any idea why I get
notmuch version 0.17+111~g93cd619 (emacs mua version unknown)
when I make debian-snapshot
According the semantics of make, the expansion of $(dir) in recipes
uses dynamic scope, i.e. the value at the time the recipe is run. This
means if test/Makefile.local is not the last sub-makefile included,
all heck breaks loose.
---
This was originally part of some suggested changes to Jani's
On Sat, Mar 08, 2014 at 08:43:26AM -0400, David Bremner wrote:
W. Trevor King writes:
+sub do_clone {
+ my $repository = shift;
+ system ('git', 'clone', '--bare', $repository, $NMBGIT) == 0
+or die 'git clone' exited with nonzero value\n;
+ my $branch = git ('symbolic-ref',
On Sat, Mar 08, 2014 at 08:26:33AM -0800, W. Trevor King wrote:
That's going to create ~/.nmbug/.git though, if we want to preserve
the current bare-style ~/.nmbug/ layout, we'd need something like:
$ TEMPDIR=$(mktemp -d)
$ git clone --no-checkout --separate-git-dir=~/.nmbug \
This is a followup to
id:cover.1393105055.git.j...@nikula.org
The first 11 patches are very close to that series; in the last 4 I
have added some minimalist infrastructure to download and verify
pre-built test databases.
I decided that the benefits of being to really apply and test the
The checksum file is used by the test infrastructure to verify the downloaded
test database is the one we had in mind. Note that this test is
rather strict, and the the checksum file needs to be recommitted when
the database is regenerated.
add a pattern .gitignore to ignore the actual databases
Note that it is intentional that the checksum file is not
downloaded. The intent is to check those into git.
---
Makefile | 3 ++-
test/Makefile.local| 2 +-
test/README| 8
test/T530-upgrade.sh | 2 +-
From: Jani Nikula j...@nikula.org
Some of the folder: matching capabilities are lost in the
probabilistic to boolean prefix change. Fix them.
---
test/T100-search-by-folder.sh | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git
From: Jani Nikula j...@nikula.org
In xapian terms, convert folder: prefix from probabilistic to boolean
prefix, matching the paths, relative form the maildir root, of the
message files, ignoring the maildir new and cur leaf directories.
folder:foo matches all message files in foo, foo/new, and
From: Jani Nikula j...@nikula.org
---
man/man1/notmuch-search.1 | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/man/man1/notmuch-search.1 b/man/man1/notmuch-search.1
index 55a81e7..a2b1ae4 100644
--- a/man/man1/notmuch-search.1
+++ b/man/man1/notmuch-search.1
@@
From: Jani Nikula j...@nikula.org
This is a more strict test for the insert test.
---
test/T070-insert.sh | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/T070-insert.sh b/test/T070-insert.sh
index b77c5e1..ea9db07 100755
--- a/test/T070-insert.sh
+++
From: Jani Nikula j...@nikula.org
Abstract some blocks of code for reuse. No functional changes.
---
lib/message.cc | 135 -
1 file changed, 66 insertions(+), 69 deletions(-)
diff --git a/lib/message.cc b/lib/message.cc
index
From: Jani Nikula j...@nikula.org
---
man/man7/notmuch-search-terms.7 | 28 ++--
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/man/man7/notmuch-search-terms.7 b/man/man7/notmuch-search-terms.7
index a768b63..907403d 100644
---
From: Jani Nikula j...@nikula.org
Test the upgrade from probabilistic to boolean folder: terms, and
addition of path: terms.
The test depends on the pre-built test corpus and database tarball and
checksum file being in place. If it's not, the test is skipped. The
mechanism to fetch the test
From: Jani Nikula j...@nikula.org
Add script to generate notmuch test databases using specified versions
of notmuch. This is useful for generating material for database
upgrade tests.
This reuses the test infrastructure to have a sandbox environment for
notmuch new etc.
---
devel/gen-testdb.sh
From: Jani Nikula j...@nikula.org
Additional tests for the boolean folder: and path: prefixes using the
new corpus.
---
test/T101-search-by-folder-and-path.sh | 83 ++
1 file changed, 83 insertions(+)
create mode 100755 test/T101-search-by-folder-and-path.sh
From: Jani Nikula j...@nikula.org
The path: prefix is a literal boolean prefix matching the paths,
relative from the maildir root, of the message files.
path:foo matches all message files in foo (but not in foo/new or
foo/cur).
path:foo/new matches all message files in foo/new.
path: matches
According the semantics of make, the expansion of $(dir) in recipes
uses dynamic scope, i.e. the value at the time the recipe is run. This
means if test/Makefile.local is not the last sub-makefile included,
all heck breaks loose.
---
test/Makefile.local | 4 +++-
1 file changed, 3 insertions(+),
David Bremner da...@tethera.net writes:
I decided that the benefits of being to really apply and test the
patch series outweighed the fact that one of patchs is about
150K. Apologies to those of you on GSM modems and the like.
Oops. I didn't realize the reorganize the corpus patch was so
Quoth David Bremner on Mar 08 at 5:19 pm:
From: Jani Nikula j...@nikula.org
In xapian terms, convert folder: prefix from probabilistic to boolean
prefix, matching the paths, relative form the maildir root, of the
s/form/from/
message files, ignoring the maildir new and cur leaf
Quoth David Bremner on Mar 08 at 5:19 pm:
From: Jani Nikula j...@nikula.org
Additional tests for the boolean folder: and path: prefixes using the
new corpus.
---
test/T101-search-by-folder-and-path.sh | 83
++
Would it be possible to fold these in to (or
Quoth David Bremner on Mar 08 at 5:19 pm:
From: Jani Nikula j...@nikula.org
---
man/man7/notmuch-search-terms.7 | 28 ++--
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/man/man7/notmuch-search-terms.7 b/man/man7/notmuch-search-terms.7
index
The first 3 patches in this series seem uncontroverisal, and pushable
alone.
d
"W. Trevor King" writes:
> +sub do_clone {
> + my $repository = shift;
> + system ('git', 'clone', '--bare', $repository, $NMBGIT) == 0
> +or die "'git clone' exited with nonzero value\n";
> + my $branch = git ('symbolic-ref', 'HEAD');
> + $branch =~ s|^refs/heads/||;
> + git
Tomi Ollila writes:
> If notmuch cli & notmuch emacs MUA versions differ, print also the
> emacs MUA version string (along with the cli version) to the
> minibuffer.
any idea why I get
notmuch version 0.17+111~g93cd619 (emacs mua version unknown)
when I "make debian-snapshot" after
According the semantics of make, the expansion of $(dir) in recipes
uses dynamic scope, i.e. the value at the time the recipe is run. This
means if test/Makefile.local is not the last sub-makefile included,
all heck breaks loose.
---
This was originally part of some suggested changes to Jani's
ful
example. I don't think that calls for another layer of indirection.
Cheers,
Trevor
--
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-- next part --
A non-text att
ital signature
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20140308/fe32bab6/attachment.pgp>
The checksum file is used by the test infrastructure to verify the downloaded
test database is the one we had in mind. Note that this test is
rather strict, and the the checksum file needs to be recommitted when
the database is regenerated.
add a pattern .gitignore to ignore the actual databases
This is a followup to
id:cover.1393105055.git.jani at nikula.org
The first 11 patches are very close to that series; in the last 4 I
have added some minimalist infrastructure to download and verify
pre-built test databases.
I decided that the benefits of being to really apply and test the
Note that it is intentional that the checksum file is not
downloaded. The intent is to check those into git.
---
Makefile | 3 ++-
test/Makefile.local| 2 +-
test/README| 8
test/T530-upgrade.sh | 2 +-
From: Jani Nikula
Some of the folder: matching capabilities are lost in the
probabilistic to boolean prefix change. Fix them.
---
test/T100-search-by-folder.sh | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git
From: Jani Nikula
In xapian terms, convert folder: prefix from probabilistic to boolean
prefix, matching the paths, relative form the maildir root, of the
message files, ignoring the maildir new and cur leaf directories.
folder:foo matches all message files in foo, foo/new, and
From: Jani Nikula
---
man/man1/notmuch-search.1 | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/man/man1/notmuch-search.1 b/man/man1/notmuch-search.1
index 55a81e7..a2b1ae4 100644
--- a/man/man1/notmuch-search.1
+++ b/man/man1/notmuch-search.1
@@
From: Jani Nikula
Abstract some blocks of code for reuse. No functional changes.
---
lib/message.cc | 135 -
1 file changed, 66 insertions(+), 69 deletions(-)
diff --git a/lib/message.cc b/lib/message.cc
index
From: Jani Nikula
This is a more strict test for the insert test.
---
test/T070-insert.sh | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/T070-insert.sh b/test/T070-insert.sh
index b77c5e1..ea9db07 100755
--- a/test/T070-insert.sh
+++
From: Jani Nikula
Test the upgrade from probabilistic to boolean folder: terms, and
addition of path: terms.
The test depends on the pre-built test corpus and database tarball and
checksum file being in place. If it's not, the test is skipped. The
mechanism to fetch the test
From: Jani Nikula
---
man/man7/notmuch-search-terms.7 | 28 ++--
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/man/man7/notmuch-search-terms.7 b/man/man7/notmuch-search-terms.7
index a768b63..907403d 100644
---
From: Jani Nikula
Add script to generate notmuch test databases using specified versions
of notmuch. This is useful for generating material for database
upgrade tests.
This reuses the test infrastructure to have a sandbox environment for
notmuch new etc.
---
From: Jani Nikula
Additional tests for the boolean folder: and path: prefixes using the
new corpus.
---
test/T101-search-by-folder-and-path.sh | 83 ++
1 file changed, 83 insertions(+)
create mode 100755 test/T101-search-by-folder-and-path.sh
According the semantics of make, the expansion of $(dir) in recipes
uses dynamic scope, i.e. the value at the time the recipe is run. This
means if test/Makefile.local is not the last sub-makefile included,
all heck breaks loose.
---
test/Makefile.local | 4 +++-
1 file changed, 3 insertions(+),
From: Jani Nikula
The path: prefix is a literal boolean prefix matching the paths,
relative from the maildir root, of the message files.
path:foo matches all message files in foo (but not in foo/new or
foo/cur).
path:foo/new matches all message files in foo/new.
path:""
David Bremner writes:
>
> I decided that the benefits of being to really apply and test the
> patch series outweighed the fact that one of patchs is about
> 150K. Apologies to those of you on GSM modems and the like.
>
Oops. I didn't realize the "reorganize the corpus" patch was so big. So
I
Quoth David Bremner on Mar 08 at 5:19 pm:
> From: Jani Nikula
>
> In xapian terms, convert folder: prefix from probabilistic to boolean
> prefix, matching the paths, relative form the maildir root, of the
s/form/from/
> message files, ignoring the maildir new and cur leaf directories.
>
>
Quoth David Bremner on Mar 08 at 5:19 pm:
> From: Jani Nikula
>
> Additional tests for the boolean folder: and path: prefixes using the
> new corpus.
> ---
> test/T101-search-by-folder-and-path.sh | 83
> ++
Would it be possible to fold these in to (or simply
Quoth David Bremner on Mar 08 at 5:19 pm:
> From: Jani Nikula
>
> ---
> man/man7/notmuch-search-terms.7 | 28 ++--
> 1 file changed, 22 insertions(+), 6 deletions(-)
>
> diff --git a/man/man7/notmuch-search-terms.7 b/man/man7/notmuch-search-terms.7
> index
48 matches
Mail list logo