[Cvsnt] TRIGGER Commit and Export

Bo Berglund bo.berglund at telia.com
Wed Dec 19 19:29:26 GMT 2001


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Simple suggestion, there are probably better schemes around...

- Put the "trigger" in the loginfo script.
- In the script do two things:
1) Log some needed information like which files were updated
2) Issue an AT command to make the export from CVS at a later time

Now when someone commits stuff you will have a log of what was done
and a process that starts within a short time that uses the logged
info to export the data out to the published location.

/Bo

On Wed, 19 Dec 2001 19:03:17 +0000 (UTC), "William Etson"
<will_etson at pgn.com> wrote:

>Do you have a working example of this? I would like to spawn an Java Ant
>Build Script, but I have been having terrible trouble. Ether CVS hangs or
>the commit fails. Are there rules to how these command scripts have to be
>written?
>
>Will Etson
>
>"Bishop, Murray" <murray.bishop at acnielsen.com.au> wrote in message
>news:21E0267B3548D211B0DA0008C74CD8D101FAD1AD at ACNMELMSX10...
>> Franck Marchand wrote Monday, December 17, 2001 9:53 PM
>> > I've seen in the documentation that it's possible to trig a script which
>> > start a background process to do the export.
>> > Like this, the export is not blocked by lock files. It works fine with
>> > linux thank to '&'.
>> >
>> > But how can I do the same thing with windows ?
>> >
>> >
>> Giving to cmd.exe
>>   start ExecuteExport.cmd
>> will start ExecuteExport.cmd running in a separate session
>>   start /?
>> will tell you more options.
>>
>> > I tried to create a C program which use the function CreateProcess to
>trig
>> > a Cvs Export command.
>> > And it works fine if I'm in Local mode, If I change to Pserver mode, it
>> > doesn't work :
>> > the commit finish well whereas the C program doesn't do nothing.
>> >
>> >
>> Perhaps the PATH is different on server and locally?
>>
>> _______________________________________________
>> Cvsnt mailing list
>> Cvsnt at cvsnt.org
>> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
>
>
>_______________________________________________
>Cvsnt mailing list
>Cvsnt at cvsnt.org
>http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook