[BACK]Return to anoncvs.html CVS log [TXT][DIR] Up to [local] / www

Diff for /www/anoncvs.html between version 1.103 and 1.104

version 1.103, 2000/03/30 17:30:12 version 1.104, 2000/04/07 18:25:42
Line 23 
Line 23 
 <li><a href="#starting">Getting Started Using Anonymous CVS.</a>  <li><a href="#starting">Getting Started Using Anonymous CVS.</a>
 <li><a href="#using">Using CVS to Get and Update your Source Tree.</a>  <li><a href="#using">Using CVS to Get and Update your Source Tree.</a>
 <li><a href="#CVSROOT">Available Anonymous CVS Servers.</a>  <li><a href="#CVSROOT">Available Anonymous CVS Servers.</a>
   <li><a href="#CRYPTO">Getting crypto sources through CVS(1).</a>
   <li><a href="#EXAMPLE">Example usages for CVS(1).</a>
   <li><a href="#WHICH">Use rsh(1) or ssh(1)?</a>
 </ul>  </ul>
 </p>  </p>
 <hr>  <hr>
Line 349 
Line 352 
   
 <p>  <p>
 <EM>Note:</EM>, If your server is listed on here with inaccurate or  <EM>Note:</EM>, If your server is listed on here with inaccurate or
 unknown information, please contact <A  unknown information, please contact
 HREF="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></A>  <A HREF="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></A>
   </p>
   
 <p>  <p>
 You may want to use `traceroute' to find out which server is nearest you.  You may want to use
   <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8&format=html">traceroute(8)</a>
   to find out which server is nearest you.
 Problems with a server should be reported to the <b>maintainer</b> of the  Problems with a server should be reported to the <b>maintainer</b> of the
 server in question.  server in question.
 </dl>  </dl></p>
   
   <a name="CRYPTO"></a>
   <h3><font color=#0000e0>Getting crypto sources through CVS(1)</font></h3>
   
 <p>  <p>
 <strong>IMPORTANT NOTE:</strong>  <strong>IMPORTANT NOTE:</strong>
 There are a few issues relating to cryptographic software that everyone  There are a few issues relating to cryptographic software that everyone
Line 389 
Line 400 
 on to find out how you can help.  on to find out how you can help.
 </ul>  </ul>
   
   <a name="EXAMPLE"></a>
   <h3><font color=#0000e0>Example usages for CVS(1).</font></h3>
   
 <p>  <p>
 A sample use of an anoncvs CVS server would be:  A sample use of an anoncvs CVS server would be:
 <ul>  <ul><pre>
 <pre>  % <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong>
 % setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs  % <strong>cd /tmp</strong>
 % cd /tmp  % <strong>cvs get src/sys/arch/sparc</strong>
 % cvs get src/sys/arch/sparc  
     [copies the files from the repository to your machine]      [copies the files from the repository to your machine]
 % cvs log src/sys/arch/sparc/sparc/locore.s  % <strong>cvs log src/sys/arch/sparc/sparc/locore.s</strong>
     [shows the commit log for the chosen file ]      [shows the commit log for the chosen file ]
 % cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s  % <strong>cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s</strong>
     [shows the changes between revisions 1.1 and rev 1.5]      [shows the changes between revisions 1.1 and rev 1.5]
 </pre>  </pre></ul>
 </ul>  
   
 <p>  <p>
 <a name=pserver>In order to use a cvs ``pserver'' (a direct tcp connection instead of using ssh or rsh) you must login once:</a>  <a name=pserver>In order to use a cvs ``pserver'' (a direct tcp connection instead of using ssh or rsh) you must login once:</a>
 <pre>  
   <ul><pre>
     [ *NOTE* You must be using cvs version 1.8 or higher to do this          ]      [ *NOTE* You must be using cvs version 1.8 or higher to do this          ]
 % setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs  % <strong>setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs</strong>
 % cvs login  % <strong>cvs login</strong>
 (Logging in to anoncvs@anoncvs1.ca.openbsd.org)  (Logging in to anoncvs@anoncvs1.ca.openbsd.org)
 CVS password: anoncvs  CVS password: <strong>anoncvs</strong>
     [this writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).]      [this writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).]
     [An example line from my ~/.cvspass after typing 'blah' for the above    ]      [An example line from my ~/.cvspass after typing 'blah' for the above    ]
     [password is:                                                            ]      [password is:                                                            ]
     [:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc                    ]      [:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc                    ]
     [...after logging in ONCE every other use of the above CVSROOT will work ]      [...after logging in ONCE every other use of the above CVSROOT will work ]
 % cvs get ksrc-i386 ksrc-common  % <strong>cvs get ksrc-i386 ksrc-common</strong>
     [allows you to retrieve ONLY that necessary to rebuild an i386 kernel    ]      [allows you to retrieve ONLY that necessary to rebuild an i386 kernel    ]
 </pre>  </pre></ul>
   
 <p>  <p>
 Here is how someone using anoncvs regularly would update his  Here is how someone using anoncvs regularly would update his
 source tree:  source tree:
 <ul><li>First, start out by `get'-ing an initial tree:  <ul><li>First, start out by `get'-ing an initial tree:
   
 <pre>  <ul><pre>
 # setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs  # <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong>
 # cd /usr  # <strong>cd /usr</strong>
 # cvs -q get -PA src  # <strong>cvs -q get -PA src</strong>
 </pre>  </pre></ul>
 </li>  </li>
   
 <li> Anytime afterwards, to `update' this tree:  <li> Anytime afterwards, to `update' this tree:
 <pre>  <ul><pre>
 # cd /usr/src  # <strong>cd /usr/src</strong>
 # cvs -q up -PAd  # <strong>cvs -q up -PAd</strong>
 </pre>  </pre></ul>
   
 Everytime you ran this it would synchronize your /usr/src tree. It would  Everytime you ran this it would synchronize your /usr/src tree. It would
 not destroy any of your local changes, rather it would attempt to merge  not destroy any of your local changes, rather it would attempt to merge
Line 452 
Line 465 
 add the <em>-d $CVSROOT</em> options to cvs.  You must also set the  add the <em>-d $CVSROOT</em> options to cvs.  You must also set the
 <em>CVS_IGNORE_REMOTE_ROOT</em> environment variable.  <em>CVS_IGNORE_REMOTE_ROOT</em> environment variable.
   
 <pre>  <ul><pre>
 # cd /usr/src  # <strong>cd /usr/src</strong>
 # cvs -d $CVSROOT -q up -PAd  # <strong>cvs -d $CVSROOT -q up -PAd</strong>
 </pre>  </pre></ul>
   
 </li>  </li>
 </ul>  </ul>
Line 464 
Line 477 
 To <a name=ports>use</a> <a href=ports.html>ports</a>, it is similar to src:  To <a name=ports>use</a> <a href=ports.html>ports</a>, it is similar to src:
 <ul><li>  <ul><li>
 <pre>  <pre>
 # setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs  # <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong>
 # cd /usr  # <strong>cd /usr</strong>
 # cvs -q get -PA ports  # <strong>cvs -q get -PA ports</strong>
 </pre>  </pre>
 </li>  </li>
 <li> Anytime afterwards, to `update' this tree:  <li> Anytime afterwards, to `update' this tree:
 <pre>  <pre>
 # cd /usr  # <strong>cd /usr</strong>
 # cvs -q up -PAd ports  # <strong>cvs -q up -PAd ports</strong>
 </pre>  </pre>
 </li>  </li>
 </p>  </p>
 </ul>  </ul>
   
 In the above example, '-q' is optional, only intended to minimize  In the above example, <i>-q</i> is optional, only intended to minimize
 cvs's output.  For those who like to see screenfulls of output, it  cvs's output.  For those who like to see screenfulls of output, it
 can be omitted.  can be omitted.
   
 <p>  <p>
 or to make a diff of a locally patched module (here cd.c) to include with  or to make a diff of a locally patched module (here <i>cd.c</i>) to include with
 a bug report:  a bug report:
 <pre>  <ul><pre>
 # cd /usr  # <strong>cd /usr</strong>
 # cvs diff -u src/sys/scsi/cd.c > /tmp/patch  # <strong>cvs diff -u src/sys/scsi/cd.c > /tmp/patch</strong>
 </pre>  </pre></ul>
 </p>  </p>
   
 <p>  <p>
 The CVS man page (included with the CVS sources) has much more  The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html">CVS(1) man page</a>
   (included with the CVS sources) has much more
 information about how CVS can be used.  information about how CVS can be used.
   
 <p>  <p>
Line 509 
Line 523 
 skills and high quality results they will naturally later be given  skills and high quality results they will naturally later be given
 developer access.  As well, people providing patches can create  developer access.  As well, people providing patches can create
 their "diff"s relative to the CVS tree, which will ease integration.  their "diff"s relative to the CVS tree, which will ease integration.
   
   
   <a name="WHICH"></a>
   <h3><font color=#0000e0>Use rsh(1) or ssh(1)?</font></h3>
   
 <p>  <p>
 <strong>Anoncvs: rsh vs. ssh</strong>  <strong>Anoncvs: rsh vs. ssh</strong>

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104