Jump to: navigation, search

Difference between revisions of "EMF Build Server Setup/Anonymous Pserver Access"

m
m
 
Line 34: Line 34:
 
{{codeblock|<nowiki>/etc/init.d/cvsd restart</nowiki>}}
 
{{codeblock|<nowiki>/etc/init.d/cvsd restart</nowiki>}}
  
* Test annonymous checkout or export:
+
* Test anonymous checkout and export:
  
 
{{codeblock|<nowiki>cd /tmp; \
 
{{codeblock|<nowiki>cd /tmp; \

Latest revision as of 15:21, 14 March 2008

As root:

  • Install cvsd and the pserver module:
apt-get install cvsd adduser-plugin-cvsaccess
  • Add anonymous user to each repo, and set a password (or leave blank when prompted):
cvsd-passwd /cvsroot/modeling anonymous
cvsd-passwd /cvsroot/eclipse anonymous
cvsd-passwd /cvsroot/org.eclipse anonymous
cvsd-passwd /home/cvs anonymous
  • Edit /etc/cvsd/cvsd.conf.
  • In order to use existing CVS dirs, disable chroot jail:
RootJail none
  • Add cvs repositories to the config file:
Repos /cvsroot/modeling
Repos /cvsroot/eclipse
Repos /cvsroot/org.eclipse
Repos /home/cvs
  • Set anonymous access to be read-only:
CvsArgs -R
  • Restart the cvsd daemon:
/etc/init.d/cvsd restart
  • Test anonymous checkout and export:
cd /tmp; \
cvs -d :pserver:anonymous@buildbox:/cvsroot/org.eclipse -q co -P -d modeling-co www/modeling; \
cvs -d :pserver:anonymous@buildbox:/cvsroot/org.eclipse -q ex -r HEAD -d modeling-ex www/modeling