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 - Add support for bugtraq properties
Summary: Add support for bugtraq properties
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: -S1S-
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL: http://tortoisesvn.net/docs/release/T...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 15:31 UTC by swilk
Modified: 2011-08-16 15:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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