[POLL] Mass renaming options for consistency + guidelines
Yuya Nishihara
yuya at tcha.org
Sat Jul 15 03:34:44 UTC 2017
On Fri, 14 Jul 2017 11:33:29 -0400, Augie Fackler wrote:
>
> > On Jul 13, 2017, at 11:53, David Demelier <demelier.david at gmail.com> wrote:
> >
> > Le 13 juil. 2017 5:37 PM, "Augie Fackler" <raf at durin42.com> a écrit :
> >
> > > On Jul 13, 2017, at 05:15, David Demelier <demelier.david at gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > I'm one of the creator of the ConfigConsolidationPlan [0].
> > >
> > > In Mercurial there was a big issue regarding the options continuously added without any guideline into the hgrc file. This leads to massive inconsistency like :
> > >
> > > allowpull
> > > allow_push
> > > assume-tty
> > >
> > > In the process of renaming those options without breaking existing user installations, we have added a configitems registry + aliases. The aliases offers a way to select the same option with a different section name (e.g. ui.username also search for ui.user).
> > >
> > > I'll start renaming options once a convention has been chosen correctly, I've proposed (seconded by Pierre-Yves) to use hyphens between words as it's common in projects [2].
> >
> > When you say "renaming" you just mean renaming the documented name of the option, but still respecting the legacy name, right?
> >
> >
> > Yes, exactly.
>
> Dashes seem like the only good choice to me, usability-wise.
I prefer not doing mass renaming that would generate lots of "deprecated"
config names in use around user hgrc and web documents. But if I had to
choose one, I would vote for dashes/hyphens.
FWIW, many of the existing config names are readable for me, even though
I'm not German.
More information about the Mercurial-devel
mailing list