|
[How to push ZWiki changes to a SubVersion repository]: msg#00230web.zope.zwiki.edits
Here it is described a small hack I use to push ZWiki changes into a Subversion repository. It does *not* track edit messages, will collapse several edits in just one commit (depending on how often you run the push script), and will handle a page rename just like a delete+add. I use it to download the ZWiki sources every few hours (via a ``cron`` job) and commit the changes to a SVN repository. Installation ============ 1. Install in your Wiki this DTML method: http://www.egrid.it/cgi-bin/viewcvs.cgi///*checkout*/gme/list_all_pages.dtml?root=svn Give it the ``list_all_pages`` id. 2. Create a subversion repository to host your wiki pages (*Note:* they will all end up in the same directory!). Check a copy out, and add to it the script ``push-zwiki-to-svn.sh`` from the following URL: http://www.egrid.it/cgi-bin/viewcvs.cgi///*checkout*/gme/push-zwiki-to-svn.sh?content-type=text%2Fplain&root=svn 3. Edit the ``push-zwiki-to-svn.sh`` script to suit your ZWiki URL. Now, each time you run ``push-zwiki-to-svn.sh``, all pages of the ZWiki will be downloaded and the changed ones will be committed to the SVN repository. -- forwarded from http://zwiki.org/HowToPushZWikiChangesToASubVersionRepository#msg20061128071753-0800@xxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [RobWasHere] (deleted): 00230, d2m |
|---|---|
| Next by Date: | [How to push ZWiki changes to a SubVersion repository] (edit): 00230, Riccardo Murri |
| Previous by Thread: | [RobWasHere] (deleted)i: 00230, d2m |
| Next by Thread: | [How to push ZWiki changes to a SubVersion repository] (edit): 00230, Riccardo Murri |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |