Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /pages/trunk/DEV/cvs-readme.html
ViewVC logotype

Diff of /pages/trunk/DEV/cvs-readme.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1299, Sun Jan 12 19:19:24 2003 UTC revision 1300, Sun Mar 2 19:08:15 2003 UTC
# Line 9  Line 9 
9  <h1>Instructions for use of Yale CVS Repository</h1>  <h1>Instructions for use of Yale CVS Repository</h1>
10  <p>  <p>
11  <p>  <p>
12  This page provides basic information, advice, and hints for using  The SML/NJ CVS repository has moved to SourceForge.
13  the SML/NJ CVS repository at Yale.  Please see <a href="http://sourceforge.net/cvs/?group_id=20680">Accessing
14  <p>      the CVS repository</a>.
15  <h3>Repository address</h3>  </p>
 <pre>  
    flint.cs.yale.edu:/home/cvs  
 </pre>  
 <p>  
16  <h3>Mailing list</h3>  <h3>Mailing list</h3>
17  <p>  <p>
18  There is a mailing list, <a href="mailto:smlnj-cvs@rum.cs.yale.edu">  Since Yale's CVS repository is not used any more, the old mailing list,
19  smlnj-cvs@rum.cs.yale.edu</a>, that will  <a href="mailto:smlnj-cvs@rum.cs.yale.edu">smlnj-cvs@rum.cs.yale.edu</a>
20  automatically receive messages announcing commits to the repository.  has also become useless.  It has been replaced by
21  To join the mailing list, send mail to  <a href="http://lists.sourceforge.net/lists/listinfo/smlnj-commits">smlnj-commits</a>.
22  <a href="mailto:smlnj-cvs-request@rum.cs.yale.edu">smlnj-cvs-request@rum.cs.yale.edu</a>  </p>
 with subject:  
 <pre>  
   subscribe &lt;your@email.address&gt;  
 </pre>  
 <p>  
 <h3>Setting up and using ssh</h3>  
 <ol>  
 <li> <strong>To get access</strong>: send <a href="mailto:monnier@cs.yale.edu">  
 Stefan Monnier</a> your public SSH-1  
 key along with a set of machine names (full domain paths)  
 from which you'll login.  Here is how you can generate an  
 SSH-1 key and transmit it to Stefan:  
 <pre>  
    % ssh-keygen  
    % Mail -s "here you are" monnier@cs.yale.edu &lt;~/.ssh/identity.pub  
 </pre>  
 <code>ssh-keygen<code> will ask you to enter a passphrase, which you'll  
 need to remember and use whenever you use the Yale repository.  
 <p>  
 You can check whether your access is authorized by executing  
 <pre>  
      ssh -v flint.cs.yale.edu  
 </pre>  
 <p>  
 <li> <strong>set CVS_RSH</strong>  
 <pre>  
    export CVS_RSH=ssh  
 </pre>  
 <p>  
 <li> use <strong>ssh-agent</strong> to set up for cvs usage.  
 ssh-agent produces three lines of shell commands that should be evaled  
 <pre>  
    eval `ssh-agent`  
 </pre>  
 <li> use <strong>ssh-add</strong> to authenticate for the whole session.  
 ssh-add adds identity from ~/.ssh.  Using this command, you won't be asked  
 for authentication on each cvs command.  
 </ol>  
 <p>  
 Here is a script that can be "sourced" to do all these steps:  
 <pre>  
     export CVS_RSH=ssh  
     export CVSROOT=flint.cs.yale.edu:/home/cvs  
     eval `ssh-agent`  
     ssh-add &lt;&lt;EOF  
     &lt;insert your passphrase here&gt;  
     EOF  
 </pre>  
 Note that if you have your DISPLAY variable set, the ssh-add ignores  
 its standard input and pops up a dialog box into which you must type your  
 passphrase.  
 <p>  
23    
24  <h3>CVS Hints</h3>  <h3>CVS Hints</h3>
25  <ol>  <ol>
 <li> Typical command:  
 <pre>  
      cvs -d flint.cs.yale.edu:/home/cvs co smlnj  
 </pre>  
 <p>  
 <li> To avoid having to specify the repository in each command, you can set  
 CVSROOT:  
 <pre>  
      export CVSROOT=flint.cs.yale.edu:/home/cvs  
 </pre>  
 <p>  
26  <li> It is recommended to have a ~/.cvsrc file containing  <li> It is recommended to have a ~/.cvsrc file containing
27  <pre>  <pre>
28          % cat ~/.cvsrc          % cat ~/.cvsrc
# Line 150  Line 83 
83    
84    
85  <hr>  <hr>
 <h3>Anonymous CVS</h3>  
 <p>  
 Stefan Monnier, 7 Apr 2000  
 <p>  
 I have a tentative setup for anonymous CVS working on rum (aka flint).  
 To try it out, do the following:  
 <pre>  
         % cvs -d :pserver:cvsguest@flint.cs.yale.edu:/guest login  
         passwd: cvs  
         % cvs -d :pserver:cvsguest@flint.cs.yale.edu:/guest co smlnj  
 <pre>  
 </blockquote>  
   
 <hr>  
86  <address>Dave MacQueen</address>  <address>Dave MacQueen</address>
87  <!-- Created: Mon Feb 21 16:13:47 EST 2000 -->  <!-- Created: Mon Feb 21 16:13:47 EST 2000 -->
88  <!-- hhmts start -->  <!-- hhmts start -->

Legend:
Removed from v.1299  
changed lines
  Added in v.1300

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0