2001-12-08 07:38:31 +05:30
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
|
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
|
|
<title>BusyBox Anonymous CVS Instructions</title>
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
<body text="#000000" alink="#660000" link="#660000" bgcolor="#dee2de" vlink="#660000">
|
|
|
|
|
|
|
|
<basefont face="lucida, helvetica, arial" size="3">
|
|
|
|
|
|
|
|
|
2001-12-08 07:44:02 +05:30
|
|
|
<H3>Accessing the Busybox CVS Repository</H3>
|
|
|
|
|
2001-12-08 07:38:31 +05:30
|
|
|
<CENTER>
|
|
|
|
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
|
|
|
|
<TR>
|
|
|
|
<td bgcolor="#000000">
|
|
|
|
<FONT FACE="lucida, helvetica" COLOR="#ccccc0">
|
|
|
|
<B>B u s y B o x</B>
|
|
|
|
</FONT>
|
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
<a href="/"><IMG SRC="images/busybox2.jpg" alt="BusyBox" border="0" width="360" height="230"></a><BR>
|
|
|
|
|
|
|
|
|
2001-12-08 07:40:37 +05:30
|
|
|
</CENTER>
|
2001-12-08 07:38:31 +05:30
|
|
|
|
2001-12-08 07:43:05 +05:30
|
|
|
<TABLE WIDTH="95%" CELLSPACING=1 CELLPADDING=4 BORDER=1>
|
|
|
|
<TR><TD BGCOLOR="#ccccc0" ALIGN=center>
|
|
|
|
<A NAME="intro"> <BIG><B>
|
|
|
|
Anonymous CVS
|
|
|
|
</B></BIG></A>
|
|
|
|
</TD></TR>
|
|
|
|
<TR><TD BGCOLOR="#eeeee0">
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
them to the appropriate <a href="http://busybox.net/mailman/listinfo">mailing list</a>.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- End of Table -->
|
|
|
|
|
|
|
|
</TD></TR>
|
|
|
|
</TABLE>
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-11-08 06:03:02 +05:30
|
|
|
<TABLE WIDTH="95%" CELLSPACING=1 CELLPADDING=4 BORDER=1>
|
|
|
|
<TR><TD BGCOLOR="#ccccc0" ALIGN=center>
|
|
|
|
<A NAME="howto"> <BIG><B>
|
|
|
|
How to use CVS
|
|
|
|
</B></BIG></A>
|
|
|
|
</TD></TR>
|
|
|
|
<TR><TD BGCOLOR="#eeeee0">
|
|
|
|
|
|
|
|
|
|
|
|
If you want to know all the gory details, you will want to visit
|
|
|
|
<a href="http://www.cvshome.org/">the CVS main web page</a>.<p>
|
|
|
|
For the impatient, the following is probably about all you need to know:
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt><pre>cvs checkout -c</pre>
|
|
|
|
<dd>Will list the modules available for checkout
|
|
|
|
<dt><pre>cvs checkout < module name ></pre>
|
|
|
|
<dd>Will checkout the named module
|
|
|
|
<dt><pre>cvs co < module name ></pre>
|
|
|
|
<dd>Same thing
|
|
|
|
<dt><pre>cvs update</pre>
|
|
|
|
|
|
|
|
<dd>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.
|
|
|
|
<dt><pre>cvs up</pre>
|
|
|
|
<dd>Same thing
|
|
|
|
<dt><pre>cvs update < file name ></pre>
|
|
|
|
<dd>Same thing but for just the named file(s)/directory(s).
|
|
|
|
<dt><pre>cvs commit</pre>
|
|
|
|
<dd>Will check in all your work.
|
|
|
|
<dt><pre>cvs add < file name ></pre>
|
|
|
|
|
|
|
|
<dd>Adds the named file/directory into CVS
|
|
|
|
<dt><pre>cvs remove < file name ></pre>
|
|
|
|
<dd>Removes the named file/directory from the upstream repository.
|
|
|
|
<dt><pre>cvs rm < file name ></pre>
|
|
|
|
<dd>Same thing
|
|
|
|
<dt><pre>cvs log < file name ></pre>
|
|
|
|
|
|
|
|
<!-- End of Table -->
|
|
|
|
|
|
|
|
</TD></TR>
|
|
|
|
</TABLE>
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-12-08 07:38:31 +05:30
|
|
|
<!-- Footer -->
|
|
|
|
<HR>
|
|
|
|
<TABLE WIDTH="100%">
|
|
|
|
<TR>
|
|
|
|
<TD>
|
|
|
|
<font size="-1" face="arial, helvetica, sans-serif">
|
|
|
|
Mail all comments, insults, suggestions and bribes to
|
|
|
|
<a href="mailto:andersen@codepoet.org">Erik Andersen</a><BR>
|
2003-11-08 06:03:02 +05:30
|
|
|
The Busybox logo is copyright 1999-2003, Erik Andersen.
|
2001-12-08 07:38:31 +05:30
|
|
|
</font>
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
<TD>
|
|
|
|
<a href="http://www.vim.org"><img border=0 width=90 height=36
|
|
|
|
src="images/written.in.vi.png"
|
|
|
|
alt="This site created with the vi editor"></a>
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
<TD>
|
|
|
|
<a href="http://www.gimp.org/"><img border=0 width=90 height=36
|
|
|
|
src="images/gfx_by_gimp.png" alt="Graphics by GIMP"></a>
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
<TD>
|
|
|
|
<a href="http://www.linuxtoday.com"><img width=90 height=36
|
|
|
|
src="images/ltbutton2.png" alt="Linux Today"></a>
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
<TD>
|
|
|
|
<p><a href="http://slashdot.org"><img width=90 height=36
|
|
|
|
src="images/sdsmall.png" alt="Slashdot"></a>
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
<TD>
|
|
|
|
<a href="http://freshmeat.net"><img width=90 height=36
|
|
|
|
src="images/fm.mini.png" alt="Freshmeat"></a>
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
|
|
|
|
|
|
|
|
</BODY>
|
|
|
|
</HTML>
|
|
|
|
|
|
|
|
|