On 14.07.2010 19:14, Rainer Jung wrote:
On 13.07.2010 22:11, Mark Thomas wrote:
On 13/07/2010 19:57, Rainer Jung wrote:
I had a look at BZ46451. It suggests adding subversion properties to
enable the use of subversion bugtraq. This allows a better integration
of BZ into subversion commit messages and retrieval when looking at svn
logs.

Comments?

I was playing with this a while ago here:
http://svn.apache.org/viewvc/tomcat/sandbox/bz-svn/

Feel free to play with the settings there.

I don't recall why I lost interest in this but if you can get it
working +1.

...

Anyone trying with eclipe?

I will wait a bit and if no one opposes, I will commit the properties.
If someone has a problem later, we can easily remove them again.

Keep in mind, that since we are using a regexp, you will still have to
enter the issue ID when preparing a new log message.

I tested a bit more.

Positive: one can mix bugtraq:message with bugtraq:logregex. Though the spec says logregex wins, in reality it uses logregex to extract the data when showing the log, but message when you enter a new log message. So you can combine both and get structured inserts of BZ IDs for new log messages and correct extraction even for the old unstructured ones.

Negative: Testing only went well for eclipse using the Subclipse SVN plugin. For the Subversive plugin, the two-lines logregex usage fails.

Unfortunately it does not only produce incorrect links when displaying the log, but also pops up an error message (String index out of range), whenever you look at a single log message and the logregex matches.

Could you try it yourself by checking out http://svn.apache.org/repos/asf/tomcat/sandbox/bz-svn as a new project and look at the svn history. When you look at the individual log entries, you should be provided with links to the issues, even if they are given like "bug 23456" or "fix for 7890".

Please indicate if it works for you and which svn plugin you are using. Subversive btw doesn't show the bug IDs in a separate column in the history even if it finds the IDs and provides links when displaying the log messages. Subclipse does.

BTW: Netbeans seems to not support the feature at all.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to