[IPython-dev] please don't rename old config files by default

MinRK benjaminrk at gmail.com
Sat Jul 9 01:09:27 EDT 2011


On Fri, Jul 8, 2011 at 20:25, Paul Ivanov <pivanov314 at gmail.com> wrote:
> While we Yanks were busy barbecuing on the 4th of July,  a
> nocturnal bird of prey across the pond [hi Thomas! ;) ] made a
> commit that I think should be altered back.

Don't blame Thomas, he, Fernando, and I all participated in the
decision, but I don't feel too strongly either way.

>
> The SHA1 is 75bb82ba3360d4d41032ae378a8ae42b8c877a09, with the
> summary "Rename old config files if they are found and not
> pristine."
>
> I think it will lead to a better user experience for users
> transitioning to 0.11 if old config files are preserved and *not*
> moved to get an additional .old extension the first time ipython
> sees them.
>
> My rationale is that it's a little *too* helpful to move the old
> files out of the way and not see the warning ever again, because
> if the user missed it the first time, it'll never come up again.
>
> The whole point of the "nag" message is to *force* the user to
> acknowledge and accept the presence of a new configuration
> system, the first step of which can be as simple as adding
> c.InteractiveShellApp.ignore_old_config=True to it.

This is sound. it's a question of weighing the annoyance of many users
seeing a warning they may not care about against the possible
confusion of others when they aren't getting reminded until they
address the issue.

>
> How does this sound:
> https://github.com/ipython/ipython/pull/565

Reasonable.  Can others weigh in?

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

Either one seems fine to me.  Fernando and Thomas seemed to prefer b),
Paul prefers a).

-MinRK

>
> --
> Paul Ivanov
> 314 address only used for lists,  off-list direct email at:
> http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk4XyhgACgkQe+cmRQ8+KPd4JgCcCJ1h73ePKL4T4FdfKBKU6hsZ
> jLYAn2vVhcF1oQ1InzXIlDvSIerpARKP
> =MqK9
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>



More information about the IPython-dev mailing list