unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] NEWS: folder:, path:, and database upgrade
@ 2014-04-27 14:46 Jani Nikula
  2014-04-27 20:54 ` [PATCH] NEWS: mbox files are no longer supported Jani Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jani Nikula @ 2014-04-27 14:46 UTC (permalink / raw)
  To: notmuch

Related news together.
---
 NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/NEWS b/NEWS
index bcd311d4b11b..7cdcb4b3871e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,49 @@
 Notmuch 0.18~rc0 (2014-04-22)
 =============================
 
+General
+-------
+
+The `folder:` search prefix now requires an exact match
+
+  The `folder:` prefix has been changed to search for email messages
+  by the exact, case sensitive maildir or MH folder name. The new
+  behaviour allows for more accurate mail folder based searches, and
+  should lead to less surprising results than the old behaviour. Users
+  are advised to see the `notmuch-search-terms` manual page for
+  details, and review how the change affects their existing `folder:`
+  searches.
+
+There is a new `path:` search prefix.
+
+  The new `path:` search prefix complements the `folder:` prefix. The
+  `path:` prefix searches for email messages that are in particular
+  directories within the mail store, optionally recursively using a
+  special syntax. See the `notmuch-search-terms` manual page for
+  details.
+
+Notmuch database upgrade due to `folder:` and `path:` changes
+
+  The above mentioned changes to the `folder:` prefix and the addition
+  of `path:` prefix require a Notmuch database upgrade. This will be
+  done automatically, without prompting on the next time `notmuch new`
+  is run after the upgrade. The upgrade is not reversible, and the
+  upgraded database will not be readable by older versions of
+  Notmuch. As a safeguard, a database dump will be created in the
+  `.notmuch` directory before upgrading.
+
+Library changes
+---------------
+
+Notmuch database upgrade
+
+  The libnotmuch consumers are reminded to handle database upgrades
+  properly, either by relying on running `notmuch new`, or checking
+  `notmuch_database_needs_upgrade()` and calling
+  `notmuch_database_upgrade()` as necessary. This has always been the
+  case, but in practise there have been no database upgrades in any
+  released version of Notmuch before now.
+
 Command-Line Interface
 ----------------------
 
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] NEWS: mbox files are no longer supported
  2014-04-27 14:46 [PATCH] NEWS: folder:, path:, and database upgrade Jani Nikula
@ 2014-04-27 20:54 ` Jani Nikula
  2014-04-27 21:09   ` [PATCH] NEWS: message header parser changes Jani Nikula
  2014-04-28  2:03 ` [PATCH] NEWS: folder:, path:, and database upgrade David Bremner
  2014-05-01 19:47 ` David Edmondson
  2 siblings, 1 reply; 10+ messages in thread
From: Jani Nikula @ 2014-04-27 20:54 UTC (permalink / raw)
  To: notmuch

---
 NEWS | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/NEWS b/NEWS
index a85af71e7341..d03c9c374d99 100644
--- a/NEWS
+++ b/NEWS
@@ -44,6 +44,13 @@ Notmuch database upgrade
   case, but in practise there have been no database upgrades in any
   released version of Notmuch before now.
 
+Support for indexing mbox files has been dropped
+
+  There has never been proper support for mbox files containing
+  multiple messages, and the support for single-message mbox files has
+  been deprecated since Notmuch 0.15. The support has now been
+  dropped, and all mbox files will be rejected during indexing.
+
 Command-Line Interface
 ----------------------
 
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] NEWS: message header parser changes
  2014-04-27 20:54 ` [PATCH] NEWS: mbox files are no longer supported Jani Nikula
@ 2014-04-27 21:09   ` Jani Nikula
  0 siblings, 0 replies; 10+ messages in thread
From: Jani Nikula @ 2014-04-27 21:09 UTC (permalink / raw)
  To: notmuch

---
 NEWS | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/NEWS b/NEWS
index d03c9c374d99..829cf91a102f 100644
--- a/NEWS
+++ b/NEWS
@@ -51,6 +51,15 @@ Support for indexing mbox files has been dropped
   been deprecated since Notmuch 0.15. The support has now been
   dropped, and all mbox files will be rejected during indexing.
 
+Message header parsing changes
+
+  Notmuch previously had an internal parser for message headers. The
+  parser has now been dropped in favour of letting GMime parse both
+  the headers and the message MIME structure at the same pass. This is
+  mostly an internal change, but the GMime parser is stricter in its
+  interpretation of the headers. This may result in messages with
+  slightly malformed message headers being now rejected.
+
 Command-Line Interface
 ----------------------
 
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] NEWS: folder:, path:, and database upgrade
  2014-04-27 14:46 [PATCH] NEWS: folder:, path:, and database upgrade Jani Nikula
  2014-04-27 20:54 ` [PATCH] NEWS: mbox files are no longer supported Jani Nikula
@ 2014-04-28  2:03 ` David Bremner
  2014-05-01 19:47 ` David Edmondson
  2 siblings, 0 replies; 10+ messages in thread
From: David Bremner @ 2014-04-28  2:03 UTC (permalink / raw)
  To: Jani Nikula, notmuch

Jani Nikula <jani@nikula.org> writes:

> Related news together.

series pushed to release branch

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] NEWS: folder:, path:, and database upgrade
  2014-04-27 14:46 [PATCH] NEWS: folder:, path:, and database upgrade Jani Nikula
  2014-04-27 20:54 ` [PATCH] NEWS: mbox files are no longer supported Jani Nikula
  2014-04-28  2:03 ` [PATCH] NEWS: folder:, path:, and database upgrade David Bremner
@ 2014-05-01 19:47 ` David Edmondson
  2014-05-02 14:10   ` Mark Walters
  2 siblings, 1 reply; 10+ messages in thread
From: David Edmondson @ 2014-05-01 19:47 UTC (permalink / raw)
  To: Jani Nikula, notmuch

On Sun, Apr 27 2014, Jani Nikula wrote:
> +The `folder:` search prefix now requires an exact match

I think that it would be clearer to say:

  The `folder:` search prefix no longer supports wildcard matching

(Or something like that.)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] NEWS: folder:, path:, and database upgrade
  2014-05-01 19:47 ` David Edmondson
@ 2014-05-02 14:10   ` Mark Walters
  2014-05-02 15:01     ` David Edmondson
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Walters @ 2014-05-02 14:10 UTC (permalink / raw)
  To: David Edmondson, Jani Nikula, notmuch


I don't like the wildcard bit as an important part of the change was the
removal of stemming. Perhaps keep exact in the headline and in the body
say explicitly what the changes are no stemming, no wildcards (except
globbing), etc (maybe case sensitivity is different?)

Best wishes

Mark



On Thu, 01 May 2014, David Edmondson <dme@dme.org> wrote:
> On Sun, Apr 27 2014, Jani Nikula wrote:
>> +The `folder:` search prefix now requires an exact match
>
> I think that it would be clearer to say:
>
>   The `folder:` search prefix no longer supports wildcard matching
>
> (Or something like that.)
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] NEWS: folder:, path:, and database upgrade
  2014-05-02 14:10   ` Mark Walters
@ 2014-05-02 15:01     ` David Edmondson
  2014-05-02 16:28       ` [PATCH] NEWS: make it explicit that wildcard matching is no longer supported Jani Nikula
  0 siblings, 1 reply; 10+ messages in thread
From: David Edmondson @ 2014-05-02 15:01 UTC (permalink / raw)
  To: Mark Walters, Jani Nikula, notmuch

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

On Fri, May 02 2014, Mark Walters wrote:
> I don't like the wildcard bit as an important part of the change was the
> removal of stemming. Perhaps keep exact in the headline and in the body
> say explicitly what the changes are no stemming, no wildcards (except
> globbing), etc (maybe case sensitivity is different?)

I'm not too upset about exactly what it says.

I wonder how many users care about "the removal of stemming" as opposed
to "wildcards no longer work", though :-)

> On Thu, 01 May 2014, David Edmondson <dme@dme.org> wrote:
>> On Sun, Apr 27 2014, Jani Nikula wrote:
>>> +The `folder:` search prefix now requires an exact match
>>
>> I think that it would be clearer to say:
>>
>>   The `folder:` search prefix no longer supports wildcard matching
>>
>> (Or something like that.)
>> _______________________________________________
>> notmuch mailing list
>> notmuch@notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 310 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] NEWS: make it explicit that wildcard matching is no longer supported
  2014-05-02 15:01     ` David Edmondson
@ 2014-05-02 16:28       ` Jani Nikula
  2014-05-02 16:44         ` David Edmondson
  2014-05-02 20:38         ` David Bremner
  0 siblings, 2 replies; 10+ messages in thread
From: Jani Nikula @ 2014-05-02 16:28 UTC (permalink / raw)
  To: notmuch, David Edmondson, Mark Walters, david

Wildcard matching was a feature of the probabilistic prefix, and we no
longer have it for the boolean prefix. Also note that top-level folder
can now be searched.
---
 NEWS | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/NEWS b/NEWS
index 75dba6f963b0..f10c280be328 100644
--- a/NEWS
+++ b/NEWS
@@ -21,12 +21,13 @@ General
 The `folder:` search prefix now requires an exact match
 
   The `folder:` prefix has been changed to search for email messages
-  by the exact, case sensitive maildir or MH folder name. The new
-  behaviour allows for more accurate mail folder based searches, and
-  should lead to less surprising results than the old behaviour. Users
-  are advised to see the `notmuch-search-terms` manual page for
-  details, and review how the change affects their existing `folder:`
-  searches.
+  by the exact, case sensitive maildir or MH folder name. Wildcard
+  matching (`folder:foo*`) is no longer supported. The new behaviour
+  allows for more accurate mail folder based searches, makes it
+  possible to search for messages in the top-level folder, and should
+  lead to less surprising results than the old behaviour. Users are
+  advised to see the `notmuch-search-terms` manual page for details,
+  and review how the change affects their existing `folder:` searches.
 
 There is a new `path:` search prefix.
 
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] NEWS: make it explicit that wildcard matching is no longer supported
  2014-05-02 16:28       ` [PATCH] NEWS: make it explicit that wildcard matching is no longer supported Jani Nikula
@ 2014-05-02 16:44         ` David Edmondson
  2014-05-02 20:38         ` David Bremner
  1 sibling, 0 replies; 10+ messages in thread
From: David Edmondson @ 2014-05-02 16:44 UTC (permalink / raw)
  To: Jani Nikula; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 24 bytes --]

Good for me, thank you.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 310 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] NEWS: make it explicit that wildcard matching is no longer supported
  2014-05-02 16:28       ` [PATCH] NEWS: make it explicit that wildcard matching is no longer supported Jani Nikula
  2014-05-02 16:44         ` David Edmondson
@ 2014-05-02 20:38         ` David Bremner
  1 sibling, 0 replies; 10+ messages in thread
From: David Bremner @ 2014-05-02 20:38 UTC (permalink / raw)
  To: Jani Nikula, notmuch, David Edmondson, Mark Walters

Jani Nikula <jani@nikula.org> writes:

> Wildcard matching was a feature of the probabilistic prefix, and we no
> longer have it for the boolean prefix. Also note that top-level folder
> can now be searched.

pushed to release.

d

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-05-02 20:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-27 14:46 [PATCH] NEWS: folder:, path:, and database upgrade Jani Nikula
2014-04-27 20:54 ` [PATCH] NEWS: mbox files are no longer supported Jani Nikula
2014-04-27 21:09   ` [PATCH] NEWS: message header parser changes Jani Nikula
2014-04-28  2:03 ` [PATCH] NEWS: folder:, path:, and database upgrade David Bremner
2014-05-01 19:47 ` David Edmondson
2014-05-02 14:10   ` Mark Walters
2014-05-02 15:01     ` David Edmondson
2014-05-02 16:28       ` [PATCH] NEWS: make it explicit that wildcard matching is no longer supported Jani Nikula
2014-05-02 16:44         ` David Edmondson
2014-05-02 20:38         ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).