Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Source Control/Version Control for AVR projects

2011-10-24 by David Kelly

On Tue, Oct 25, 2011 at 10:01:41AM +1300, Alex Shepherd wrote:
> > Try Tortoise SVN and work in a DropBox folder.
> 
> I would strongly recommend the Subversion system and the Tortoise SVN
> Client software. You do NOT have to have a remote server as you can
> actually run a local SVN repository on your PC if necessary. You can
> then backup that repository to other places (DropBox) for extra
> security.
> 
> The really important thing about using something like SVN is the
> ability to compare code to previous versions. I tend to do this BEFORE
> I commit a new version to make sure I have not left any debug code or
> other code fragments that should not be there as it's easy to forget
> these sorts of things if you've been hunting for a bug for some
> time... Also it does NOT use file locks etc like some other primitive
> system to. This can be a real pain if you have multiple people editing
> files in the same area.

If the OP has multiple developers working on the same project then
Dropbox is the wrong way to do things no matter SVN, CVS, GIT, or Hg.

The next step which is very tempting in Windows environments is to share
the repository filesystem, known as client-fileserver. This usually
works with something like SVN which is very cautious knowing full well
idiots do this sort of thing and that there may be multiple copies of
SVN attempting to edit the repository.

The right thing to do with a multi-user version control system is to run
client-server. One one process (on the server) ever touches the
repository which is much more deterministic and reliable.

But if its just one person who may be using the system from multiple
remote machines (such as home and work) then Dropbox is fine.

There are internet hosted servers for various revision control systems
one may use rather than host a server yourself, especially if one
open-sources one's work.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.