Re: Please make ifref default to name

Leo Iannacone <[email protected]> Fri, 25 May 2012 16:14:34 +0200
Newsgroups gmane.network.mrtg.devel
Message-ID <CACzqv1eFhNGyNcMy76nNKAngGULjhYfyhd2t8rumKAKBJ3eEcg@mail.gmail.com>
On 23 May 2012 17:34, Tobias Oetiker <[email protected]> wrote:
> Hi Leo,

Hi Tobias!

> I agree, that matching by name is a good idea if your devices
> support that ...
>
> BUT ... changeing the default behaviour of cfgmaker is not
> something that I would do lightly, especially for something that
> has been like this for the last 17 years ... many users have
> scripts running launching cfgmaker automatically and they expect it
> to act in a certain way ...

Maybe it could make sense check in the code if "those scripts" still
use old value and print a "WARNING: Deprecated" string in case,
warning users about this change...

and after one or two release, move option to use name...

This is just a suggestion, nothing else. :)

Ciao!

Leo.

-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25