On Mon, 13 Apr 2009, Pavel Sanda wrote:
Christian Ridderström wrote:
I have also been thinking a bit about the update mechanism. Do we want
www-user to automatically update everytime someone commits, or would we
prefer a manually invoked update? (It could for instance be that a
developer clicks on a button 'Update www-user' on one of the web pages).
i vote for automatic post commit hook.
+1
Ok, I'll see about implementing something like that then. Until I announce
well, these are 3-4 lines of code in post-commit script, which is automatically
called by svn.
IIRC, it was a little more than that on aussie. However, the problem is
with the permissions/ownerships that pmwiki require :-(
IIRC, when Jean-Marc and I tried this, it didn't work with 'checkout', but
could work with an update if I ('chr') owned most of the files. Anyway, I
expect that I'll have to do a bit of troubleshooting so that when the
post-commit script does it's thing, it doesn't set any
permissions/ownerships incorrectly.
/Christian
--
Christian Ridderström Mobile: +46-70 687 39 44