info-cvs
[Top][All Lists]
Advanced

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

Organising our Project


From: Robert Bergs
Subject: Organising our Project
Date: Thu, 6 Sep 2001 16:11:14 +0100

Hello,

We  have  a  number of related applications which we would like to put under the
control  of  CVS.  Each application is based on a set of common 'core' files and
one  or  more  modules. Some of the modules are shared between the applications.
Some  of  the  applications have made changes to the core files, and others have
added new files to this core file set.

I want the developers to be able to type:

cvs co <application_name>

and obtain the correct set of core files for this application, the right modules
and  possibly  the  common  library.  I  thought I could use the modules file to
achieve  this.  I  imported a single large module into cvs, called 'sinatra'. My
modules file looks something like this:

sinatra_core -d sinatra core.cc core2.cc core3.cc
mod_fish sinatra/modules/fish
mod_cat sinatra/modules/cat
mod_dog sinatra/modules/dog

dir_mod_fish -d sinatra/modules &mod_fish
dir_mod_cat -d sinatra/modules &mod_cat
dir_mod_dog -d sinatra/modules &mod_dog

firstapp &sinatra_core &dir_mod_fish &dir_mod_cat
secondapp &sinatra_core &dir_mod_fish &dir_mod_dog

This  is great - I can check out individual modules should I need to, I can also
checkout  the  two  applications 'firstapp' and 'secondapp' and have the correct
set  of  modules  output  into  the  correct  place. I do gain an extra level of
hierarchy (firstapp/sinatra) with this technique, but we can cope with that. But
how  do  we  get  the  correct  version  of  the core files? I was hoping to use
branching  on  the  sinatra_core  module  but we cannot pass -r to things in the
module list.

Sorry for the long explanation, but I have two quick questions:

a) Is this a sensible approach, or is there a better way of using CVS?
b) How can I get the right version of the core files for each application?

Any advice would be most useful - thanks!

Robert.

Mintel International Group Ltd
18-19 Long Lane
London
EC1A 9PL


Tel: 020 7606 4533
Fax: 020 7606 5932
http://www.mintel.com
http://www.gnpd.com

Notice
********
This email may contain information that is privileged,
confidential or otherwise protected from disclosure. It
must not be used by, or its contents copied or disclosed
to, persons other than the addressee. If you have received
this email in error please notify the sender immediately
and delete the email. Any views or opinions expressed in
this message are solely those of the author, and do not
necessarily reflect those of Mintel International Group Ltd.

Warning
**********
It is the responsibility of the recipient to ensure that
the onward transmission, opening or use of this message
and any attachments will not adversely affect their systems
or data. Please carry out such virus and other checks, as
you consider appropriate.





reply via email to

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