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

attaching a hook to svn commit to generate TRAC-wiki page

From: Jan Ciesko (GMAIL) <jan.ciesko_at_gmail.com>
Date: Thu, 09 Jun 2011 14:53:19 +0200

Dear SVN experts,

I'm new to SVN and I would like to ask if there is a tutorial how to setup post-commit hooks in SVN.

What I'd like to implement is the following behavior:
- Whenever a new app is submitted (added to SVN), a new TRAC-WIKI page is generated automatically.
- Whenever an existing app is updated, the corresponding TRAC-WIKI page is updated.
- Whenever an existing app is deleted from SVN, the corresponding TRAC-wiki page is deleted.

The information for the WIKI page are included in the app Readme file. The script that is supposed to be triggered with an SVN commit will decide what to do based on what it finds in the repo and in TRAC.

(Quick background: We're a group of researchers writing a lot of benchmarks. Benchmarks are maintained in an SVN repo on the same system where Apache and TRAC are running. TRAC is running in a default configuration and works fine.)

I'd be happy about any hint on how to implement this / on any best-practices.

Thanks a lot.
Jan.
Received on 2011-06-09 14:53:57 CEST

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