1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5 >HOWTO Access Samba source code via CVS</TITLE
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
11 TITLE="SAMBA Project Documentation"
12 HREF="samba-howto-collection.html"><LINK
14 TITLE="Optional configuration"
15 HREF="optional.html"><LINK
17 TITLE="Storing Samba's User/Machine Account information in an LDAP Directory"
18 HREF="samba-ldap-howto.html"><LINK
20 TITLE="Group mapping HOWTO"
21 HREF="groupmapping.html"></HEAD
32 SUMMARY="Header navigation table"
41 >SAMBA Project Documentation</TH
49 HREF="samba-ldap-howto.html"
63 HREF="groupmapping.html"
76 NAME="CVS-ACCESS">Chapter 20. HOWTO Access Samba source code via CVS</H1
82 NAME="AEN2964">20.1. Introduction</H1
84 >Samba is developed in an open environment. Developers use CVS
85 (Concurrent Versioning System) to "checkin" (also known as
86 "commit") new source code. Samba's various CVS branches can
87 be accessed via anonymous CVS using the instructions
88 detailed in this chapter.</P
90 >This document is a modified version of the instructions found at
92 HREF="http://samba.org/samba/cvs.html"
94 >http://samba.org/samba/cvs.html</A
102 NAME="AEN2969">20.2. CVS Access to samba.org</H1
104 >The machine samba.org runs a publicly accessible CVS
105 repository for access to the source code of several packages,
106 including samba, rsync and jitterbug. There are two main ways of
107 accessing the CVS server on this host.</P
113 NAME="AEN2972">20.2.1. Access via CVSweb</H2
115 >You can access the source code via your
116 favourite WWW browser. This allows you to access the contents of
117 individual files in the repository and also to look at the revision
118 history and commit logs of individual files. You can also ask for a diff
119 listing between any two versions on the repository.</P
122 HREF="http://samba.org/cgi-bin/cvsweb"
124 >http://samba.org/cgi-bin/cvsweb</A
132 NAME="AEN2977">20.2.2. Access via cvs</H2
134 >You can also access the source code via a
135 normal cvs client. This gives you much more control over you can
136 do with the repository and allows you to checkout whole source trees
137 and keep them up to date via normal cvs commands. This is the
138 preferred method of access if you are a developer and not
139 just a casual browser.</P
141 >To download the latest cvs source code, point your
142 browser at the URL : <A
143 HREF="http://www.cyclic.com/"
145 >http://www.cyclic.com/</A
147 and click on the 'How to get cvs' link. CVS is free software under
148 the GNU GPL (as is Samba). Note that there are several graphical CVS clients
149 which provide a graphical interface to the sometimes mundane CVS commands.
150 Links to theses clients are also available from http://www.cyclic.com.</P
152 >To gain access via anonymous cvs use the following steps.
153 For this example it is assumed that you want a copy of the
154 samba source code. For the other source code repositories
155 on this system just substitute the correct package name</P
162 > Install a recent copy of cvs. All you really need is a
163 copy of the cvs client binary.
173 >cvs -d :pserver:cvs@samba.org:/cvsroot login</B
177 > When it asks you for a password type <TT
192 >cvs -d :pserver:cvs@samba.org:/cvsroot co samba</B
196 > This will create a directory called samba containing the
197 latest samba source code (i.e. the HEAD tagged cvs branch). This
198 currently corresponds to the 3.0 development tree.
201 > CVS branches other HEAD can be obtained by using the <TT
207 and defining a tag name. A list of branch tag names can be found on the
208 "Development" page of the samba web site. A common request is to obtain the
209 latest 2.2 release code. This could be done by using the following command.
214 >cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba</B
220 > Whenever you want to merge in the latest code changes use
221 the following command from within the samba directory:
239 SUMMARY="Footer navigation table"
250 HREF="samba-ldap-howto.html"
259 HREF="samba-howto-collection.html"
268 HREF="groupmapping.html"
278 >Storing Samba's User/Machine Account information in an LDAP Directory</TD
292 >Group mapping HOWTO</TD