[cvsnt] Re: Why am I getting tempdir errors when usinglockserver?
Bo Berglund
Bo.Berglund at system3r.se
Fri Oct 31 12:53:36 GMT 2003
The reason it hangs about is that the first cvs call to loginfo in an operation
spawns an extra CVSMailer which has a built-in delay. This is used to collect all
the bits and pieces of all the cvs calls done for all the involved folders into
one single email. But the thing that ties it all together is a process timestamp
I get from the PID of the base cvs process. I don't really know if I can manage
the mailing handling via the postcommit. Should be possible, but only if the cvs
that executes the postcommit is the same as was launching the loginfo/notify/
taginfo scripts (by the PID and timestamp).
Will look into this when time allows.
What variables can be supplied by postcommit?
And what standard command line arguments are used?
And finally, does postcommit get fired also after tags or notifies? I don't think so...
/Bo
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Tony Hoyle
Sent: den 31 oktober 2003 11:48
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Re: Why am I getting tempdir errors when
usinglockserver?
On Fri, 31 Oct 2003 10:50:28 +0100, "Bo Berglund"
<Bo.Berglund at system3r.se> wrote:
>Might be because a CVSMailer process is hanging in there for about 30
>seconds before sending the email (to collect all info from all subfolders).
>So just maybe the cvsnt thread that is owning that process hangs around
>with the directory locked for that timout
>
I wondered why it did that... You can work out what the last
directory that'll be passed to loginfo is by parsing commitinfo first,
which is more reliable. Another way is a postcommit handler that
fires to say the commit has finished.
Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list