You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

How-To Use CVS for PLC Code Versioning

Table 1-1

Description

CVS Reference Directory

CVS Repository Directory

PLC Code

/afs/slac/g/lcls/plc/mgnt

[ plc/mgnt

http://www.slac.stanford.edu/cgi-wrap/cvsweb/plc/mgnt/?cvsroot=LCLS ]

EPICS EtherIp Spport

/afs/slac/g/lcls/epics/site/src/etherIp

[ epics/site/src/etherIp

http://www.slac.stanford.edu/cgi-wrap/cvsweb/epics/site/src/ether_ip/?cvsroot=LCLS ]

Reference

How-To Copy Code from CVS to your PC

  1. Map a network drive on your PC to the CVS Reference Directory listed in Table 1-1 for PLC Code. For instruction on how to map a network drive on you PC clickhere. Enter the following path in the "Folder" box as the directory you want to map to: \\Slac\Slaccfs\slac_afs\g\lcls\plc\mgnt
  2. Ok, now you can drag and drop files from the Unix CVS Reference Directory to your pc.

Requirements for Using CVS

  1. For you PC
    1. TeraTerm Pro or SSH
    2. Afs Client
    3. CvsGui such as as WinCVS, WinMac or gCvs
    4. Python
  2. A SLAC Unix Account.
  3. Read-Write privledges to the CVS Repository on Unix. Please contact Kristi Luchini.

How-To Checkout PLC Code from CVS to your PC

  1. For first time users:
    1. Install a CVS Gui on you PC. Follow instructions below.
    2. Install Python, clickhere (http:--www.python.org).
    3. Setup you CVSGui. Follow instructions below.

How-To Install CVS Gui on you PC

  1. To go to the WinCvs web page, click here.
  2. To download the Cvs Gui click DOWNLOAD.
  3. Click the CvsGui for your machine, which is dependent on the operating system you are running on your pc. Click WinCvs for Windows, MacCVS for Macintosh,and gCvs for gnu CVS which is platform independent.
  4. Now download the latest version of the CvsGui.
  5. Follow the install directions.
  6. If the download was successful you will see the CvsGui icon on your desktop. Otherwise, contact Kristi Luchini.

How-to Setup WinCVS

  1. Configure WinCvs to use SSH (TeraTerm Pro). For instructions click here.
  2. Create a folder on you PC that you do your local work.
    #
    #
  • No labels