SVN Workshop: Apache™ Subversion® Hook Script Coding

Effective and efficient development of Subversion hook scripts (SVN-WS5) 

Subversion hook scripts allow for smooth integration of Subversion into existing infrastructure and development processes. They ensure the communication between Subversion and other software systems, distribute realtime notifications about the events in Subversion repositories, and enforce conformance with coding and quality standards.

Goals:

  • Autonomously design and implement hook scripts in random programming languages
  • Learn scalable hook script management with several servers and repositories

Contents:

Theoretical introduction

  • Subversion server function, repository structure, hook script basics

Lab Manual with hands-on exercises

  • Introduction
    • Special characters warning
    • Prerequisites
    • Install Subversion
  • Background Info
    • Hook execution
    • Available hooks
  • Preparation
  • Simple hook scripts
    • Freeze a repository
    • Allow changing commit log messages
    • Auto-update on commit
  • Hook script management
    • Versioned hook scripts
    • Staged release process
    • Rollback procedure
    • Hook output logging
    • Repository-specific behavior
    • ON/OFF switches for hooks
  • Off-the-shelf hook scripts
    • Path-based commit control
    • Commit-log mails
  • Intelligent hooks
    • Hook toolbox
    • Log message validation
    • Path sensitive post-commit
    • Safe svnsync mirrors

Kind:

Hands-on workshop

Duration:

1 Day

Goal Audience:

Subversion administrators, developers

Prerequisites:

Basic Subversion and UNIX knowledge

On-site Training:
Our training services can also be delivered at your premises and tailored to your requirements.