You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Young, Jason (GE Indust, GE Fanuc)" <Ja...@ge.com> on 2006/03/14 20:54:04 UTC

Post Commit Script for Selected Paths

I'm writing a .NET 2.0 command line EXE that allows you to launch
certain post commit scripts based on the paths that were changed in
Subversion.  It's launched in a post commit script itself.  It's
configured with a simple XML file.

I'm basically trying to make it easy to launch Nant builds based on the
paths that were changed.

Has anyone already done this?  I want to make sure I'm not redoing any
work.  When it's done, will this be of use to anyone else?

Thanks,
Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Re: Post Commit Script for Selected Paths

Posted by Andy Levy <an...@gmail.com>.
On 3/14/06, Young, Jason (GE Indust, GE Fanuc) <Ja...@ge.com> wrote:
> I know about that.  This was intented to be a bit simpler, and at a
> lower level.  I really just wanted an easy way to have different post
> commit scripts depending on the path.

Why not one simple "driver" post-commit script which inspects the
changed path(s) and fires off the appropriate script(s) based on
those?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


RE: Post Commit Script for Selected Paths

Posted by "Young, Jason (GE Indust, GE Fanuc)" <Ja...@ge.com>.
I want to be able to launch build processes based on the path.  If I was
using Linux, I would probably take advantage of the better scripting.  I
could also use VBScript, but I'm sort of allergic to it.

I could use CruiseControl.net, but this is meant to be really simple,
and not have to worry about polling.  I realize there are other ways of
doing this, but I just wanted an easy way to add post commit scripts
based on the path.  That will keep my options open down the road.

Other than one issue I'm having with the SVN command line, it's already
complete, and it took me about an hour.

Jason 

-----Original Message-----
From: allan juul [mailto:allan@muly.dk] 
Sent: Wednesday, March 15, 2006 1:27 PM
To: Young, Jason (GE Indust, GE Fanuc); Subversion mailing list
Subject: Re: Post Commit Script for Selected Paths

Young, Jason (GE Indust, GE Fanuc) wrote:
> I know about that.  This was intented to be a bit simpler, and at a 
> lower level.  I really just wanted an easy way to have different post 
> commit scripts depending on the path.

of curiosity why would you  want different scripts ?
why not have one script (or EXE for that matter) control the whole thing
?
./allan

> -----Original Message-----
> From: Nathan Kidd [mailto:nathan-svn@spicycrypto.ca]
> Sent: Tuesday, March 14, 2006 3:18 PM
> To: users@subversion.tigris.org
> Subject: Re: Post Commit Script for Selected Paths
> 
> Young, Jason (GE Indust, GE Fanuc) wrote:
>> I'm writing a .NET 2.0 command line EXE that allows you to launch 
>> certain post commit scripts based on the paths that were changed in 
>> Subversion.  It's launched in a post commit script itself.  It's 
>> configured with a simple XML file.
>>
>> I'm basically trying to make it easy to launch Nant builds based on 
>> the paths that were changed.
>>
>> Has anyone already done this?  I want to make sure I'm not redoing 
>> any
> 
>> work.  When it's done, will this be of use to anyone else?
> 
> Have a look at CruiseControl.Net http://ccnet.thoughtworks.com/
> 
> -Nathan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Post Commit Script for Selected Paths

Posted by allan juul <al...@muly.dk>.
Young, Jason (GE Indust, GE Fanuc) wrote:
> I know about that.  This was intented to be a bit simpler, and at a
> lower level.  I really just wanted an easy way to have different post
> commit scripts depending on the path. 

of curiosity why would you  want different scripts ?
why not have one script (or EXE for that matter) control the whole thing ?
./allan

> -----Original Message-----
> From: Nathan Kidd [mailto:nathan-svn@spicycrypto.ca] 
> Sent: Tuesday, March 14, 2006 3:18 PM
> To: users@subversion.tigris.org
> Subject: Re: Post Commit Script for Selected Paths
> 
> Young, Jason (GE Indust, GE Fanuc) wrote:
>> I'm writing a .NET 2.0 command line EXE that allows you to launch 
>> certain post commit scripts based on the paths that were changed in 
>> Subversion.  It's launched in a post commit script itself.  It's 
>> configured with a simple XML file.
>>
>> I'm basically trying to make it easy to launch Nant builds based on 
>> the paths that were changed.
>>
>> Has anyone already done this?  I want to make sure I'm not redoing any
> 
>> work.  When it's done, will this be of use to anyone else?
> 
> Have a look at CruiseControl.Net http://ccnet.thoughtworks.com/
> 
> -Nathan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Re: Post Commit Script for Selected Paths

Posted by "Young, Jason (GE Indust, GE Fanuc)" <Ja...@ge.com>.
I know about that.  This was intented to be a bit simpler, and at a
lower level.  I really just wanted an easy way to have different post
commit scripts depending on the path. 

-----Original Message-----
From: Nathan Kidd [mailto:nathan-svn@spicycrypto.ca] 
Sent: Tuesday, March 14, 2006 3:18 PM
To: users@subversion.tigris.org
Subject: Re: Post Commit Script for Selected Paths

Young, Jason (GE Indust, GE Fanuc) wrote:
> I'm writing a .NET 2.0 command line EXE that allows you to launch 
> certain post commit scripts based on the paths that were changed in 
> Subversion.  It's launched in a post commit script itself.  It's 
> configured with a simple XML file.
> 
> I'm basically trying to make it easy to launch Nant builds based on 
> the paths that were changed.
> 
> Has anyone already done this?  I want to make sure I'm not redoing any

> work.  When it's done, will this be of use to anyone else?

Have a look at CruiseControl.Net http://ccnet.thoughtworks.com/

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Post Commit Script for Selected Paths

Posted by Nathan Kidd <na...@spicycrypto.ca>.
Young, Jason (GE Indust, GE Fanuc) wrote:
> I'm writing a .NET 2.0 command line EXE that allows you to launch
> certain post commit scripts based on the paths that were changed in
> Subversion.  It's launched in a post commit script itself.  It's
> configured with a simple XML file.
> 
> I'm basically trying to make it easy to launch Nant builds based on the
> paths that were changed.
> 
> Has anyone already done this?  I want to make sure I'm not redoing any
> work.  When it's done, will this be of use to anyone else?

Have a look at CruiseControl.Net http://ccnet.thoughtworks.com/

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org