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

Re: Avoiding blocking the UI while running hook scripts?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 15 May 2008 14:08:41 +0200

Simon Large wrote:
> Hi Roger,
>
> I'm quoting an old email as this is the only place I can find a
> summary of what the issue tracker integration is for. The contrib
> folder details how to write the COM object, and I have no intention of
> documenting that in the help file. I'm assuming a friendly admin will
> have written the COM object and issue tracker end, and supplied a
> working hook to members of the dev team, who then plug it into TSVN.
> That's not an everyday job for TSVN users, so the contrib folder is
> the right place for that description.

Sure, the TSVN help file should really only contain the part which is
for the user, how to configure such plugins.

> What I need is the user perspective: what does this do, how do I
> install the plugin, what does it look like once I have done that.
> Normally I would just try using it myself, but in this case I do not
> have a COM object to test, so I'm a bit stuck.

I've compiled the Atl example plugin and uploaded it here:
http://tortoisesvn.net/files/ExampleAtlPlugin.dll

[snip]
> So, putting my user hat on, once I have installed the plugin, I find a
> new hyperlink on my commit dialog (where?). I click on the link and

Please download the example dll mentioned above. Then register the dll with
regsvr32 /i ExampleAtlPlugin.dll
(to unregister later, use 'regsvr32 /u ExampleAtlPlugin.dll')

After that, you will see an entry for this registered plugin in the
settings dialog.

> the plugin starts up, typically to contact the tracker and display a
> list of open issues. I select an issue and the plugin closes the
> dialog and modifies the current log message in some way (typically
> appends a formatted string to it, based on the issue I have selected).
>
> The part that is least clear is installation/setup. I can't find how
> you install the plugin, nor what settings are required on the
> TSVN->Settings page.

I assume that installing a plugin will be different for each and every
plugin that gets implemented. The easiest way (on XP at least) is the
way I mentioned above. That doesn't work on Vista if you don't start an
Admin console first.
So my guess would be that most plugins will come with their own installer.

> I also need some screenshots. If I can install a pre-built example
> plugin (like your contrib ones) then I can test this and grab the pics
> myself, but I don't have a C++/C# build environment (I'm not a Windows
> programmer) so I can't just build the contrib one myself. Maybe it
> would be worth including the example as a download from the nightly
> site, so others can try it out.

Just mention that the screenshots are not from a 'real' plugin but from
our dummy/example one.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-05-15 14:08:59 CEST

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.