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


Hi Jamie -

On Mon, 17 Mar 2014, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> Hey, David et. al.  I recently did an upgrade to notmuch/master after
> being out of the loop for a while and not noticing that a database
> upgrade was pending.  The next notmuch new informed me that a database
> upgrade was required, but it went ahead and did the upgrade unprompted.
> Things went fine, but it did worry me a bit that I didn't know an
> upgrade was pending and didn't have a chance to do a backup before it
> happened.

FWIW it should always be safe to interrupt the upgrade; I know we don't
inform the user about this.

> It would be nice if notmuch new would prompt users when an database
> upgrade is pending, to give the user an option to abort before
> proceeding so that they can do a backup if they'd like.

Please see id:87lhy4f6pr.fsf@nikula.org for a summary on some of the
pros and cons that have been discussed about prompting the user.


BR,
Jani.

  reply	other threads:[~2014-03-17 19:12 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 [this message]
2014-03-17 21:19     ` David Bremner
2014-03-17 21:29       ` Jameson Graef Rollins
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=87a9cood0l.fsf@nikula.org \
    --to=jani@nikula.org \
    --cc=david@tethera.net \
    --cc=jrollins@finestructure.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).