[RFC PATCH 00/14] modular mail stores based on URIs
jani at nikula.org
Fri Jun 29 00:43:59 PDT 2012
On Jun 29, 2012 9:43 AM, "Ethan" <ethan.glasser.camp at gmail.com> wrote:
> On Thu, Jun 28, 2012 at 6:00 PM, Mark Walters <markwalters1009 at gmail.com>
>> Just a quick question: does this update the database with
>> maildir://files URIs instead of just filenames? In other words is it
>> safe to try out on actual mailstores?
> It doesn't change any of the existing filenames or do anything like a
database "upgrade". If you run notmuch new, it should add a URI-based
filename to each message, but I don't think it should remove old filenames,
so I would expect it to be fine. But I didn't expect anyone to try it on
their actual mail database.
I don't have the time to look into the details, but I'd like to point out
that one of the powerful features of notmuch is the cli and ability to pipe
the commands. I'd hate to lose the ability to pipe 'notmuch search
--output=files' to tools that don't understand uris. I suppose that means
I'd like the most common case - files in maildir, the status quo - to use
plain filenames. Either that, or notmuch search needs a new --output switch
to output uris. A user that only has files in maildir should not experience
any breakage because of this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notmuch