You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Markus Schaber <m....@codesys.com> on 2014/05/02 11:06:41 UTC

AW: post-checkout hook

Hi, Dean,

Von: Dean A Starr [mailto:dastarr@raytheon.com] 
Hi,

> This would be a very nice feature for us.
> Our procedure is to:
> 1) svn checkout a version of our code on a normal system
> 2) move the working folder to another system where subversion is not available
> 3) compile and run our code on the new system

> The problem is we dont know the version of the code when we are on the 2nd system
> We have a checked in .bat script which will generate a txt file in the working folder  with version info 
> when run on the 1st system, but now the person who does the checkout must remember to run the script
>  before doing the laborious copy.  Security issues are involved.

> It would be great to have a post-checkout hook that would automatically run the script

I see great "Security issues" appearing when a checkout automatically runs scripts on my system.

Lots of people checkout from public / "untrusted" repositories (like free software hosted somewhere), I don't want to give those repositories to give the power to execute scripts on my machine.


Best regards

Markus Schaber

CODESYS(r) a trademark of 3S-Smart Software Solutions GmbH 

Inspiring Automation Solutions 
________________________________________
3S-Smart Software Solutions GmbH 
Dipl.-Inf. Markus Schaber | Product Development Core Technology 
Memminger Str. 151 | 87439 Kempten | Germany 
Tel. +49-831-54031-979 | Fax +49-831-54031-50 

E-Mail: m.schaber@codesys.com | Web: codesys.com | CODESYS store: store.codesys.com 
CODESYS forum: forum.codesys.com 

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915