Eric Andersen | 539eef6 | 2003-12-10 12:08:20 +0000 | [diff] [blame] | 1 | <!--#include file="header.html" --> |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 2 | |
| 3 | |
Eric Andersen | 539eef6 | 2003-12-10 12:08:20 +0000 | [diff] [blame] | 4 | <h3>Anonymous CVS</h3> |
Eric Andersen | a2e6908 | 2001-12-08 02:13:05 +0000 | [diff] [blame] | 5 | |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 6 | We allow anonymous (read-only) CVS access to everyone. The first command you |
| 7 | need to run for anonymous CVS access is: |
| 8 | <pre> |
| 9 | cvs -d:pserver:anonymous@busybox.net:/var/cvs login</pre> |
| 10 | <p> |
Eric Andersen | 5a841ad | 2001-12-20 08:04:56 +0000 | [diff] [blame] | 11 | CVS will prompt you for a password. Just press the Enter key (there is no |
| 12 | password for anonymous access). This step only needs to be done once, the first |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 13 | time you attempt to access CVS. |
| 14 | <p> |
Eric Andersen | 49da8a8 | 2002-03-02 15:39:06 +0000 | [diff] [blame] | 15 | Once the login is complete, you can then check the list of available |
| 16 | CVS modules by running the following command (all on one line): |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 17 | <pre> |
| 18 | cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -c </pre> |
| 19 | |
| 20 | <p> |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 21 | If you wish, you can then check out a local copy of any of the |
| 22 | available modules. The following is an example of how to grab |
Eric Andersen | 49da8a8 | 2002-03-02 15:39:06 +0000 | [diff] [blame] | 23 | a copy of busybox and tinylogin: |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 24 | <pre> |
| 25 | cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -P busybox tinylogin</pre> |
| 26 | This will create a directory called <b>busybox</b> and a directory called |
| 27 | <b>tinylogin</b> in the current directory. These directories contain the |
| 28 | latest and greatest source code for busybox and tinylogin. |
| 29 | |
Eric Andersen | 49da8a8 | 2002-03-02 15:39:06 +0000 | [diff] [blame] | 30 | <p> |
Eric Andersen | 5b8a594 | 2003-12-11 07:13:15 +0000 | [diff] [blame] | 31 | If you are not already familiar with using CVS, I recommend you visit |
| 32 | this quick <a href="/cvs_howto.html">Introduction to CVS</a>. |
| 33 | |
| 34 | <p> |
Eric Andersen | 49da8a8 | 2002-03-02 15:39:06 +0000 | [diff] [blame] | 35 | I usually create a ~/.cvsrc file with the following things in it, and I |
| 36 | recommend you should use the same: |
| 37 | <pre> |
| 38 | -z3 |
| 39 | update -dP |
| 40 | rdiff -u |
| 41 | diff -ubBwpN |
| 42 | checkout -P</pre> |
| 43 | |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 44 | <p> |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 45 | Once you've checked out a copy of the source tree, you can update your |
| 46 | source tree at any time so it is in sync with the latest and greatest by |
| 47 | running the command: |
| 48 | <pre> |
Eric Andersen | 49da8a8 | 2002-03-02 15:39:06 +0000 | [diff] [blame] | 49 | cvs update</pre> |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 50 | |
| 51 | Because you've only been granted anonymous access to the tree, you won't be |
| 52 | able to commit any changes. Changes can be submitted for inclusion by posting |
Eric Andersen | 5b8a594 | 2003-12-11 07:13:15 +0000 | [diff] [blame] | 53 | them to the appropriate mailing list. For those that are actively contributing |
| 54 | <a href="cvs_write.html">CVS write access</a> can be made available. |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 55 | |
Eric Andersen | 539eef6 | 2003-12-10 12:08:20 +0000 | [diff] [blame] | 56 | <!--#include file="footer.html" --> |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 57 | |