Subversion Hook Script Implementation — a 2-day course
Synopsis
The purpose of this course is to provide an in depth coverage of writing "hook scripts" to tailor and control the behaviour of a CVS repository server.
Course Objectives
After completing this course, delegates will gain:
- A comprehensive overview of the "scripting hooks" provided by SVN
- An understanding, via discussion and example and practice of the possible ways in which hook scripts can be designed and implemented
Suitable for
The course will be useful for
- Adminstrators and script implementors who need to add extra functionality to an SVN Repository server. Variants of this module are available in Bash, Perl and Python flavours.
Prerequisites
- The module assumes a knowledge of SVN and basic SVN administration
- It also assumes a good knowledge of the scripting language being used
Publicly scheduled dates, locations, and prices
A schedule of dates for this course is not currently available. Please call 0800 651 0338 or use our contact form to enquire about places and availability.
Course Contents
Overview of SVN "hook scripting" and scripting to automate SVN admin tasks
- exporting files and export cron scripts
- a comprehensive overview of the "scripting hooks" provided by SVN
- start-commit
- pre-commit
- post-commit
- pre-revprop-change
- post-revprop-change
Capabilities of Hook Scripts - Examples and Practices
- Examining the Repository
- Examining Transactions
- Running External Programs
- Using Hook Scripts to Automatically Send emails
- Use of Hook Scripts to Automatically Send Notification via RSS
- Use of Hook Scripts to Provide Fine-grain Access Control
- Use of Hook Scripts to Log Revision Property Changes
- Use of Hook Scripts to Make Tags Immutable
