Hello,
hope this is the write forum for this. How do developers keep versions of their source files, in the case of a programmer working alone? For collaborative projects with many programmers there are tools as subversion. For beginners like me, or working alone, how should I keep track of my revisions? Is there a common technique?
The project I'm starting have, for now, just some files, like buddy.h, buddy.cpp, location.h, location.cpp and main.cpp. What I've done so far is create a new drawer every time I change a source file and copy all over there. But that means having several files without changes copied multiple times. I guess there should be a better way to do it.
Any suggestions?
CVS or something similar.
Do we have that for OS4 yet?
Don't use CVS, use SubVersioN (SVN). While we have both of those, SVN is better. Both are on os4depot.
Hans
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
http://keasigmadelta.co.nz/ - more of my software.
To answer your question properly, I run a Trac & SVN server for my own personal projects. SVN does the version control while I use Trac to keep track of bug reports, and as a nice interface to browse the SVN changes. Just because SVN is also good for collaboration doesn't mean that you can't use it for private version control.
While I put it on a separate server (so I have a backup on a separate machine), it is entirely possible to use SVN locally on the same machine that you're developing on.
Hans
P.S. If you decide to follow the instructions on my site, or use the scripts, it is best to divide your SVN repository up into Trunk/, Tags/, and Branches/.
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
http://keasigmadelta.co.nz/ - more of my software.
Thanks Hans,
so subversion it is. I'll check your tutorial and give it a try then.
I run a SubVersion server on the PC here at home, and, of course, use CodeBench's built-in SVN client support to make handling the synchronisation much easier.
Simon