Re: [CVS] can't find users list
Re: [CVS] can't find users list
- Subject: Re: [CVS] can't find users list
- From: Dennis Jones <email@hidden>
- Date: Thu, 18 Mar 2004 17:47:20 -0800
But I can't find the users list on terminal and can't run 'cvs
init'...
Well until you get cvs init to run you don't have a cvs repository :-)
you better get that working first.
Here is some info that you may find helpful once you have init'd your
cvs repository.
If you like you can also set it up without giving users direct access
to your/the machine. I setup our cvs server here at Dantz a while back
(6 years ago) on a linux box, which should be close enough to setup on
an OS X box. I can not recall the exact details but we have a passwd
file in the CVSROOT directory that looks something like the following.
tom:<encypted password>:builder
pete:<encypted password>:qa
lou:<encypted password>:qa
steve:<encypted password>:qa
ben:<encypted password>:programmer
frank:<encypted password>:programmer
joe:<encypted password>:programmer
The passwd file is respected when there is a login by a user, and the
user will only have the rights assigned to the particular login
account. So in my above snippit programmer, qa, builder are accounts on
the remote cvs system that are limited to access via pserver only (see
below regarding pserver). So when frank checks something in, or obtains
source code, he has the rights of the programmer account on the cvs
server. Where as pete has the qa rights, lou has qa rights, etc.
The <encypted password> part is the encrypted password you will give
each user.You can generate this encrypted password with the following
perl snip.
perl -e 'print crypt "<some password here>", "<some text here>"'
so for password "maximus"
perl -e 'print crypt "maximus", "password for joe"'
To control access to individual source directories in the repository
create groups, cvs will respect these.
Here is an excerpt from our cvs servers groups file as an example.
maints:x:514:admin
sources:x:515:admin,programmer,builder
texts:x:516:admin,programmer,builder,editor
builds:x:517:admin,programmer,builder,editor,browser
utils:x:518:admin,programmer,builder,editor,browser
cvsadmin:x:519:joe,frank
here is an excerpt from our repository.
drwxrwsr-x 15 admin texts 4096 Mar 11 15:28 documents
drwxrws--- 4 admin sources 4096 Mar 15 2002 mac_sources
drwxrws--- 4 admin sources 4096 Feb 26 20:57 tools
drwxrws--- 10 admin builds 4096 Jan 13 09:32 installers
drwxrws--- 4 admin builds 4096 Mar 18 15:59 localization
One note you will notice that we have the set guid bit set for these
folders, this is handy when someone adds a file/folder to a repository
it will maintain the proper group ownership of the parent.
...notified when somebody add/remove a file....
We also have an auto email sent to a group for all checkins/etc,
looking at your CVSROOT directory I see a perl script in there called
"cvslog.pl" which does the logging/emailing, I set this up, don't
recall the details, but it was straight forward enough.
Lastly we access our remote repository using pserver (password
authenticated server) method which is quite common. This is setup on
the linux box in the /etc/inetd.conf file, but on panther it is setup
in the /etc/xinetd.d/cvspserver file. I set up a bare bone cvs personal
server on my panther machine a few weeks back so I could control source
code I was working on that I was not ready to check into our *real*
server. It took about five minutes and I access it both remotely and
locally via pserver using command line from linux, MacCVS Pro from a
mac, and WinCVS from a Winbox. They all work fine, exactly the same as
when I login to the 6 year old *real* cvs server here at work.
Just google around, there is a lot of info for setting
up/managing/maintaining/using cvs, or search around amazon I am sure
there are a few books.
This mainly all for a linuxbox, and I set it up a few years back, some
of it may be wrong, or old, null and void, or unrelated to your issue,
none the less IHTH'd.
Good luck,
Dennis
On Mar 18, 2004, at 12:19 AM, Ruben Smits wrote:
All users should have access to the system that contains the CVS
repository and have write access to the repository itself.
On 18 mrt 2004, at 4:28, 1h0f?A wrote:
Hi,
I'm setting cvs up on my Mac OS X system for my team members(4
developers for 1 project) to use.
As the direction on Apple site, I added a group and users in it on
Netinfo and made 'cvsrep' directory on terminal.
But I can't find the users list on terminal and can't run 'cvs init'
If any body knows what the problem is, please let me know.
Thanks
-----Original Message-----
From: email@hidden
[mailto:xcode-users-admin@lists.
apple.com] On Behalf Of Aur?ien Hugel
Sent: Tuesday, March 16, 2004 6:12 PM
To: email@hidden
Subject: [CVS] several developers on the same project
hi list !
My company really needs a powerful SCM.
We already use CVS with few problems... the main problem is XCode :
each user has its own project architecture, so when he creates files
and add+commit it to the CVS server, he is the only one to see the
change !!!
how can we ALL work on the same .xcode project so that we all have the
same architecture, and are notified when somebody add/remove a file ?
is it even possible ? i've seen a .xcode/.pbproj is a bundle which
contains a "aUser.pbxproj" file for each user... can we force the
opening of a "common.pbxproj" ?
i've seen something with netInfo on Apple dev web site, but i'm not
even sure it concerns our problem
thanks a lot for help, this is now really reducing our productivity !
bye _______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
----------------------
Ruben Smits
----------------------
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.