Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 1

Use Properties|Bugtraq-Properties to configure the Bugtraq-Properties for the current working copy. Bugtraq-Properties are a technique for integrating Subversion with issue tracking systems.

A detailed specification for the Bugtraq-Properties can be found at: http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/doc/issuetrackers.txt, username is guest with empty password. SmartSVN implements this specification with the following mapping from UI elements to core bugtraq:-properties as shown in Mapping from core bugtraq:properties to SmartSVN UI elements.

Panel
titleExample

Assuming your commit messages look like this: Ticket: 5 Some message or ticket #5: Some message and you want the 5 to be rendered as a link to your issue tracker. In this case, set Bug-ID Expression to [Tt]icket:? #?(\d+) and leave Message-Part Expr. empty.

If you want the whole Ticket #5 part show up as a link, use the same Bug-ID expression and also set Message-Part Expr. to this value.

Panel
titleExample

Let's say your commit messages look like this: CF-11: Some message, or ET-12: Some message. Then, if you want the 11 and 12 to show up as links to your issue tracker, set Bug-ID Expression to \d+ and the Message-Part Expr. to (CF|ET)-(\d+).

If you want the whole CF-11 or ET-12 part to show up as a link, set Bug-ID expression and Message-Part Expr. to (CF-\d+|ET-\d+) and leave Message-Part Expr. empty.

Mapping from core bugtraq:properties to SmartSVN UI elements
Anchor
bugtraq.mapping
bugtraq.mapping

bugtraq:urlURL
bugtraq:warnifnoissueRemind me to enter a Bug-ID
bugtraq:labelMessage Label
bugtraq:messageMessage Pattern
bugtraq:numberis true exactly if Bug-ID is set to Numeric
bugtraq:appendis true exactly if Append message to set to Top
bugtraq:logregexFor the version with one regular expression this corresponds to Bug-ID Expression. For the version with two regular expressions, Message-Part Expr. corresponds to the first line and Bug-ID expression corresponds to the second line.