unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jameson Graef Rollins <jrollins@finestructure.net>
To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,
	Notmuch list <notmuch@notmuchmail.org>
Subject: Re: WARNING: database upgrade coming
Date: Mon, 17 Mar 2014 14:29:34 -0700	[thread overview]
Message-ID: <87bnx4jyyp.fsf@servo.finestructure.net> (raw)
In-Reply-To: <87eh20v7zc.fsf@zancas.localnet>

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

On Mon, Mar 17 2014, David Bremner <david@tethera.net> wrote:
> Jani Nikula <jani@nikula.org> writes:
>> FWIW it should always be safe to interrupt the upgrade; I know we don't
>> inform the user about this.
>
> With that in mind, would it be reasonable/worthwhile to print a 5 second (or so)
> countdown before running the upgrade? But then people who run it
> non-interactively would still automagically get the upgrade, just 5
> seconds later.

My vote would be that anything invasive like this should be done with an
explicit "OK" from the user.  In otherwords, when a database upgrade is
due, non-interactive usage of notmuch new should fail until the user has
run notmuch new interactively and acknowledged that a db upgrade will be
happening and that they're ok with it.

jamie.


[-- Attachment #2: Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2014-03-17 21:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09 15:01 WARNING: database upgrade coming David Bremner
2014-03-12 11:25 ` David Bremner
2014-03-17 17:17 ` Jameson Graef Rollins
2014-03-17 19:12   ` Jani Nikula
2014-03-17 21:19     ` David Bremner
2014-03-17 21:29       ` Jameson Graef Rollins [this message]
2014-03-23  2:26         ` conservative database upgrade control David Bremner
2014-03-23  2:26           ` [PATCH 1/2] config: add key database.upgrades David Bremner
2014-03-23 13:12             ` Jani Nikula
2014-03-23  2:26           ` [PATCH 2/2] notmuch-new: block database upgrades in default configuration David Bremner
2014-03-23 14:17             ` Jani Nikula
2014-03-23 14:35               ` David Bremner
2014-03-23 14:39                 ` David Bremner
2014-03-23 23:54               ` Jameson Graef Rollins
2014-03-17 21:31       ` WARNING: database upgrade coming Jani Nikula
2014-03-18  6:06         ` Rob Browning
2014-03-18  6:57           ` Tomi Ollila
2014-03-18 11:55             ` Stewart Smith

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=87bnx4jyyp.fsf@servo.finestructure.net \
    --to=jrollins@finestructure.net \
    --cc=david@tethera.net \
    --cc=jani@nikula.org \
    --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).