Page 1 of 1

Support for a versioning system like GIT?

Posted: Mon Aug 27, 2012 10:02 pm
by tz8
Hey all,



did anyone find a way to use GIT to track changes on flows? Or is there at least a common usage to export flows and check them into a versioning system?



How do you do it?



Cheers,



Thorsten

Support for a versioning system like GIT?

Posted: Tue Aug 28, 2012 12:59 am
by dkelly
The flows and properties are all stored in XML format. You could create a git repository in the directory that Switch uses to store them, eg. ~/Library/Application Support/Enfocus/Switch Server on Mac.



Scripts are a little more complicated because they are stored in a ZIP package. Git would track changes but you can't easily diff revisions.



Support for a versioning system like GIT?

Posted: Wed Aug 29, 2012 8:18 pm
by tz8
Thanks a bunch, that helped a lot! For the scripts i'll just let the Developer copy/paste the Javascript into Eclipse and do the commit from there