Subversion Notify for Windows

A simple executable for your complex Subversion needs.
Home
About...
Manual
Contact/Support
Quick Start
Sending E-Mails
Enforce Log Message
Integrate Bugzilla
News / Release
Etc...

Integrate with Bugzilla item tracking

This configuration integrates your Subersion with Bugzilla. Assuming the repository is configured with pre-commit processing (see Installation), this configuration will in enforce:

·         The commit message includes a “bug tag” ” [Bug ###] (via the the Regex in the CommitRequirement section)

·         The bug item is not in the RESOLVED status (via the Bugzilla section DisallowedStatuses sub-element)

When configured with post-commit processing, the bug will be updated with a new public comment with the default update message format (see the Bugzilla section for details)
Before using this, you will want to change the
XmlRpcConfig section to match your Bugzilla installation. Note that your username and password can be encrypted using the SubversionNotify.Utility.exe

 

<?xml version="1.0" standalone="yes"?>

<subversionNotifyConfig xmlns="http://www.mckechney.com/SubversionNotifyConfig.xsd" LoggingLevel="DEBUG"   
    MaximumEMailSizeInMb
="5" MaximumEmailSubjectChars="255">

       <!-- Basic configuration of where to locate the SVN executables -->

       <SVNConfig ExePath="C:\Program Files\VisualSVN Server\bin\svnlook.exe" />

       <!-- Register the Bugzilla plug-in -->

       <ItemTrackerRegistration>

              <Registration ElementName="BugzillaConfig"
                    AssemblyName="SubversionNotify.Integration.Bugzilla.dll"/>

       </ItemTrackerRegistration>

       <RepoPathConfig ControlledPaths="/">

              <CommitRequirements>

                     <!--This enforces that the commit be associated with a Bugzilla bug via
                          adding a [Bug ###] tag to the message
-->

                  <CommitRequirement Description="A commit log message is required" 
                       
Regex="\[b?u?g? ?#?([0-9]+(?:\s*,?\s*[0-9]+)*)\]"

                       RegexFailureMsg="A Bugzilla item tag is required for commit. Please reference it via a [Bug ###] tag in your commit message"

RegexIgnoreCase="true" />

              </CommitRequirements>

              <ItemTrackers>

                     <!-- Configure the Bugzilla integration -->

                     <BugzillaConfig

                         ItemLinkURL="http://landfill.bugzilla.org/bugzilla-3.2-branch/show_bug.cgi?id={0}"

                         ItemFindRegex="\[b?u?g? ?#?([0-9]+(?:\s*,?\s*[0-9]+)*)\]" >

                         <XmlRpcConfig Host="landfill.bugzilla.org" Port="443" Path="bugzilla-3.2-branch"

                               BugzillaUserId=michael@subversionnotify.com

                               BugzillaPassword="baKvK4982FJCavbtvJzsng==" UseSSL="true" />

 

                         <DisallowedStatuses>

                                  <DisallowedStatus Name="RESOLVED" RepoPathException=""/>

                         </DisallowedStatuses>

                         <ItemUpdater IsPrivate="false" />

                     </BugzillaConfig>

              </ItemTrackers>

       </RepoPathConfig>

</subversionNotifyConfig>