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

Re: Issue Tracker Integration

From: Roger Lipscombe <roger_at_differentpla.net>
Date: Sun, 20 Jan 2008 15:48:27 +0000

Alexander Klenin wrote:
> On Jan 20, 2008 1:16 AM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>
>> Alexander Klenin wrote:
>>
>>> I propose:
>>> 1) Allow %MESSAGEFILE% parameter in Start commit hook.
>>> The hook should write an initial message text to that file.
>>>
>> The start commit hook is called before the dialog is even shown, and it
>> usually has to wait for the hook script to finish.
>>
>
> That is the point. The hook would display issue list from the tracker,
> and compose an appropriate message based on selected issues.
> The message then gets shown in commit dialog.
> This is almost what OP wanted, except issue selection will come
> before commit dialog, not after it.
>
>
Good idea, but I think I see a snag: I generally only compose my comment
once I've seen the list of changed files in the commit dialog. I suspect
that a lot of others do the same. This means that I'd like to see the
list of issues next to the list of files.

On the other hand, your point about avoiding using COM is well-taken.
TortoiseProc itself gets given the paths to some temporary files. I'm
coming around to have this implemented in this way. I'll need to see how
the start-commit client-side hook is "registered". If it makes sense to
use something for the issue tracker integration hook, then that'll be
less confusing from the user's point of view when they have to install
it. It also makes it much simpler to implement the hook in alternate
languages (i.e. a simple command-line program opens us to VBScript or
even batch files).

On the good side, my MSDN subscription finally got activated. On the bad
side, I'm not going to get a chance to look at this until next weekend,
now...

Cheers,
Roger.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-20 16:48:41 CET

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.