info-cvs
[Top][All Lists]
Advanced

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

Re: Obtaining the CVS repository code in read-only form.


From: Todd Denniston
Subject: Re: Obtaining the CVS repository code in read-only form.
Date: Tue, 19 Aug 2008 09:51:55 -0400
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Gaurav Chhabra wrote, On 08/19/2008 07:21 AM:
 Hi,



There are two developers A & B working on a java project. They are using
only NetBeans IDE for accessing CVS repository. They can't access the CVS
repository using command line. Developer A has been working on the project
from start. Developer B is allocated to the same project later.

I have two queries based on the scenario described above:

Q. 1) I want that developer B should get a read-only copy of the source
code. Can he get that without using the checkout option? I am asking this
because checkout of a source code will automatically provide developer B
with an option of checking in some file(s) after modification, which I don't
want to happen. If developer B really wants to modify some file, he should
explicitly 'checkout' only that particular file from the CVS repository.
Also, I want that he should be able to get the central repository updates to
local read-only files. Is this possible?

Q. 2) If developer A has created two .html files and developer B wants to
create .js files for the same then developer B should be able to get the
read-only .html files of developer A so that he can create corresponding .js
files. If later, developer A creates one more .html file and updates it in
the central repository, then developer B should be able to get a read-only
copy of the new file in his local work area. Is this possible?


If I have to install some extra software on their (developer A & B) machines
to achieve this, then kindly advise for that too.




Regards,
Gaurav


For the URLs below, please download http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.22/cederqvist-1.11.22.html.tar.bz2
to your home directory and put a copy of it in /tmp.
cd /tmp
tar -xjvf cederqvist-1.11.22.html.tar.bz2

You are looking for LockDir=directory
file:///tmp/cederqvist-1.11.22.html/cvs_18.html#IDX282

dev A needs read AND write access to all the DIRECTORIES of the repository.
dev B needs read access to all the DIRECTORIES of the repository.

dev A and dev B need read AND write access to the directory pointed to by 
LockDir.

with out write access to the directories of the repository, dev B can not 
commit.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

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