[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: version control for config files (was: Re: FAQ splinters)



On Sunday 26 September 2004 11:35, Ralf Gesel|ensetter wrote:
[...]
> thank you for catching the thread - spontaneous I remember the revision
> cotrol at wiki pages: You type a comment on any change and can recall each
> state of the site.
>
> Am Sonntag 26 September 2004 11:03 schrieb Patrick Willam:
> > Or does this glue still have to be made up?
>
> Could some webmin/wlus module become this glue? I faintly remember there
> was a "config section" or the like. I imagine an (extendable) list of conf
> files that can be edited within your browser (webmin) whilst commiting
> changes provides a short comment. The module then could do something like
>
> cp $1 $1.old
> echo $filebuffer >$1
> diff $1 $1.old >>changelog
>
> (where $1 is the name of the edited file and $filebuffer is the edited
> content)
>
> Now, is this a task for practising perl, or is it?
If you are talking of config files which reside in the etc directory this can 
be done via CVS.
I saw a howto how this can be done some years ago...

Bye,
Thomas



Reply to: