From: Bryan G. <bry...@hp...> - 2009-02-22 17:16:59
|
Bruno, > Just wanted to add Mandriva/Mandrake which is a mess in itself :-( Oops, yes, a total oversight, sorry. We'll probably rely/expand some on our "distmap" table. > > So, I was wondering about this possibility. In the code, should we perhaps > > do all our checks as "DISTRO" or maybe "distro" and then frontend all of > > our parsing with the respective toupper or tolower functions to be as > > liberal with inputs, and strict with outputs? > > Applause !!! THat would help me a lot in what I'm trying to do outside > of LinuxCOE and hopefully inside soon. > > As an old-time Unix user, I'm inclined towards lc myself, but I don't > care as long as we can standardize on a single one and use it everywhere > ! We could even consider using that distro-release file under /etc to > get more info (except for Ubuntu which decided to not create one :-() As noted, I'm suggesting we accept all case(s) as input, and just use one standard internally (which actually becomes immaterial to most all users then. So: Fedora fedora fEDORA ... (even if not consistent across all inputs) would all be acceptable as configuration values. > Excellent initiative. Just hope it doesn't create too much problem at > the code level. Easy to suggest it, now will have to access/implement it, bryang |