Forums / Cotonti / Core Labs / Archive / Install/Upgrade script

Is what we actually need

Trustmaster
#1509 2008-11-26 14:12
I didn't mean any sort of online updater that would fetch files and install them (because many installs are done offline). What I meant is quite more simple, which updates, say, between 2 revisions this way:
  • User gets a latest trunk/stable from SVN or as a tarball.
  • He unpacks it to the same directory his previous revision is located, so the files get updated (simply replaced).
  • Then he needs to update the SQL which he has no idea about, so he just runs setup.php to do it all for him.
  • setup.php finds existing version/revision from the database, then it gets latest revision from a specific file in docs folder and applies all patches between existing and latest.

What's more, your converter would even be capable of "upgrading" other scripts (like phpBB) to Cotonti, which is amazing.
May the Source be with you!