info-cvs
[Top][All Lists]
Advanced

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

Re: Question on user repository restrictions


From: Jim Hyslop
Subject: Re: Question on user repository restrictions
Date: Fri, 16 Jun 2006 08:04:40 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luis wrote:
> ...And here goes the question: how should I setup CVS in order to
> support that approach? Is there a way to configure the user/password
> files so that a given CVS resource can only be seen by the user that
> created it? They should not be able even to see the directory structure
> of other student's projects, as they would learn how the project is
> structured (in Java, a file usually corresponds to an object).
> Or maybe the best approach is to setup a separate repository for each
> student? If so, how scalable is that? My classes have 20 to 40
> students, and if this approach works fine it may be used by other
> groups and add up to, say, a total of 120 students.

CVS can handle as many repositories as you want to throw at it (well, if
you're using pserver, then you may be limited by the length of the
command-line, since you have to specify 'allow-root=' for each
repository). The number of users won't be a problem, either (the last
company I worked at had up to 150 developers using the CVS server).

I think a single repository will be the easiest route to take. You can
control access either through operating system permissions, or by using
the cvs_acls script (this is in the source code distribution, under the
contrib/ directory).

You can use a modestly-powered computer (i.e. you won't need a high-end
server) for this.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEkp5YLdDyDwyJw+MRAqWZAJ91sf1MOrlV4BISWuIgLc33UXtCVACdG1Db
uL8p3vjQbe2fu7CjPiLVJYI=
=3uQN
-----END PGP SIGNATURE-----





reply via email to

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