On Jun 29, 2011, at 5:18 PM, David Lutterkort wrote: > On Thu, 2011-06-23 at 16:53 -0400, Chris Lalancette wrote: >> As a side note: is there any reason why we have the site/output directory >> checked into the repository? It would seem to me that we only want to have >> the sources there, and then just generate the output when we want to push it. > > The reason we have output checked in is that that's how you deploy the > website; it seems to be standard at the ASF, though I agree it's > strange. > > The way the website is updated is by checking things into output/ (e.g. > by reruning webby) > > Then log in to minotaur.apache.org and do an svn up > in /www/incubator.apache.org/deltacloud - that directory is a checkout > of > http://svn.apache.org/repos/asf/incubator/deltacloud/trunk/site/output > > If somebody wants to come up with a better way to publish the site, I am > all for it. But IIRC, doing it via svn is the recommended way.
Couldn't we setup some GIT post-commit hook that will check if you've commited something into the site directory and then login to minotaur and do svn up there? (I'm not sure how to check if the current commit touched the site/) -- Michal ------------------------------------------------------ Michal Fojtik, [email protected] Deltacloud API: http://deltacloud.org
