summaryrefslogtreecommitdiff
path: root/CvsRepository.mdwn
blob: 818e005dc3f12dba1609a24af9370f6294f1cdcc (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
The DRI project has moved its CVS services to [[http://dri.freedesktop.org/|http://dri.freedesktop.org/]] , to reduce the pains related to [[SourceForge|SourceForge]]'s overloaded CVS services.  The DRI project's CVS tree remains the upstream provider of the DRM (and is thus what is referred to as "DRM CVS"), but the xc tree is now obsolete and X.Org is the canonical source of DRI-enabled DDX drivers and GLX support. 

To check out DRM CVS from freedesktop.org anonymously, first you must login: 

    cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri login

Hit `Enter` for the password. 

Then, check out the `drm` module: 

    cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri co drm

If you wish to check out a [[branch|CvsBranches]] of the old `xc` DRI CVS, use the `-r tag`, e.g.: 

    cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri co -rmach64-0-0-6-branch xc

You'll also need a copy of the Mesa CVS tree: 

    cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/mesa login    
    cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/mesa co Mesa

If you are a developer, CVS access is through ssh. Set `CVS_RSH=ssh` in your environment. Then, you can check out using 

    cvs -z3 -d:ext:username@dri.freedesktop.org:/cvs/dri co xc
    cvs -z3 -d:ext:username@dri.freedesktop.org:/cvs/dri co drm
    cvs -z3 -d:ext:username@dri.freedesktop.org:/cvs/mesa co Mesa

---

Parameter Overview: 

    SERVER=dri.freedesktop.org
    USER=anonymous
    PASSWORD=
    
    PROJECT_HOME=cvs
    PROJECT=dri
    
    MODULE=xc
    # other modules: something 
    
    BRANCH=              
    #BRANCH="-r something"

---

Generic Usage: 

    CVSROOT=:pserver:$USER@$SERVER:/$PROJECT_HOME/$PROJECT
    export CVSROOT
    cvs login
    if [ ! -e $MODULE ]
    then
            cvs checkout $BRANCH $MODULE
    else
            cvs update -d -A -P $BRANCH $MODULE
    fi
    cvs logout

---

See CVSup, [[CvsPolicy|CvsPolicy]], and [[CvsBranches|CvsBranches]] for more information on using the DRI CVS repository.