I believe that Dokuwiki should allow doing dokuwiki's upgrade from the own tool itself. If not from the web client, with a simple shell or php script callable from command line (although and "Upgrade section" under dokuwiki would be nicer) ...
Currently, dokuwiki's upgrade is:
- Tar.gz of current dokuwiki's folder.
- Download next version.
- Unpack files.
- Copy files over current dokuwiki's root path.
- Delete some files from a list present in the website (files that dissapear from one version to the next one).
I think all those steps could be automated in someway, because the system user running the webserver should have permission to access dokuwiki's files so it can replace them. If not, a shell / php script could do the job and allow simple / quick / no error ability to upgrade the software.
The script / php page would just contact a CGI page in dokuwiki's website by posting to it the version is running. The CGI would answer with:
IF USER HAS LAST VERSION OR VERSION CANNOT BE UPDATED THIS WAY:
IF USER HAS NOT LAST VERSION:
- URL of the tar.gz file of the next version you should install (if not the latest).
- paths of files to be deleted after the upgrade.
The script / php page would download, unpack the tar.gz and copy the files to the appropiate locations. Then, they should remove the files that the CGI answered and the cache/message.txt (I need to do this after upgrades to stop receiving the "new version available" message).
Maybe all the above can be rewritten in a more secure or optimum way, but the idea is that dokuwiki should allow to be updated easily, like CMSs like drupal do.
At least, please create some files in dokuwiki's websites so that we can create our own python/shell/php scripts to do the upgrading:
(or something like that).
Thanks a lot :)