Client side hook scripts for all (windows) users

152 views
Skip to first unread message

Michiel Pauly

unread,
Mar 3, 2017, 5:58:27 AM3/3/17
to us...@tortoisesvn.tigris.org
We have some tooling that needs to be started every time a user commits changes to subversion.

These changes are made on a server and multiple colleagues log into that server to make the changes.

Off course we can add hook scripts for every colleague and if a new colleague is hired don't forget to add hook scripts for this one as well.

I see that the hook scripts are in the registry under HKCU.

It would be easier if we could create hook scripts for all users that can login to that server. Is this possible?

Michiel Puauly

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3216019

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Stefan Küng

unread,
Mar 3, 2017, 8:43:47 PM3/3/17
to us...@tortoisesvn.tigris.org, mic...@paulyweb.nl
On 03.03.2017 11:58, Michiel Pauly wrote:
> We have some tooling that needs to be started every time a user commits changes to subversion.
>
> These changes are made on a server and multiple colleagues log into that server to make the changes.
>
> Off course we can add hook scripts for every colleague and if a new colleague is hired don't forget to add hook scripts for this one as well.
>
> I see that the hook scripts are in the registry under HKCU.
>
> It would be easier if we could create hook scripts for all users that can login to that server. Is this possible?
>

Set the project properties for hook scripts on the working copy root folder:
https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html#tsvn-dug-propertypage-tsvn-props

As an example, check out the TSVN repository - we use a hook script that
way as well.

Stefan

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

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3216434

bjc_...@btinternet.com

unread,
Mar 3, 2017, 8:44:01 PM3/3/17
to us...@tortoisesvn.tigris.org
Hi,

>> I see that the hook scripts are in the registry under HKCU. <<
It sounds like you are are considering using client side hooks. That is TortoiseSVN hooks. Have you considered using server side hooks? Server side hooks are configured on the SVN server and would allow processing that affects all users. More information at <http://svnbook.red-bean.com/nightly/en/svn.ref.reposhooks.html>.

If you have considered this solution and ruled it out, perhaps it would help if you describe why. This might help others make improved suggestions.

Hope this helps.


Reply all
Reply to author
Forward
0 new messages