On Wed, 2007-11-21 at 20:51 +0100, Stefan Kaltenbrunner wrote:
> Tom Lane wrote:
> > Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
> >> Dave Page wrote:
> >>> Ah - it only rebuilds the docs once a day. I thought we'd increased that
> >>> frequency now wwwmaster is on a much faster box. I'm running the build
> >>> manually now - the changes should be visible within an hour or so.
> >
> >> sounds like something we could easily do to reduce the turn-around times
> >> for changes like this ...
> >
> > Given that most of the time the docs don't change from day to day,
> > it seems like timed rebuilds are a waste of cycles. Can't it be
> > set up with some kind of trigger arrangement? Or at least a quick
> > check in the script to see if anything's changed?
>
> yeah I was wondering if we maybe should do something similiar for
> checkins to the pgweb repository in general (ie have a commit trigger a
> rebuild) I'm not so sure how the doc building process works in detail to
> see if that would be feasible.
The simplest thing is probably to have the docs load script output a
line that says "hey, don't forget to run <command x> now"... It's not
like we update the docs often, and the loader step has to be manual
anyway, so I think that's good enough.
//Magnus