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

Re: Renaming config files

On Saturday 27 February 2010 22:57:16 Ivan Jager wrote:
> It is conceptially the same file. suspend2.conf got renamed to
> tuxonice.conf because Software Suspend 2 got renamed to TuxOnIce.
> Some of the configuration directives (the ones containing
> Suspend2 in their names) got renamed, so I'm a little tempted to
> go with Daniel's suggestion and also s/Suspend2/TuxOnIce/,
> although I'm hesitant to modify a user-modified config file...

Config::Model was designed to handle this kind of situation. 

Config::Model can be used to load old users data from old file, migrate data 
from old config directives to new config directives and save them in the new 
config file.

As this is an interesting real world use case, I will help you create this 
migration tool with Config::Model.

What do you think ?

http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/

Reply to: