[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: flag to disable hook scripts

From: egoots <egoots_at_gmail.com>
Date: 2006-02-01 01:19:55 CET

On 1/31/06, Ryan Schmidt <subversion-2006Q1@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
Received on Wed Feb 1 01:20:52 2006

This is an archived mail posted to the Subversion Users mailing list.