DaqSvn: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
mNo edit summary
Line 18: Line 18:
       <li>cd /home/daqweb/svn</li>
       <li>cd /home/daqweb/svn</li>
       <li>svnadmin create vf48</li>
       <li>svnadmin create vf48</li>
       <li>edit /usr/local/viewvc-1.0-dev/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.</li>
       <li>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.</li>
       <li>chown -R daqweb.mirror vf48</li>
       <li>chown -R daqweb.mirror vf48</li>
      <li>chmod -R u+wr,g+wr vf48</li>
</ul>
=== Enable svn: access (DO NOT DO THIS) ===
<ul>
       <li>cd vf48/conf</li>
       <li>cd vf48/conf</li>
       <li>edit "passwd", add users and their passwords (swear at the svn authors: passwords are entered in clear text) </li>
       <li>edit "passwd", add users and their passwords (swear at the svn authors: passwords are entered in clear text) </li>
Line 25: Line 29:
       <li>chmod a-r,u+r passwd</li>
       <li>chmod a-r,u+r passwd</li>
       <li>repository is now ready for use.</li></ul>
       <li>repository is now ready for use.</li></ul>
=== Enable https: access ===


=== Convert plain directory to SVN ===
=== Convert plain directory to SVN ===

Revision as of 10:05, 17 May 2011

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

Convert plain directory to SVN

Import stuff into the "trunk"

Import VF48 firmware into the "vendor" branch