[sheepdog] Converting config file

Jens WEBER jweber at tek2b.org
Sun Aug 12 12:44:22 CEST 2012


> > This Patch is necessary because structure of config file has changed 
> frequently in v0.4.0.
> 
> This patch conflicts with my patch:
>   http://lists.wpkg.org/pipermail/sheepdog/2012-August/006017.html
> 
> I really wonder if we need to introduce several versions of config
> file for the next release.
> 
> Thanks,
> 
> Kazutaka
> 
there is only one version of config

the other versions are currently out there

if we introduce a new version of config the old ones need to be converted to the new version. this can be done by script like simple2farm or by the sheep daemon it self. Patch Converting config lets sheep do the job.

for converting of config we need the knowledge about the old versions in the one way or another. if we say to update from 0.4.x to 0.5.x you need first to update to 0.5.0 then we can drop old versions of 0.4.x in 0.5.1.

that is what I mean with "we keep this for converting config till version <= v0.5.0"

Cheers, Jens



More information about the sheepdog mailing list