[dokuwiki] Re: How to update to a latest doku wiki?
- From: Oliver Geisen <oliver.geisen@xxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 22 May 2009 08:34:12 +0200
Hello,
I noticed that doku wiki doesn't have an on-line update.
So is it possible to enable this feature?
Unfortunately, the admins are currently left alone with this task.
I wrote a bash-script myself for aiding in upgrade process. It
follows this theory:
- keep a current, unused version, of dokuwiki apart in a seperate
directory
- when createing a new wiki instance and BEFORE any modifications,
duplicate the dokuwiki directory to dw_pristine
- keep dokuwiki/data as it is and configure it to be anywhere else,
outside dokuwiki path (for protection reasons)
- when an update should be made, get the diffs between the current
dokuwiki and it's dw_pristine. These are YOUR changes to keep.
- after determine your own changes, create a copy from the latest
sources and try to copy over your changes.
- check if a file/dir exist in the latest source, if so, you must
diff and maybe better resolve this manually (you usually should not
change the dokuwiki core sources!)
- if everything is copied over, simply replace the current dokuwiki
with the merged one and replace dw_pristine with the latest sources,
for the new update.
This way i maintain a whole farm of dokuwikis since a long time. It
works well. Maybe a little bit clumsy but efficient.
(if anyone interessted in that, just write me a note and i publish
the whole setup)
Oliver
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: