Форуми / Cotonti / Core Labs / Archive / Install/Upgrade script

Is what we actually need

Kilandor
#1497 24.11.2008 17:18
Actually the converter i'm making, would be perfect to make some few modifcations to it. To make a beautiful install script. And would allow us to easily add the upgrade changes from version to version, say 121-125, or if somone really wanted to do 110-125. Thats just for example. And even run verification process to find the version.

It would be dead perfect for this.

I did also think though, you know it would be very easy, to create a script, to curl/fopen the files on the svn (can be accessed via your SVN pw, directly), it could if we added a revision file to keep track detect your current revision, From there you could choose to upgrade to the latest (to upgrade to a specific version, would take using TRAC to pull the specific version, as you can't do it straight from svn.cotonti.com that i know of? maybe there is a way)

This would also detect the SQL files as we have them by r###.sql now, and apply the appropriate files to update. This would be a generic updater of course, It couldn't give you specific details on everything that was possibly changed.

But yes my converter script would be perfect for upgrading from older sed versions, to hep get up to our version.