cvs_anon.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <HTML>
  3. <HEAD>
  4. <title>uClibc Anonymous CVS Instructions</title>
  5. </HEAD>
  6. <body text="#000000" alink="#660000" link="#660000" bgcolor="#dee2de" vlink="#660000">
  7. <basefont face="lucida, helvetica, arial" size="3">
  8. <H3>Accessing the uClibc CVS Repository</H3>
  9. <CENTER>
  10. <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
  11. <TR>
  12. <td bgcolor="#000000">
  13. <FONT FACE="lucida, helvetica" COLOR="#ccccc0">
  14. <B>u&nbsp;C&nbsp;l&nbsp;i&nbsp;b&nbsp;c</B>
  15. </FONT>
  16. </TD>
  17. </TR>
  18. </TABLE>
  19. </CENTER>
  20. <TABLE WIDTH="95%" CELLSPACING=1 CELLPADDING=4 BORDER=1>
  21. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  22. <A NAME="intro"> <BIG><B>
  23. Anonymous CVS
  24. </B></BIG></A>
  25. </TD></TR>
  26. <TR><TD BGCOLOR="#eeeee0">
  27. We allow anonymous (read-only) CVS access to everyone. The first command you
  28. need to run for anonymous CVS access is:
  29. <pre>
  30. cvs -d:pserver:anonymous@uclibc.org:/var/cvs login</pre>
  31. <p>
  32. CVS will prompt you for a password. Just press Enter. This step only
  33. needs to be done once, the first time you attempt to access CVS.
  34. <p>
  35. Once the login is complete, you can then check the list of available
  36. CVS modules by running the following command (all on one line):
  37. <pre>
  38. cvs -z3 -d:pserver:anonymous@uclibc.org:/var/cvs co -c </pre>
  39. <p>
  40. If you wish, you can then check out a local copy of any of the
  41. available modules. The following is an example of how to grab
  42. a copy of the uClibc source code:
  43. <pre>
  44. cvs -z3 -d:pserver:anonymous@uclibc.org:/var/cvs co -P uClibc</pre>
  45. This will create a directory called <b>uClibc</b> in the current
  46. directory which contains the latest and greatest source code for
  47. uClibc.
  48. <p>
  49. I usually create a ~/.cvsrc file with the following things in it, and I
  50. recommend you should use the same:
  51. <pre>
  52. -z3
  53. update -dP
  54. rdiff -u
  55. diff -ubBwpN
  56. checkout -P</pre>
  57. <p>
  58. Once you've checked out a copy of the source tree, you can update your
  59. source tree at any time so it is in sync with the latest and greatest by
  60. running the command:
  61. <pre>
  62. cvs update</pre>
  63. Because you've only been granted anonymous access to the tree, you won't be
  64. able to commit any changes. Changes can be submitted for inclusion by posting
  65. them to the appropriate <a
  66. href="http://www.uclibc.org/mailman/listinfo/uclibc">mailing list</a>.
  67. <!-- End of Table -->
  68. </TD></TR>
  69. </TABLE>
  70. <TABLE WIDTH="95%" CELLSPACING=1 CELLPADDING=4 BORDER=1>
  71. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  72. <A NAME="howto"> <BIG><B>
  73. How to use CVS
  74. </B></BIG></A>
  75. </TD></TR>
  76. <TR><TD BGCOLOR="#eeeee0">
  77. If you want to know all the gory details, you will want to visit
  78. <a href="http://www.cvshome.org/">the CVS main web page</a>.<p>
  79. For the impatient, the following is probably about all you need to know:
  80. <p>
  81. <dl>
  82. <dt><pre>cvs checkout -c</pre>
  83. <dd>Will list the modules available for checkout
  84. <dt><pre>cvs checkout &lt module name &gt</pre>
  85. <dd>Will checkout the named module
  86. <dt><pre>cvs co &lt module name &gt</pre>
  87. <dd>Same thing
  88. <dt><pre>cvs update</pre>
  89. <dd>Updates your local archive so it is in sync with the repository
  90. -- your local updates are left intact. Tries to merge upstream updates
  91. into your local updates. You will see the following tags when it is
  92. updating your local repository: C means conflict, U means update,
  93. P means patched, and M means modified.
  94. <dt><pre>cvs up</pre>
  95. <dd>Same thing
  96. <dt><pre>cvs update &lt file name &gt</pre>
  97. <dd>Same thing but for just the named file(s)/directory(s).
  98. <dt><pre>cvs commit</pre>
  99. <dd>Will check in all your work.
  100. <dt><pre>cvs add &lt file name &gt</pre>
  101. <dd>Adds the named file/directory into CVS
  102. <dt><pre>cvs remove &lt file name &gt</pre>
  103. <dd>Removes the named file/directory from the upstream repository.
  104. <dt><pre>cvs rm &lt file name &gt</pre>
  105. <dd>Same thing
  106. <dt><pre>cvs log &lt file name &gt</pre>
  107. <dd>Gives you the complete version history of what has happened to the named file(s).
  108. Along with all tags, all commit messages, etc...
  109. <dt><pre>cvs status &lt file name &gt</pre>
  110. <dd>Gives you the current version number of the file(s) in question.
  111. <dt><pre>cvs tag TAGNAME</pre>
  112. <dd>Tags the versions of everything in the repository with the TAGNAME label.
  113. <dt><pre>cvs tag TAGNAME &lt file name &gt</pre>
  114. <dd>Tags the named file(s) in the repository with the TAGNAME label.
  115. <dt><pre>cvs diff</pre>
  116. <dd>Gives you the difference between the local repository and the upstream repository.
  117. <dt><pre>cvs diff &lt file name &gt</pre>
  118. <dd>Same but for the named file(s).
  119. <dt><pre>cvs diff -r 1.5 &lt file name &gt</pre>
  120. <dd>Same but gives you the difference between the named file(s) and
  121. version 1.5 of the named file(s).
  122. <dt><pre>cvs diff -r TAGNAME &lt file name &gt</pre>
  123. <dd>Same but gives you the difference between the named file(s) and the
  124. of the file tagged TAGNAME in the upstream repository.
  125. <dt><pre>cvs rdiff -r TAGNAME module</pre>
  126. <dd>Gives you a diff (that you can actually use with patch) between the current
  127. version of module and the specified tagged version.
  128. <dt><pre>cvs import &lt directory to import &gt &lt name for new module &gt start</pre>
  129. <dd>Add a new module into the CVS archive.
  130. <p>
  131. </dl>
  132. <!-- End of Table -->
  133. </TD></TR>
  134. </TABLE>
  135. <!-- Footer -->
  136. <HR>
  137. <TABLE WIDTH="100%">
  138. <TR>
  139. <TD>
  140. <font size="-1" face="arial, helvetica, sans-serif">
  141. Mail all comments, insults, suggestions and bribes to
  142. <a href="mailto:andersen@codepoet.org">Erik Andersen</a><BR>
  143. </font>
  144. </TD>
  145. <TD>
  146. <a href="http://www.vim.org"><img border=0 width=90 height=36
  147. src="images/written.in.vi.png"
  148. alt="This site created with the vi editor"></a>
  149. </TD>
  150. <TD>
  151. <a href="http://www.gimp.org/"><img border=0 width=90 height=36
  152. src="images/gfx_by_gimp.png" alt="Graphics by GIMP"></a>
  153. </TD>
  154. <TD>
  155. <a href="http://www.linuxtoday.com"><img width=90 height=36
  156. src="images/ltbutton2.png" alt="Linux Today"></a>
  157. </TD>
  158. <TD>
  159. <p><a href="http://slashdot.org"><img width=90 height=36
  160. src="images/sdsmall.png" alt="Slashdot"></a>
  161. </TD>
  162. <TD>
  163. <a href="http://freshmeat.net"><img width=90 height=36
  164. src="images/fm.mini.png" alt="Freshmeat"></a>
  165. </TD>
  166. </TR>
  167. </TABLE>
  168. </BODY>
  169. </HTML>