Click to See Complete Forum and Search --> : strange coding circumstances


spizkapa
06-17-2003, 06:56 AM
Hi all,

this is going to sound weird, I know, but I've decided to go ahead with it so I'd like some feedback.

I'm a PhD student and as part of my work I need to write some code to run some experiments. It's not important what kind of experiments but I have a main core of code that is the same for all of them and a number of different parts that differ. What I'd like is a way to keep these versions up-to-date when I update the core part of the software.

I know some form of source control is needed here but have no idea which type to use. I use xemacs exclusively for coding so I know that emacs understands RCS but is that the best way?

What do you think?


spizkapa

DragonHead
06-17-2003, 07:40 AM
CVS is popular. And it's free.

http://www.cvshome.org

Spawn913
06-18-2003, 11:57 PM
What I'd like is a way to keep these versions up-to-date when I update the core part of the software.

along with using a version-control system (i use cvs, btw), i would also suggest that you implement the "common parts" of your code as a library, then set all codes that require these parts to link to that library. this way, whenever you modify and recompile that library, then all applications using that library would use the updated version.

aside from making updates easier, this modular approach would be cleaner.

:cool: