Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EMF Build Server Setup/Anonymous Pserver Access"
(New page: As root: * Install cvsd and the pserver module: {{codeblock|apt-get install cvsd adduser-plugin-cvsaccess}} * Add anonymous user to each repo, and set a password (or leave blank when pr...) |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
{{codeblock|<nowiki>CvsArgs -R</nowiki>}} | {{codeblock|<nowiki>CvsArgs -R</nowiki>}} | ||
+ | |||
+ | * Restart the cvsd daemon: | ||
+ | |||
+ | {{codeblock|<nowiki>/etc/init.d/cvsd restart</nowiki>}} | ||
+ | |||
+ | * Test anonymous checkout and 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]] |
Latest revision as of 16: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 |