info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help Using CVS


From: Sadia Tahseen
Subject: Help Using CVS
Date: Sun, 30 Mar 2008 22:15:32 -0700 (PDT)

Hi Todd and Bob,
  Thanks a lot for the help you offered me toward setting up CVS repository.I think it is set up in our system.I would be really thankful if you further guide me in Using CVS.I wanted to tell you what I did to make the Repository  projectdir which contains CVS and mydate on workstation and mydate on cvs_server.I have even made clear of certain questions which were unanswered in my previous mails.

as root on the cvs_server:
edit /etc/group and add a group for your cvs work, i.e. add a line similar to the one of the following:
users:x:100:sadia,user1,user2,user3
sadiascvsgroup:x:800:sadia,user1,user2,user3,userN
chown sadia:sadiascvsgroup /appl/src/cvs/


then as
 sadia on cvs_server:
cd /appl/src/cvs/
mkdir JavaAppl
pwd #assumption it returns /appl/src/cvs/
export CVSROOT=/appl/src/cvs/JavaAppl
cvs init

<root on cvs_server ,set the foll permissions>
mkdir JavaAppl/projectdir
chown :sadiascvsgroup JavaAppl/projectdir
chmod g+rws JavaAppl/projectdir
#you'll want to tighten up security on the following directory later.
chown :sadiascvsgroup JavaAppl/CVSROOT
chmod g+rws JavaAppl/CVSROOT


then as sadia on a_workstation:
export CVSROOT=:ext:cvs_server:/appl/src/cvs/JavaAppl
export CVS_RSH=ssh
cvs checkout projectdir
date > projectdir/mydate /*cd projectdir*/
cvs add mydate
cvs commit -m"a comment" mydate

OUTPUT AFTER cvs commit:

RCS file: /appl/src/cvs/JavaAppl/projectdir/mydate,v
done
Checking in mydate;
/appl/src/cvs/JavaAppl/projectdir/mydate,v <-- mydate
initial revision: 1.1
done

address@hidden ~]$ ls -ld ~/projectdir/
drwxr-xr-x 3 sadia users 4096 Mar 17 2008 /users/sadia/projectdir/
address@hidden ls -l ~/projectdir/
total 16
drwxr-xr-x 2 sadia users 4096 Mar 17 2008 CVS
-rw-r--r-- 1 sadia users 29 Mar 17 2008 mydate


<sadia said>
As I have no idea using CVS,Could be more elaborate on what the users should do to start working on the projects.Could you please guide me as a user in starting and working on projects using CVS.What should I do after the following 4 commands on terminals to get started working using CVS

as user1 on another_workstation:
export CVSROOT=:ext:cvs_server:/appl/src/cvs/JavaAppl
export CVS_RSH=ssh
cvs checkout projectdir


Changes I made:
I haven't changed the permissions ,so I made root only do the chown and chmod
I changed into the projectdir on workstation and user sadia to type
cvs add and cvs commit commands
To retain the change even on the server side ,so that every time I log in I do not have to make any changes.

<todd said>
If you are using NIS/LDAP then all the clients have the same user names, passwords and groups.
But you have not indicated that the systems are using NIS/LDAP or independent user authentication/authorization configurations.
</todd said>
<sadia said>
I AM NOT USING NIS/LDAP ,SORRY FOR MY PREVIOUS MAIL.I AM USING NFS AND EACH USER HAS AN INDEPENDANT USER AUTHENTICATION TO ACCESS THE SYSTEMS IN NETWORK.THERE ARE 4 RHL SYSTEMS(1 server and 3 clients) CONNECTED IN NETWORK AND
THERE IS SUN GRID CLUSTER SOFTWARE INSTALLED .


I would like to get your support and help for further working of projects on CVS.

Thank you
Sadia


OMG, Sweet deal for Yahoo! users/friends: Get A Month of Blockbuster Total Access, No Cost. W00t
reply via email to

[Prev in Thread] Current Thread [Next in Thread]