[Buildbot-devel] pserver vs. extssh

Brian Warner warner-buildbot at lothar.com
Tue Mar 14 02:21:52 UTC 2006


> how can i get a slave to log into a cvs using extssh instead of pserver?
> the standard CVS class cannot be used for extssh it seems.

Can't you just use ":ext:ssh:whatever..." as the cvsroot= argument? I'm not
familiar with that mode, but in general whatever you put into cvsroot= will
just get thrown into the eventual cvs command line..

 s(step.CVS, cvsroot=":extssh:user at host.com:/path", cvsmodule="mod",
             mode="copy")

Mind you, you'll have to make sure that the account running the buildslave is
capable of using that command without having to interactively type a password
or something. There's no facility for passing additional text into stdin.
Perhaps a passphraseless ssh key? Against a read-only copy of the repository?

cheers,
 -Brian




More information about the devel mailing list