Re: WARNING: database upgrade coming

Subject: Re: WARNING: database upgrade coming

Date: Mon, 17 Mar 2014 14:29:34 -0700

To: David Bremner, Jani Nikula, Notmuch list

Cc:

From: Jameson Graef Rollins


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.

part-000.sig (application/pgp-signature)

Thread: