summaryrefslogtreecommitdiff
path: root/docs/textdocs/CVS_ACCESS.txt
blob: 212d9a235a2d0fddd6ee84430d86982a84a06b9c (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
!==
!== CVS_ACCESS.txt for Samba release 2.0.0-alpha6 19 Sep 1998
!==
Contributor:    Modified from the Web pages by Jeremy Allison.
Date:           23 Dec 1997
Status:         Current

How to get access to Samba source code via cvs.
===============================================

CVS Access to samba.anu.edu.au
------------------------------

The machine samba.anu.edu.au runs a publicly accessible CVS 
repository for access to the source code of several packages, 
including samba, rsync and jitterbug. This document describes 
how to get anonymous read-only access to this source code. 

Access via cvsweb
-----------------

You can access the source code via your favourite WWW browser. 
This allows you to access the contents of individual files in 
the repository and also to look at the revision history and 
commit logs of individual files. You can also ask for a diff 
listing between any two versions on the repository.

Use the URL : http://samba.anu.edu.au/cgi-bin/cvsweb

Access via cvs
--------------

You can also access the source code via a normal cvs client. 
This gives you much more control over you can do with the 
repository and allows you to checkout whole source trees 
and keep them uptodate via normal cvs commands. This is the 
preferred method of access if you are a developer and not
just a casual browser.

To download the latest cvs source code, point your
browser at the URL :

http://www.cyclic.com/

and click on the 'How to get cvs' link. CVS is free
software under the GNU GPL (as is Samba).

To gain access via anonymous cvs use the following steps. 
For this example it is assumed that you want a copy of the 
samba source code. For the other source code repositories 
on this system just substitute the correct package name

1. Install a recent copy of cvs. All you really need is a 
  copy of the cvs client binary. 

2. Run the command 

  cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot login

When it asks you for a password type 'cvs' (not including
the quotes).

3. Run the command 

  cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot co samba

This will create a directory called samba containing the 
latest samba source code. This currently corresponds to the 
1.9.18alpha development tree. 

4. Whenever you want to merge in the latest code changes use 
the following command from within the samba directory: 

  cvs update -d -P

NOTE: If you instead want the latest source code for the 
1.9.17 stable tree then replace step 4 with the command: 

  cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot co -r BRANCH_1_9_17 samba

Access to the NT DOMAIN Controller code
---------------------------------------

The Samba PDC code is being separately developed on a
branch named BRANCH_NTDOM. To gain access to the latest
source code (this changes daily) do the following:

1). Log onto cvs 

  cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot login          
  
When it asks you for a password type 'cvs' (not including
the quotes).

2). Check out the BRANCH_NTDOM by typing :

  cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot co -r BRANCH_NTDOM samba

This will create a directory called samba containing the
latest snapshot of the domain controller code.

3). To keep this code up to date after it has been
changed in the cvs repository, cd into the samba
directory you created above and type :

  cvs update -d -P

How it's done.
--------------

If you are interested in how anonymous cvs access is set up and 
want to set it up on your own system then you might like to checkout 
the pserver source code using the the command :

 cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot co pserver

You really have to know what you are doing to do this. Please don't 
email samba-bugs with basic cvs or unix security questions. 

Reporting problems.
-------------------

If you have any problems with this system please email 
samba-bugs@samba.anu.edu.au.