Difference between revisions of "Howto create new svn repos"

From IridiaWiki
Jump to navigationJump to search
 
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
All Subversion repositories are now located on the [[Development Server]].
You will need root access to the iridia server. Standard place to put repositories is /home/svn. Some legacy repositories are in /usr/local/share/svn_repositories.
 
   
  +
Ask the [[Lab_responsibilities|responsable of the development server]] if you need access or a new repository.
# # svnadmin create <path to repos>/REPOSNAME --fs-type fsfs
 
# # groupadd REPOSNAME
 
# # remove ! from /etc/gshadow in REPOSNAME line
 
# # useradd REPOSNAME -g REPOSNAME
 
# # Put * instead of ! in /etc/shadow in REPOSNAME line (= no login)
 
# # Put all users into group line of REPOSNAME in /etc/group (COMMAS!!)
 
# # Put all users into group line of svn_user in /etc/group (for higher level dir access)
 
# # cd <path to repos>
 
# # chown -R REPOSNAME.REPOSNAME REPOSNAME/
 
# # chmod -R o-rwx REPOSNAME
 
# # cd REPOSNAME
 
# # find . -type d -exec chmod 2770 {} \; (2=setgid bit - new files have group of dir, not group of creating user)
 
# # find . -type f -exec chmod g+w {} \;
 

Latest revision as of 15:27, 7 February 2011

All Subversion repositories are now located on the Development Server.

Ask the responsable of the development server if you need access or a new repository.