On Wed, Sep 24, 2014 at 11:13 AM, Dirk <tortoisesvn_at_nogga.de> wrote:
> 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.
> [...]
> 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.
>
None that I have found.
However, it looks like Trac can be its own switchboard. From
http://trac.edgewall.org/wiki/TracLinks :
A distinctive advantage of InterTrac links over InterWiki links is
that the shorthand form of Trac links (e.g. {}, r, #) can also be
used. For example if T was set as an alias for Trac, links to Trac
tickets can be written #T234
Given this, I think the Trac community will be able to help setup a simple
solution.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3088992
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-09-24 18:17:06 CEST