[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

bugtraq properties and multiple project URLs

From: Dirk <tortoisesvn_at_nogga.de>
Date: Wed, 24 Sep 2014 17:13:21 +0200

Hello,

we use "trac" for our issue tracking. Integration with tortoisesvn works
perfect.

We have now come into a situation, where two trac instances for two
projects share one subversion repository. The checkins into the
repository are mixed between the projects. Inside trac we have InterTrac
support, so the bug id's will have an additional character, e.g.
"#a123" and "#b123".

I'm now struggeling setting up the bugtraq properties, since I have to
switch the bugtraq:url depending on the character. It seems, that the
only possibility is point the bugtrq:url to a "switch board" url, that
will decode the link into the correct trac instance.

  * bugtrac:logregex:
([Ii]ssue |#)([a-zA-Z]\d+)(,? ?#([a-zA-Z]\d+))*
([a-zA-Z] \d+)

  * bugtrac:url
example.com/switchboard/%BUGID%

and to write a new handler that will decode the "%BUGID%" into the
correct trac project with the correct InterTrac link

example.com/switchboard/a123 -> example.com/ProjectA/intertrac/ticket:123
example.com/switchboard/b123 -> example.com/ProjectB/intertrac/ticket:123

Or are there any other possibilities inside tortoisesvn that I oversee.

Thanks
Dirk

P.S. Thank you for the incredibly good peace of software. Without it, my
life would be much harder.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3088991

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-09-24 17:45:12 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.