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

Re: [TSVN] Trac/bugtraq - Ticket to Changeset link [was: Re: Trac [was: TortoiseSVN 1.1.1 released]]

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-27 19:52:17 CEST

Lars Klose wrote:
> SteveKing wrote:
>> And if you know of a way to validate a bug-ID on the client side
>> without using something that requires a big external library (like
>> regexp) or another round trip to a server then I'd be happy to add
>> that to the specs and implement it in TSVN.
> Actually I can't think of any way to do this without contacting the
> issue tracker.

The idea once was to provide a bugtraq:validate property which would
have some regexp expression string against which the entered bug-ID was
tested against. That would help a lot since you could check that the
bug-ID was entered correctly (syntactically).
But then I looked around for regexp and found:
- regexp is not well defined, i.e. there are several 'standards' out
there which don't work always the same
- the boost regexp library would add another 1.5 Megs to TSVN - and
that's just too much for _one_ simple feature.

> With the proposed feature of getting the available valid ticket numbers
> on user's demand from the issue tracker, TSVN could afterwards check
> against that list (without fetching it again) even if the user altered
> the ticket number manually afterwards.

That's what I was thinking too.

> In case he didn't use that but entered it manually right away -
> personally, I could live with the fact that a commit might fail on
> validation of the ticket id in the pre-commit hook.

If the manually entered id doesn't match one of the "open tickets list"
received, then a simple warning could be shown (_not_ blocking the commit!).


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Oct 27 20:57:48 2004

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.