This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 201005

Summary: Add support for bugtraq properties
Product: versioncontrol Reporter: swilk <swilk>
Component: SubversionAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: -S1S-   
Hardware: All   
OS: All   
URL: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html
Issue Type: ENHANCEMENT Exception Reporter:

Description swilk 2011-08-16 15:31:01 UTC
Hi,

I would like to suggest adding support for at least two well known svn properties which would allow to link svn module to bug tracking software.

All bugtraq properties are described here http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html so I'll skip that.

The properties would like to see in Netbeans are:
bugtraq:logregex
bugtraq:url


The first one is a pair of regular expressions which allows to recognize an issue number in bug tracking system. 
First line recognizes a part of log message containg an issue number, second line is for extractinge the issue number itself. 

In my case that would be:

\[HD-(\d+)\]
(\d+)

And sample log message is:
"[HD-1234] Correct some issue"

When the regexp extracts number 1234 as an issue number, the number might be used to build an URL to issue tracking system.

This would be in my case:
bugtraq:url = http://issues.example.com/HD-%BUGID%

It would be great if subversion module of netbeans used this properties to link log messages of commits to the issues.
I would mostly use the links in "Show annotations" view of versioned files, and in the "Search history" screen.

Thanks, in advance, and thank you for all your work on Netbeans.
Best regards,
SWilk