Hi Jack,

> [...]
So, for now, my workaround is to put:

  export CVS_RSH /usr/bin/ssh

in /etc/sysconfig/httpd unless someone can
suggest a better solution as to why either
the original code didn't work.

This sounds to me like you have setup Codestriker with apache2 and mod_perl? Most people I know are using CVS with pserver, or direct access, which is why this isn't an issue reported on very often.

If you deploy Codestriker in plain old CGI mode, I suspect the existing code in Cvs.pm which export CVS_RSH will actually work. Under mod_perl however, this probably gets suppressed, particularly under apache2.

Can you try with CGI to see if this works?

the perl script it is in UNLESS (for some reason)
it was from the environment of the server when
it started.  So, using "SetEnv CVS_RSH /usr/bin/ssh"
in httpd.conf and using "$ENV{'CVS_RSH'}='/usr/bin/ssh';'
in the scripts will affect the running environment
but not the one the open runs in.

I think this caveat is right with apache2/mod_perl. Its a damn shame cvs doesn't have a command-line option for specifying what rsh program to use, like rsync, rather than using an environment variable.

Cheers,
David


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Codestriker-user mailing list
Codestriker-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to