From: Michal Sojka <sojkam1@fel.cvut.cz>
To: Ben Gamari <bgamari@gmail.com>
Cc: notmuch <notmuch@notmuchmail.org>
Subject: Re: Introducing notmuchsync
Date: Mon, 01 Mar 2010 21:20:48 +0100 [thread overview]
Message-ID: <878wab3ian.fsf@steelpick.localdomain> (raw)
In-Reply-To: <1267468550-sup-8956@ben-laptop>
On Mon, 01 Mar 2010 13:43:24 -0500, Ben Gamari <bgamari@gmail.com> wrote:
> Excerpts from Michal Sojka's message of Mon Mar 01 12:18:55 -0500 2010:
> > > How do you propose that the backends keep track of what mail has been
> > > indexed?
> >
> > For example by using Xapian metadata:
> > notmuch->xapian_db->set_metadata ("git-head", sha1);
>
> However, this means that the backend would need to know about the
> indexing database, which seems to me like a implementation detail that
> should be hidden from the backend (perhaps? Maybe not, I suppose). I guess this all
> depends upon how much we want to abstract out the backends.
I do not see why the databse should be hidded. It will be easier to
implement if the backend knows about it. Also, I'm not sure whether this
should be called "backend". From certain point of view Xapian can be
considered as backend and mail store implemetation will be a frontend.
- Michal
prev parent reply other threads:[~2010-03-01 20:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 15:12 Introducing notmuchsync Sebastian Spaeth
2010-01-18 15:24 ` Sebastian Spaeth
2010-01-18 15:41 ` Michal Sojka
2010-01-18 15:57 ` Sebastian Spaeth
2010-01-19 13:37 ` Sebastian Spaeth
2010-01-19 15:00 ` Marten Veldthuis
2010-01-19 15:24 ` Jameson Rollins
2010-01-19 15:52 ` Sebastian Spaeth
2010-01-19 16:04 ` Jameson Rollins
2010-01-19 16:13 ` Sebastian Spaeth
2010-01-19 16:29 ` Servilio Afre Puentes
2010-01-19 16:38 ` Jameson Rollins
2010-01-20 8:20 ` Tassilo Horn
2010-01-19 15:42 ` Sebastian Spaeth
2010-01-18 15:48 ` Marten Veldthuis
2010-02-24 18:19 ` Carl Worth
2010-02-24 18:49 ` Jameson Rollins
2010-02-25 9:50 ` Sebastian Spaeth
2010-02-25 9:40 ` Sebastian Spaeth
2010-03-01 8:57 ` Michal Sojka
2010-03-01 16:27 ` Ben Gamari
2010-03-01 17:18 ` Michal Sojka
2010-03-01 18:43 ` Ben Gamari
2010-03-01 20:20 ` Michal Sojka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878wab3ian.fsf@steelpick.localdomain \
--to=sojkam1@fel.cvut.cz \
--cc=bgamari@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).