You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by egoots <eg...@gmail.com> on 2006/02/01 00:19:55 UTC

Re: flag to disable hook scripts

On 1/31/06, Ryan Schmidt <su...@ryandesign.com> wrote:
> On Jan 31, 2006, at 16:35, Alessandro Ferrucci wrote:
>
> > I'm setting up some hook scripts to run doxygen and create
> > documentation for all checked in source-code and any time someone
> > commits new code it would re-run doxygen to update the online
> > docs.  Sometimes though a commit will be 1 line change (the date on
> > a changeLog perhaps) and at that time I do not want to run doxgen
> > because it would waste resources.
> >
> > Is there any way to provide a flag to svn to tell it not to run a
> > certain/all hook script(s) ?
>
> No. You would have to write your post-commit hook to be smart enough
> to know when it should do its thing and when it should let it slide.
>

If you dont want to schedule this to run at a fixed repeatable time...
then, what about using a commit hook as a notifier of changes. You
could use mailer.py or equivalent.

Then have a separate process which monitors the notifications (through
email or otherwise) then decide when to re-run doxygen.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org