[Yum-devel] [PATCH] config: Nag on misspelled options.
James Antill
james at fedoraproject.org
Thu Aug 16 18:00:07 UTC 2012
On Thu, 2012-08-16 at 17:37 +0200, Zdeněk Pavlas wrote:
> Currently, when there's a typo in option name, we ignore it.
> Maybe we should report an error there.
NAK.
We can't do this for at least two reasons:
1. A bunch of plugins use, at least, repo. config. variables (some of
which have global defaults you can set in [main]).
2. It makes the config. parser non-forwards compatible (and
non-backwards compat. if we remove options -- not sure we ever have
though).
...we could maybe have a "yum-config-manager --unknown" or something.
More information about the Yum-devel
mailing list