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

Re: multiple bug tracking system references

From: Flavio Stanchina <flavio_at_stanchina.net>
Date: 2007-03-22 10:51:42 CET

Michael Nguyen wrote:
> But how would I generate the URLs to include such text? I thought the
> bugtraq:url parameter only accepts BUGID, are there other variables I
> can include? If so, that would make things extremely easy.

Let's say your issue trackers are at
  http://internal.your.org/bugs/bug.php=ID
  http://www.your.org/support/issues.php=ID

Set bugtraq:logregex to
  (issue \d+|bugId \d+)

Set bugtraq:url to
  http://internal.your.org/redirector.cgi?%BUGID%

Then set up redirector.cgi as a small script that takes as parameter
either "issue 123" or "bugId 456" and redirects you to the correct page.

I noticed that TSVN doesn't like :'s in the regex, but I didn't
investigate why.

-- 
Ciao, Flavio
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Mar 22 10:52:04 2007

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

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