aboutsummaryrefslogtreecommitdiff
path: root/docs/busybox.net/cvs_anon.html
blob: f6d7415d8952091cdddee41b433b5b4580af0944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!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">


<H3>Accessing the Busybox CVS Repository</H3>

<CENTER>
      <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
	    <TR>
		<td bgcolor="#000000">
		  <FONT FACE="lucida, helvetica" COLOR="#ccccc0">
		      <B>B&nbsp;u&nbsp;s&nbsp;y&nbsp;B&nbsp;o&nbsp;x</B>
		  </FONT>
		</TD>
	    </TR>
      </TABLE>
      <a href="/"><IMG SRC="images/busybox2.jpg" alt="BusyBox" border="0" width="360" height="230"></a><BR>


</CENTER>

<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">

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>
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.
<p>
Once the login is complete, you can then check the list of available
CVS modules by running the following command (all on one line):
<pre>
cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -c </pre>

<p>
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:
<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.

<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>

<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>
cvs update</pre>

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>



<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 &lt module name &gt</pre> 
    <dd>Will checkout the named module
    <dt><pre>cvs co &lt module name &gt</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 &lt file name &gt</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 &lt file name &gt</pre>

    <dd>Adds the named file/directory into CVS
    <dt><pre>cvs remove &lt file name &gt</pre>
    <dd>Removes the named file/directory from the upstream repository.
    <dt><pre>cvs rm &lt file name &gt</pre>
    <dd>Same thing
    <dt><pre>cvs log &lt file name &gt</pre>

<!-- End of Table -->

</TD></TR>
</TABLE>



<!-- 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>
	    The Busybox logo is copyright 1999-2003, Erik Andersen.
	    </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>