DaqSvn

From DaqWiki
Jump to navigation Jump to search

SVN repositories hosted by the DAQ group and general SVN instrunctions

General characteristics

aaa

LEDs, jumpers, switches and connectors

Front panel items

bbb

SVN administration

Create an SVN repository called "vf48"

  • login as root@ladd00
  • cd /home/daqweb/svn
  • svnadmin create vf48
  • edit /etc/viewvc/viewcvs.conf, in "svn_roots", add "vf48: /home/daqweb/svn/vf48," (notice the trailing comma!), go to "http://ladd00.triumf.ca/viewcvs", you should see the "vf48" repository, it should be empty.
  • chown -R daqweb.mirror vf48
  • chmod -R u+wr,g+wr vf48

Enable svn: access (DO NOT DO THIS)

  • cd vf48/conf
  • edit "passwd", add users and their passwords (swear at the svn authors: passwords are entered in clear text)
  • edit "svnserve.conf", uncomment "[general]", "anon-access = read" and "passwd-db = passwd". Uncomment the line "realm = " and make it read "realm = VF48 SVN repository"
  • chmod a-r,u+r passwd
  • repository is now ready for use.

Enable https: access

  • login as root@ladd00
  • cd /home/daqweb/svn
  • add new repository to dav_accessfile: create new groups and usernames as needed. User "svn" (password "svn") should have read-only access
  • add new users to dav_passwd using the htpasswd utility: htpasswd dav_passwd username (will prompt for password)
  • file dav_group is not used

Convert plain directory to SVN

Import stuff into the "trunk"

Import VF48 firmware into the "vendor" branch