SVN::Notify::Filter::Trac(3pm)

SVN::Notify::Filter::Trac3pm

Filter svn::notify output in trac format

Usage

Use svnnotify in post-commit:

  svnnotify --p "$1" --r "$2" --to [email protected] --handler HTML \
  --filter Trac --trac-url http://trac.example.com

Use the class in a custom script:

  use SVN::Notify;
  my $notifier = SVN::Notify->new(
      repos_path => $path,
      revision   => $rev,
      to         => '[email protected]',
      handler    => 'HTML::ColorDiff',
      filters    => [ 'Trac' ],
      trac_url   => 'http://trac.example.com/',
  );
  $notifier->prepare;
  $notifier->execute;

Overview

This module filters SVN::Notify log message output from Trac markup into HTML. Essentially, this means that if you write your commit log messages using Trac wiki markup and like to use SVN::Notify::HTML or SVN::Notify::HTML::ColorDiff to format your commit notifications, you can use this filter to convert the Trac formatting in the log message to HTML.

If you specify an extra argument, "trac_url" (or the "--trac-url" parameter to "svnnotify"), it will be used to generate Trac links for revision numbers and the like in your log messages.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10–11
  7. 12–13

Author

David E. Wheeler <[email protected]>

From libsvn-notify-perl 2.87-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.