[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [RFC] M.T. phone home

From: Nathaniel Smith
Subject: Re: [Monotone-devel] [RFC] M.T. phone home
Date: Thu, 8 Jun 2006 20:25:59 -0700
User-agent: Mutt/1.5.11+cvs20060403

On Fri, Jun 09, 2006 at 02:19:43AM +0100, Nuno Lucas wrote:
> On 6/8/06, Nathaniel Smith <address@hidden> wrote:
> >I've been thinking some more about a feature that might be
> >controversial, so want to consult with the community before going
> >forward.  There are some old and relatively incoherent notes here:
> >
> One thing that I believe is still missing (haven't checked the last
> changelogs) is something like a "mtn db optimize", which could run
> VACUUM and ANALYSE on the database as a minimum, and maybe some
> optimization of the history (like optimize for the most checked out
> branches or whatever other optimizations thingies).
> My idea is that this command is a good place to implement that "phone
> home" behaviour, and I don't think it should EVER be automatic (unless
> with some obscure config option that only devels will know about).

So you think that there should not even be a "I would like you to send
my data automatically" button available for people to press?  (It's a
reasonable position, just making sure I understand what you're

> Without thinking too hard on it, I would implement that "mtn db
> optimize" command and add a "--phone-home" sub-comand.
> If the "--phone-home" option is not given, then a message could be
> shown. Something like this (just to get an idea):

Hrm, there is a minor problem with this approach, which is that
needing an "optimize" command at all is a bug; a design goal is that
we would be fast without requiring users bother with such things.
(Compare how annoying it is to have to "defragment" on windows, while
unix filesystems are generally smart enough to make it simply

-- Nathaniel

Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould

reply via email to

[Prev in Thread] Current Thread [Next in Thread]