Dave Hatton wrote: > Michael DeHaan wrote: >> James Cammarata wrote: >>> On Thu, 12 Mar 2009 18:06:51 +0000, Dave Hatton <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> Just a small suggestion. >>>> >>>> Could we decide on and stick to a consistent naming scheme for >>>> snippets? >>>> >>>> I would suggest >>>> >>>> <snippet name>_main >>>> <snippet name>_post >>>> <snippet name>_pre >>>> >>>> because snippets sort together when looking in the directory and >>>> you can tell from _main, _post or _pre where to run them from in >>>> the .ks. >>>> >>>> At the moment we have a real mix of names. >>>> >>>> What does the panel think? >>>> >>>> Dave >>>> >>>> _______________________________________________ >>>> cobbler mailing list >>>> [email protected] >>>> https://fedorahosted.org/mailman/listinfo/cobbler >>>> >>> >>> +1 >>> >>> >> >> Tell me how not to break folks and get them asking lots of questions >> and I'm ok with this. >> >> Duplicating the files does not seem to be good. >> >> --Michael >> > So I prefer the suffix idea because things sort together nicely > I prefer always having either a suffix or a prefix (whichever) so I > can tell where they go in the ks. > > Having said that I'd rather have all prefixes if that's what's decided > - better to have some consistency than none. > > So can I suggest a phased approach. > > 1. decide on standard > 2. enforce it - no more snippets accepted unless they conform > 3. document it on the wiki > 4. fix the recent snippets (post 1.4), since that should break anybody > using stable and those of use who aren't should be ugly enough to sort > out our own problems > 5. fix the remaining snippets over time - or in the big bang to 1.6 > > 5. could bear some thinking about. > > I know it's a little thing but over time this will make things > cleaner, and we are mostly all sysadmins, so we should crave order! > >
I'm going to say we're just going to ignore this and new snippets should use prefixes like pre_ and post_. This is the easiest approach. (#1, #2) That's all. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
