2003-12-10 17:38:20 +05:30
|
|
|
<!--#include file="header.html" -->
|
2001-12-08 07:38:31 +05:30
|
|
|
|
|
|
|
|
2003-12-10 17:38:20 +05:30
|
|
|
<h3>Anonymous CVS</h3>
|
2001-12-08 07:43:05 +05:30
|
|
|
|
2001-12-08 07:38:31 +05:30
|
|
|
We allow anonymous (read-only) CVS access to everyone. The first command you
|
|
|
|
need to run for anonymous CVS access is:
|
|
|
|
<pre>
|
|
|
|
cvs -d:pserver:anonymous@busybox.net:/var/cvs login</pre>
|
|
|
|
<p>
|
2001-12-20 13:34:56 +05:30
|
|
|
CVS will prompt you for a password. Just press the Enter key (there is no
|
|
|
|
password for anonymous access). This step only needs to be done once, the first
|
2001-12-08 07:38:31 +05:30
|
|
|
time you attempt to access CVS.
|
|
|
|
<p>
|
2002-03-02 21:09:06 +05:30
|
|
|
Once the login is complete, you can then check the list of available
|
|
|
|
CVS modules by running the following command (all on one line):
|
2001-12-08 07:38:31 +05:30
|
|
|
<pre>
|
|
|
|
cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -c </pre>
|
|
|
|
|
|
|
|
<p>
|
2002-03-02 21:09:06 +05:30
|
|
|
If you wish, you can then check out a local copy of any of the
|
|
|
|
available modules. The following is an example of how to grab
|
|
|
|
a copy of busybox and tinylogin:
|
2001-12-08 07:38:31 +05:30
|
|
|
<pre>
|
|
|
|
cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -P busybox tinylogin</pre>
|
|
|
|
This will create a directory called <b>busybox</b> and a directory called
|
|
|
|
<b>tinylogin</b> in the current directory. These directories contain the
|
|
|
|
latest and greatest source code for busybox and tinylogin.
|
|
|
|
|
2003-12-11 12:43:15 +05:30
|
|
|
<p>
|
|
|
|
If you are not already familiar with using CVS, I recommend you visit
|
|
|
|
this quick <a href="/cvs_howto.html">Introduction to CVS</a>.
|
|
|
|
|
2002-03-02 21:09:06 +05:30
|
|
|
<p>
|
|
|
|
I usually create a ~/.cvsrc file with the following things in it, and I
|
|
|
|
recommend you should use the same:
|
|
|
|
<pre>
|
|
|
|
-z3
|
|
|
|
update -dP
|
|
|
|
rdiff -u
|
|
|
|
diff -ubBwpN
|
|
|
|
checkout -P</pre>
|
|
|
|
|
2001-12-08 07:38:31 +05:30
|
|
|
<p>
|
|
|
|
Once you've checked out a copy of the source tree, you can update your
|
|
|
|
source tree at any time so it is in sync with the latest and greatest by
|
|
|
|
running the command:
|
|
|
|
<pre>
|
2002-03-02 21:09:06 +05:30
|
|
|
cvs update</pre>
|
2001-12-08 07:38:31 +05:30
|
|
|
|
|
|
|
Because you've only been granted anonymous access to the tree, you won't be
|
|
|
|
able to commit any changes. Changes can be submitted for inclusion by posting
|
2003-12-11 12:43:15 +05:30
|
|
|
them to the appropriate mailing list. For those that are actively contributing
|
|
|
|
<a href="cvs_write.html">CVS write access</a> can be made available.
|
2001-12-08 07:38:31 +05:30
|
|
|
|
2003-12-10 17:38:20 +05:30
|
|
|
<!--#include file="footer.html" -->
|
2001-12-08 07:38:31 +05:30
|
|
|
|