From: Lee M. <lee...@hp...> - 2009-02-23 12:36:08
|
Gartner, Bryan W wrote: > 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 > > This is an excellent suggestion and I'd been thinking about it a little since Bruno originally suggested it last year. I'd run into a bit of a 'brain freeze' on the issue, but thinking a little more and Bruno's lc() nudge I think it will be easier to implement than I had originally thought. I'll see if I can get a proof of concept working real soon. Bryan, now might be a good time for a 'snapshot' release as I expect there will be many moving parts soon. :^) Best Regards, Lee |