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 | 49da8a8 | 2002-03-02 15:39:06 +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 |
| 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> |
| 31 | I usually create a ~/.cvsrc file with the following things in it, and I |
| 32 | recommend you should use the same: |
| 33 | <pre> |
| 34 | -z3 |
| 35 | update -dP |
| 36 | rdiff -u |
| 37 | diff -ubBwpN |
| 38 | checkout -P</pre> |
| 39 | |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 40 | <p> |
| 41 | Once you've checked out a copy of the source tree, you can update your |
| 42 | source tree at any time so it is in sync with the latest and greatest by |
| 43 | running the command: |
| 44 | <pre> |
Eric Andersen | 49da8a8 | 2002-03-02 15:39:06 +0000 | [diff] [blame] | 45 | cvs update</pre> |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 46 | |
| 47 | Because you've only been granted anonymous access to the tree, you won't be |
| 48 | able to commit any changes. Changes can be submitted for inclusion by posting |
Eric Andersen | 539eef6 | 2003-12-10 12:08:20 +0000 | [diff] [blame^] | 49 | them to the appropriate mailing list. |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 50 | |
Eric Andersen | 539eef6 | 2003-12-10 12:08:20 +0000 | [diff] [blame^] | 51 | <!--#include file="footer.html" --> |
Eric Andersen | dec4343 | 2001-12-08 02:08:31 +0000 | [diff] [blame] | 52 | |