unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: [PATCH 6/6] WIP: support XDG database directory
Date: Mon, 14 Mar 2016 20:06:49 +0200	[thread overview]
Message-ID: <m2k2l56iiu.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <1457785890-17058-7-git-send-email-david@tethera.net>


This is good opening for (eventually "fixing" e.g. library interface...);
in its current state I can come up 2 (easily solvable) problems

1) the xapian database holding email indexes can grow to be quite large;
user may have large space for emails (somewhere else than HOME) but small
HOME. This can be "fixed" by keeping the database still in the same hierarchy
as email files. Making user to point XDG_DATA_HOME elsewhere is (I) global
and (II) fragile for an user to do.

2) User may have multiple separate email configurations under one user
account; This is easy to fix with environment variable; if exists,
overrides XDG_DATA_HOME or $HOME/.local/share -- actually if this holds
"only" configurations, the XDG_CONFIG_HOME is more appropriate
(again, in simple case users should not be bothered to set any environment
variables themselves, but should be able to survive with large databases).

(standard disclaimer apply :)

Tomi


PS: I have not (yet) looked the other patches; been too
busy writing code to my personal htpc environment...

  reply	other threads:[~2016-03-14 18:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-23 14:59 library config API David Bremner
2016-01-23 14:59 ` [PATCH 1/5] lib: provide " David Bremner
2016-01-23 14:59 ` [PATCH 2/5] lib: config list iterators David Bremner
2016-01-23 14:59 ` [PATCH 3/5] CLI: add print_status_database David Bremner
2016-01-23 14:59 ` [PATCH 4/5] CLI: add optional config data to dump output David Bremner
2016-01-23 14:59 ` [PATCH 5/5] CLI: optionally restore config data David Bremner
2016-03-12 12:31 ` library config api v4 David Bremner
2016-03-12 12:31   ` [PATCH 1/6] lib: provide config API David Bremner
2016-03-12 12:31   ` [PATCH 2/6] lib: config list iterators David Bremner
2016-03-12 12:31   ` [PATCH 3/6] CLI: add print_status_database David Bremner
2016-03-12 12:31   ` [PATCH 4/6] CLI: add optional config data to dump output David Bremner
2016-03-12 12:31   ` [PATCH 5/6] CLI: optionally restore config data David Bremner
2016-03-12 12:31   ` [PATCH 6/6] WIP: support XDG database directory David Bremner
2016-03-14 18:06     ` Tomi Ollila [this message]
2016-03-19 20:19       ` David Bremner

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=m2k2l56iiu.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --cc=david@tethera.net \
    --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).