unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* ANNOUNCE: muchsync 1 - share notmuch DB across machines
@ 2015-06-11  6:36 David Mazieres
  2015-06-19 21:34 ` Suvayu Ali
  0 siblings, 1 reply; 4+ messages in thread
From: David Mazieres @ 2015-06-11  6:36 UTC (permalink / raw)
  To: notmuch

I've just released a new version of muchsync, the tool for replicating
your notmuch database on multiple machines.  The source release is
available at:

        http://www.muchsync.org/src/muchsync-1.tar.gz

The new version fixes a bug that incorrectly synchronized tags
containing '%' characters.  It also fixes several build problems people
reported.  Hence, the new version should work out of the box on more
operating systems.

More information about muchsync is available on the project home page:

        http://www.muchsync.org/

Enjoy,
David

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

* Re: ANNOUNCE: muchsync 1 - share notmuch DB across machines
  2015-06-11  6:36 ANNOUNCE: muchsync 1 - share notmuch DB across machines David Mazieres
@ 2015-06-19 21:34 ` Suvayu Ali
  2015-06-19 21:55   ` David Mazieres
  0 siblings, 1 reply; 4+ messages in thread
From: Suvayu Ali @ 2015-06-19 21:34 UTC (permalink / raw)
  To: notmuch

On Wed, Jun 10, 2015 at 11:36:15PM -0700, David Mazieres wrote:
> I've just released a new version of muchsync, the tool for replicating
> your notmuch database on multiple machines.  The source release is
> available at:
> 
>         http://www.muchsync.org/src/muchsync-1.tar.gz
> 
> The new version fixes a bug that incorrectly synchronized tags
> containing '%' characters.  It also fixes several build problems people
> reported.  Hence, the new version should work out of the box on more
> operating systems.

I noticed that the configure script didn't notice notmuch-devel was not
installed on my system.  I noticed it when the compilation failed.  Bug?

Besides that, I had a question.  I would like to synchronize just the
tags, not the maildirs, I want to use OfflineIMAP for that.  Is that
possible?

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: ANNOUNCE: muchsync 1 - share notmuch DB across machines
  2015-06-19 21:34 ` Suvayu Ali
@ 2015-06-19 21:55   ` David Mazieres
  2015-06-19 22:20     ` Suvayu Ali
  0 siblings, 1 reply; 4+ messages in thread
From: David Mazieres @ 2015-06-19 21:55 UTC (permalink / raw)
  To: Suvayu Ali, notmuch

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> I noticed that the configure script didn't notice notmuch-devel was not
> installed on my system.  I noticed it when the compilation failed.  Bug?

What OS and distribution are you using?  notmuch-devel sounds like
something a linux distribution might do, rather than anything that's
part of notmuch itself.  On arch linux, for example, there's just a
notmuch package that includes notmuch.

Obviously there's no way to compile muchsync without notmuch installed.
But if you elaborate on what it is you saw and what you would like to
see I might be able to address it in the next release.

> Besides that, I had a question.  I would like to synchronize just the
> tags, not the maildirs, I want to use OfflineIMAP for that.  Is that
> possible?

Not really, no.  You could run offlineimap followed by muchsync, but you
run the risk that mail will be delivered in the meantime.  You could
also run offlineimap to fetch your mail in the first place, and then
muchsync to sync it between your devices.

Can I ask why you would want to do this, anyway?  Muchsync should be
faster than notmuch, particularly if you have a lot of mail directories
and/or are going to pay the cost of tag synchronization anyway.

David

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

* Re: ANNOUNCE: muchsync 1 - share notmuch DB across machines
  2015-06-19 21:55   ` David Mazieres
@ 2015-06-19 22:20     ` Suvayu Ali
  0 siblings, 0 replies; 4+ messages in thread
From: Suvayu Ali @ 2015-06-19 22:20 UTC (permalink / raw)
  To: David Mazieres; +Cc: notmuch

On Fri, Jun 19, 2015 at 02:55:19PM -0700, David Mazieres wrote:
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> 
> > I noticed that the configure script didn't notice notmuch-devel was not
> > installed on my system.  I noticed it when the compilation failed.  Bug?
> 
> What OS and distribution are you using?  notmuch-devel sounds like
> something a linux distribution might do, rather than anything that's
> part of notmuch itself.  On arch linux, for example, there's just a
> notmuch package that includes notmuch.
> 
> Obviously there's no way to compile muchsync without notmuch installed.
> But if you elaborate on what it is you saw and what you would like to
> see I might be able to address it in the next release.

Sorry, I wasn't specific.  I'm on Fedora.  On Fedora, packages are split
into runtime dependencies and build dependencies.  So installing notmuch
will give you the notmuch binary as well as libnotmuch.  Whereas if you
want to compile, the you install notmuch-devel to get the headers.

When I ran the configure script, it failed couple of times.  The first
time it could not find sqlite headers, the second time I was missing
libcrypto related headers.  I installed sqlite-devel and openssl-devel
to resolve these.  The configure script succeeded after this, when it
should have failed since the notmuch headers were missing.  I realised
it when compilation failed.  Installing notmuch-devel resolved this.

> > Besides that, I had a question.  I would like to synchronize just the
> > tags, not the maildirs, I want to use OfflineIMAP for that.  Is that
> > possible?
> 
> Not really, no.  You could run offlineimap followed by muchsync, but you
> run the risk that mail will be delivered in the meantime.  You could
> also run offlineimap to fetch your mail in the first place, and then
> muchsync to sync it between your devices.
> 
> Can I ask why you would want to do this, anyway?  Muchsync should be
> faster than notmuch, particularly if you have a lot of mail directories
> and/or are going to pay the cost of tag synchronization anyway.

I don't quite have a very reliable connection between my server &
laptop.  So I prefer to download my emails from the source, Gmail, at
both locations.  I usually read and respond to emails from my laptop,
but I do use the server sometimes.  So I only need to synchronise the
tags.  I also keep the server around to synchronize a few more maildirs,
the ones I read irregularly and would prefer does not occupy valuable
disk space on my laptop.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

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

end of thread, other threads:[~2015-06-19 22:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-11  6:36 ANNOUNCE: muchsync 1 - share notmuch DB across machines David Mazieres
2015-06-19 21:34 ` Suvayu Ali
2015-06-19 21:55   ` David Mazieres
2015-06-19 22:20     ` Suvayu Ali

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).