Quote:
|
Originally Posted by gnirts
So it seems that others are using Subversion as well. A few questions about version control in general:
Which files in the code directory does everyone put under version control? Just .c and .h? .hex too?
|
The source files & headers (*.c, *.h), libraries (*.lib), the makefile, any additional scripts, the doxygen configuration, and any documentation sources (*.dox).
Quote:
|
Originally Posted by gnirts
What about documentation?
|
API-type documentation is generated by doxygen and uploaded to a server. Anyone with doxygen can generate their own edition.
Quote:
|
Originally Posted by gnirts
And how often does everyone commit? Major revisions? Every compile?
|
I try to commit when I have a working version, at the end of a meeting, or when we need to sync systems during a meeting.
Quote:
|
Originally Posted by gnirts
Lastly, do people using CVS/SVN use the tools inside MPLAB or Tortoise?
|
I use Subversion inside of Eclipse via Subclipse. Occasionally I have to do more advanced stuff using TortoiseSVN.
Quote:
|
Originally Posted by gnirts
Just Curious,
Robinson
|
That's what we're here for.
(A warning about SVN, it doesn't have tagging/branching in the same way that CVS does. What happens is that it copies the files to a new directory in your repository. So if you placed your sources in the root of the repo, you can't really branch/tag.)