[IPython-dev] please don't rename old config files by default
Thomas Kluyver
takowl at gmail.com
Sat Jul 9 10:33:46 EDT 2011
On 9 July 2011 06:09, MinRK <benjaminrk at gmail.com> wrote:
> a) warn about old config until moved out of the way manually and/or
> ignore_old_config is set
> b) warn once and move out of the way, so warnings only appear once -
> set ignore_old_config if you need to keep using 0.10
> c) mysterious door number 3
>
I'm not too concerned - my primary interest was ensuring that we didn't nag
users who had never touched their config files (probably the vast majority).
Points in favour of b:
- Most people upgrading will not want to keep running the old version
(except for those who have tools built on the old IPython.kernel). Ideally,
we shouldn't require these users to do anything to silence a big warning
message.
- We want to avoid people creating the new config files unless they need to,
so as to minimise this problem for future updates. If the nag message tells
upgrading users how to suppress it, users who skim read it might create the
config files just to shut it up.
If I might open mysterious door number 3, would it make sense to offer the
user the option to rename the files on the first run? If they don't want to,
we could drop a marker of some sort so that next time, we give the warning
message without the prompt. Or we could temporarily define a
%remove_old_config magic, and mention it in the warning message. In short:
an easy but non-automatic way to get rid of the old files for people who're
permanently upgrading.
Thanks,
Thomas
P.S. Hi Paul, hope you're well!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110709/e415892c/attachment.html>
More information about the IPython-dev
mailing list