DaqSvn: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
bbb
bbb


<h1>Create an SVN repository called "vf48".</h1>
== SVN administration ==
 
=== Create an SVN repository called "vf48" ===
<ul>
<ul>
       <li>login as root@ladd00</li>
       <li>login as root@ladd00</li>
Line 23: Line 25:
       <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>
<h1>Convert plain directory to SVN</h1>
 
=== Convert plain directory to SVN ===
<ul>
<ul>
       <li>read explanation of canonical repository structure at http://svnbook.red-bean.com/nightly/en/svn.branchmerge.maint.html</li>
       <li>read explanation of canonical repository structure at http://svnbook.red-bean.com/nightly/en/svn.branchmerge.maint.html</li>
Line 37: Line 40:
       <li>svn commit</li>
       <li>svn commit</li>
       <li>go to http://ladd00.triumf.ca/viewcvs/daqsvn/trunk/name_of_my_svn_directory --- you should see your files there</li></ul>
       <li>go to http://ladd00.triumf.ca/viewcvs/daqsvn/trunk/name_of_my_svn_directory --- you should see your files there</li></ul>
<h1>Import stuff into the "trunk"</h1>
 
=== Import stuff into the "trunk" ===
<ul>
<ul>
       <li>read explanation of canonical repository structure at http://svnbook.red-bean.com/nightly/en/svn.branchmerge.maint.html</li>
       <li>read explanation of canonical repository structure at http://svnbook.red-bean.com/nightly/en/svn.branchmerge.maint.html</li>
Line 44: Line 48:
       <li>cd ..; mv directory_with_stuff obsolete</li>
       <li>cd ..; mv directory_with_stuff obsolete</li>
       <li>svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/test11</li></ul>
       <li>svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/test11</li></ul>
<h1>Import VF48 firmware into the "vendor" branch</h1>
 
=== Import VF48 firmware into the "vendor" branch ===
<ul>
<ul>
       <li>read http://svnbook.red-bean.com/en/1.1/ch07s05.html</li>
       <li>read http://svnbook.red-bean.com/en/1.1/ch07s05.html</li>
Line 52: Line 57:
       <li>svn checkout https://ladd00.triumf.ca/svn/vf48/vendor/VF48COL_V211</li>
       <li>svn checkout https://ladd00.triumf.ca/svn/vf48/vendor/VF48COL_V211</li>
       <li>svn checkout https://ladd00.triumf.ca/svn/vf48/vendor/VF48FE_V_E_212b</li></ul>
       <li>svn checkout https://ladd00.triumf.ca/svn/vf48/vendor/VF48FE_V_E_212b</li></ul>
<p>//KO</p>

Revision as of 10:02, 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 /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.
  • chown -R daqweb.mirror vf48
  • 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.

Convert plain directory to SVN

Import stuff into the "trunk"

Import VF48 firmware into the "vendor" branch