Accessing the Busybox CVS Repository

B u s y B o x
BusyBox
Anonymous CVS
We allow anonymous (read-only) CVS access to everyone. The first command you need to run for anonymous CVS access is:
cvs -d:pserver:anonymous@busybox.net:/var/cvs login

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 time you attempt to access CVS.

Once the login is complete, you can then check the list of available CVS modules by running the following command (all on one line):

cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -c 

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:

    cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -P busybox tinylogin
This will create a directory called busybox and a directory called tinylogin in the current directory. These directories contain the latest and greatest source code for busybox and tinylogin.

I usually create a ~/.cvsrc file with the following things in it, and I recommend you should use the same:

    -z3
    update -dP
    rdiff -u
    diff -ubBwpN
    checkout -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:

cvs update
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 them to the appropriate mailing list.
How to use CVS
If you want to know all the gory details, you will want to visit the CVS main web page.

For the impatient, the following is probably about all you need to know:

cvs checkout -c
Will list the modules available for checkout
cvs checkout < module name >
Will checkout the named module
cvs co < module name >
Same thing
cvs update
Updates your local archive so it is in sync with the repository -- your local updates are left intact. Tries to merge upstream updates into your local updates. You will see the following tags when it is updating your local repository: C means conflict, U means update, P means patched, and M means modified.
cvs up
Same thing
cvs update < file name >
Same thing but for just the named file(s)/directory(s).
cvs commit
Will check in all your work.
cvs add < file name >
Adds the named file/directory into CVS
cvs remove < file name >
Removes the named file/directory from the upstream repository.
cvs rm < file name >
Same thing
cvs log < file name >

Mail all comments, insults, suggestions and bribes to Erik Andersen
The Busybox logo is copyright 1999-2003, Erik Andersen.
This site created with the vi editor Graphics by GIMP Linux Today

Slashdot

Freshmeat