Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

m
m
Line 33: Line 33:
  
 
{{codeblock|<nowiki>/etc/init.d/cvsd restart</nowiki>}}
 
{{codeblock|<nowiki>/etc/init.d/cvsd restart</nowiki>}}
 +
 +
* Test annonymous checkout or export:
 +
 +
{{codeblock|<nowiki>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
 +
</nowiki>}}
  
 
[[Category:Releng]]
 
[[Category:Releng]]

Revision as of 16:20, 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 annonymous checkout or 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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.