GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SVN::Notify::Filter::Trac(3) User Contributed Perl Documentation SVN::Notify::Filter::Trac(3)

SVN::Notify::Filter::Trac - Filter SVN::Notify output in Trac format

Use svnnotify in post-commit:

  svnnotify --p "$1" --r "$2" --to you@example.com --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         => 'you@example.com',
      handler    => 'HTML::ColorDiff',
      filters    => [ 'Trac' ],
      trac_url   => 'http://trac.example.com/',
  );
  $notifier->prepare;
  $notifier->execute;

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.

SVN::Notify
svnnotify

David E. Wheeler <david@justatheory.com>

Copyright (c) 2008-2016 David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.