[cvsnt] Problem with CVS LOGIN

Bo Berglund bo.berglund at telia.com
Sun Jul 13 00:30:24 BST 2003


On Tue, 8 Jul 2003 16:00:00 +0200, thierry.vermeersch at nl.abb.com
wrote:

>I'm going to try to find some info on the protocol, but in the meanwhile,
>what is the "username:password syntax"? I cannot seem to find any reference
>to this syntax?
>
Like this:
:pserver:username:password at cvsserver:/repository
or
:sspi::username:password at cvsserver:/repository

I use this extensively in scripts to exctract files used to build
setups for distribution. In those I use a special cvs user that has
only read permissions on the CVS repository. Used like this from the
batch file:
set CVSROOT=:sspi:readonlyuser:hispassword at ourcvsserver:/pc
cvs export -r HEAD -d ExportDir Module/File
cvs export....

Works like a charm and can be executed everywhere by anyone who is not
a CVS member to build the setups. Only needs CVS on the path.
I even have the Innosetup binaries in CVS and they are also exported
and finally called by the batchfile to create the setup file.


/Bo
(Bo Berglund, developer in Sweden)


More information about the cvsnt mailing list