Mark Phippard wrote:
> I think I was the original person to suggest using RegEx, although perhaps
> the idea has "morphed" into other areas.
You were the first one, yes. But by far not the only one ;)
> When I suggested it, the RegEx would have been used to validate the issue
> ID. As such, it would really just need to be run on the text typed into
> that field, not the entire log message. I think this would have just been
> for simple validations, similar to what we already provide to say if an
> issue ID is numeric. In my system, as an example, the Bug ID string would
> always have to be 8 or 10 total characters, so I might provide an
> expression to validate that. Some people use systems with complicated
> ID's like ABCD/123 that could also have a simple validation performed.
With regex linked to TSVN, this would be an easy thing to implement. And
I already put that in the specs.
> You pretty much convinced me that this isn't really needed.
Not really for checking, yes.
> So to come back to your question, I don't understand what you would be
> using expressions for? Is it just to identify the bug ID's in a log
> message so that you know what to turn into hyperlinks? Does that really
> need that much improving? Are you thinking of some new UI such as showing
> the Bug ID's separate from the log message and this is how you would
> extract them?
People requested TSVN to extract certain strings from a log message and
turn it into a link. Also, some tools like trac
(http://projects.edgewall.com/trac/) can even parse a log message for
Changed blah and foo to do this or that. Fixes #10 and #12,
and refs #12.
This will close #10 and #12, and add a note to #12.
and close/fix/reference/add note to the mentioned issue (called 'ticket'
So there's definitely a request for such a feature implemented in TSVN
too! Also, I found myself needing a regex lib for something else I've
planned to implement in TSVN so I thought that adding another 400kB
isn't that bad anymore (it still would be for just _one_ feature, but I
can use it for another one too).
So the regex would be used to extract the bug ID's from a log message as
trac does it and turn them into links. And of course while we have that
regex defined it can also be used to check the validity of an entered
Kind of like an enhancement to the current specs.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Fri Feb 11 19:42:20 2005