summaryrefslogtreecommitdiff
path: root/docs/uclibc.org/cvs_anon.html
blob: 388626f3977d27ce2635d7e81d5b8beeaaf8d412 (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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> 

<HTML>
<HEAD>
<title>uClibc 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 uClibc CVS Repository</H3>

<CENTER>
      <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
	    <TR>
		<td bgcolor="#000000">
		  <FONT FACE="lucida, helvetica" COLOR="#ccccc0">
		      <B>u&nbsp;C&nbsp;l&nbsp;i&nbsp;b&nbsp;c</B>
		  </FONT>
		</TD>
	    </TR>
      </TABLE>


</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@uclibc.org:/var/cvs login</pre>
<p>
CVS will prompt you for a password.  Just press Enter.  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@uclibc.org:/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 the uClibc source code:
<pre>
    cvs -z3 -d:pserver:anonymous@uclibc.org:/var/cvs co -P uClibc</pre>
This will create a directory called <b>uClibc</b> in the current 
directory which contains the latest and greatest source code for
uClibc.

<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://www.uclibc.org/mailman/listinfo/uclibc">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>

    <dd>Gives you the complete version history of what has happened to the named file(s).  
    Along with all tags, all commit messages, etc...
    <dt><pre>cvs status &lt file name &gt</pre>
    <dd>Gives you the current version number of the file(s) in question.
    <dt><pre>cvs tag TAGNAME</pre>
    <dd>Tags the versions of everything in the repository with the TAGNAME label.
    <dt><pre>cvs tag TAGNAME &lt file name &gt</pre>
    <dd>Tags the named file(s) in the repository with the TAGNAME label.
    <dt><pre>cvs diff</pre>

    <dd>Gives you the difference between the local repository and the upstream repository.
    <dt><pre>cvs diff &lt file name &gt</pre>
    <dd>Same but for the named file(s).
    <dt><pre>cvs diff -r 1.5 &lt file name &gt</pre>
    <dd>Same but gives you the difference between the named file(s) and 
    version 1.5 of the named file(s).
    <dt><pre>cvs diff -r TAGNAME &lt file name &gt</pre>

    <dd>Same but gives you the difference between the named file(s) and the 
    of the file tagged TAGNAME in the upstream repository.
    <dt><pre>cvs rdiff -r TAGNAME module</pre>
    <dd>Gives you a diff (that you can actually use with patch) between the current 
    version of module and the specified tagged version.
    <dt><pre>cvs import &lt directory to import &gt &lt name for new module &gt start</pre>
    <dd>Add a new module into the CVS archive.
    <p> 

</dl>

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