Yahoo Groups archive

AVR-Chat

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

Thread

Re: Source Control/Version Control for AVR projects

Re: Source Control/Version Control for AVR projects

2011-10-24 by greggy

Hi

As you've already checked AVRFreaks, you've probably already seen this, but I'll post you the link just in case.

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=109010&highlight=source+control



--- In AVR-Chat@yahoogroups.com, Cat C <catalin_cluj@...> wrote:
Show quoted textHide quoted text
>
> 
> Try Tortoise SVN and work in a DropBox folder.
> Good luck,
> Cat
> 
> > To: AVR-Chat@yahoogroups.com
> > From: egroupscdh@...
> > Date: Mon, 24 Oct 2011 11:51:19 -0500
> > Subject: [AVR-Chat] Source Control/Version Control for AVR projects
> > 
> > One of my AVR projects has grown to a significant number of files and
> > complexity.  I also need to track multiple versions installed in the field,
> > multiple development/bug fix lines, etc. so I'm looking for a Source/Version
> > Control package to manage it.
> ... 		 	   		  
> 
> [Non-text portions of this message have been removed]
>

Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-24 by greggy

If you recommend enough people (who sign up) you can build up to 5Gb free with DropBox. It's a very useful facility.

A similar service is offered by 'Box.net', and for a limited time, you can get 50Gb permanent cloud storage for free.

However, neither of these options are in any way a source/version control system.

--greg



--- In AVR-Chat@yahoogroups.com, Cat C <catalin_cluj@...> wrote:
Show quoted textHide quoted text
>
> 
> I find the DropBox an ideal tool to prevent data loss.One can get 2Gb (and up) free, NOT including old versions of your files :-)
> It backs up your chosen folder in the cloud, AND keeps up to 30 versions.You can even undelete, etc, great tool.It is NOT a Version Control, but combined with one is a great way to keep your data safe and available.
> If you use the link below, both you and I will get some extra free space, so Please Do:
> http://db.tt/C3xKVbG9
> Thanks,
> Cat 		 	   		  
> 
> [Non-text portions of this message have been removed]
>

Source Control/Version Control for AVR projects

2011-10-24 by Chuck Hackett

One of my AVR projects has grown to a significant number of files and
complexity.  I also need to track multiple versions installed in the field,
multiple development/bug fix lines, etc. so I'm looking for a Source/Version
Control package to manage it.

 

This is for single developer only and is restricted to one development PC
(Windows 7, 64-bit) so I don't need features for remote hosted repository,
cooperative development, etc. (but if there, I may use them in the future).

 

My primary tools are: CodeBlocks for development IDE, WinAVR compiler and
AVRStudio for debugging.

 

Checkin/checkout integrated into CodeBlocks would be nice but is not a
requirement.

 

At the moment I am trying out CS-RCS Pro (free version) by Component
Software as recommended by a white paper I found on AVR Freaks and it works
ok but there may be something better out there that I should look at before
I commit a lot of time and versions to it.

 

I also develop programs using Microsoft Visual C# as part of this project
(PC program that communicates with the field AVR based devices) so it would
be a plus if I could use the same package to support Visual C# projects.

 

Any recommendations of packages I should look at? 

 

Thanks in advance for your time .

 

Cheers,

 

Chuck Hackett

"Good judgment comes from experience, experience comes from bad judgment"

7.5" gauge Union Pacific Northern (4-8-4) 844
<http://www.whitetrout.net/Chuck> http://www.whitetrout.net/Chuck



[Non-text portions of this message have been removed]

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

2011-10-24 by Cat C

Try Tortoise SVN and work in a DropBox folder.
Good luck,
Cat

> To: AVR-Chat@yahoogroups.com
> From: egroupscdh@up844.us
> Date: Mon, 24 Oct 2011 11:51:19 -0500
> Subject: [AVR-Chat] Source Control/Version Control for AVR projects
> 
> One of my AVR projects has grown to a significant number of files and
> complexity.  I also need to track multiple versions installed in the field,
> multiple development/bug fix lines, etc. so I'm looking for a Source/Version
> Control package to manage it.
... 		 	   		  

[Non-text portions of this message have been removed]

RE: [AVR-Chat] Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-24 by Cat C

I find the DropBox an ideal tool to prevent data loss.One can get 2Gb (and up) free, NOT including old versions of your files :-)
It backs up your chosen folder in the cloud, AND keeps up to 30 versions.You can even undelete, etc, great tool.It is NOT a Version Control, but combined with one is a great way to keep your data safe and available.
If you use the link below, both you and I will get some extra free space, so Please Do:
http://db.tt/C3xKVbG9
Thanks,
Cat 		 	   		  

[Non-text portions of this message have been removed]

RE: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-24 by Cat C

I forgot to mention 2 things about the DropBox:
1. You do NOT share any data by accepting an invitation, you only share anything if you specifically go through the Sharing procedure.  I think you DO get extra space by accepting an invitation, so it's a win-win situation.2. It is a great tool for people that work on more than one PC: it synchronizes the DropBox folder between PCs :-)
Cat

> >
> > 
> > I find the DropBox an ideal tool to prevent data loss.One can get 2Gb (and up) free, NOT including old versions of your files :-)
> > It backs up your chosen folder in the cloud, AND keeps up to 30 versions.You can even undelete, etc, great tool.It is NOT a Version Control, but combined with one is a great way to keep your data safe and available.
> > If you use the link below, both you and I will get some extra free space, so Please Do:
> > http://db.tt/C3xKVbG9
> > Thanks,
> > Cat 		 	   		  
> > 
> > [Non-text portions of this message have been removed]
> >

 		 	   		  

[Non-text portions of this message have been removed]

RE: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-24 by Cat C

How does one get the 50GB free permanently?
Cat

> To: AVR-Chat@yahoogroups.com
> From: avrchat@gdsmith.net
> Date: Mon, 24 Oct 2011 17:28:12 +0000
> Subject: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)
> 
> If you recommend enough people (who sign up) you can build up to 5Gb free with DropBox. It's a very useful facility.
> 
> A similar service is offered by 'Box.net', and for a limited time, you can get 50Gb permanent cloud storage for free.
> 
> However, neither of these options are in any way a source/version control system.
> 
> --greg

 		 	   		  

[Non-text portions of this message have been removed]

RE: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-24 by Cat C

I was excited about Box.net until I saw that you can only sync folders if you pay for Business or higher plans.Also, I could not see how one can get 50GB for free.

The Folder Sync is important to me; it's what allows me to use multiple PCs with the same data, without having to manually download, upload, etc.That's why so far I found nothing FREE that compares to the DropBox.
Cat
> To: AVR-Chat@yahoogroups.com
> From: avrchat@gdsmith.net
> Date: Mon, 24 Oct 2011 17:28:12 +0000
> Subject: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)
> 
> If you recommend enough people (who sign up) you can build up to 5Gb free with DropBox. It's a very useful facility.
> 
> A similar service is offered by 'Box.net', and for a limited time, you can get 50Gb permanent cloud storage for free.
> 
> However, neither of these options are in any way a source/version control system.
> 
> --greg
> 

 		 	   		  

[Non-text portions of this message have been removed]

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

2011-10-24 by Alex Shepherd

> 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.

> At the moment I am trying out CS-RCS Pro (free version) by Component
> Software as recommended by a white paper I found on AVR Freaks and it
> works ok but there may be something better out there that I should look at
> before I commit a lot of time and versions to it.

I don't know this product but looking at their website they mention RCS
which is a very early revision control system that worked at an individual
file level. The enhancement to RCS was Concurrent Version System CVS which
added a layer over RCS to make it more aware of groups of files etc, but it
kept a bunch of RCS concepts and enforced certain methodologies. SVN came
later and removed almost all constraints and lets you roll-your-own regime.
They do offer some guidance in the user guide http://svnbook.red-bean.com/
which I strongly recommend you read. To some extent, SVN is more difficult
to use if you've come from RCS/CVS as things like n.n.n.n version numbers do
not exist anymore - you get to choose your own. If you're starting from
fresh you'll not have any such preconceived expectations so it won't matter.

The good thing about SVN is it stores more meta data about files and lets
you store all sorts of things. Each version is really a set of files and
directory structure. It handles files adding and deleting from the archive
much better than RCS/CVS as there is no notion of an attic like CVS which
can get in the way.

Others are using a thing called GIT. I've not used it personally but it
sounds very powerful -  but you do have to know what you're doing as it
sounds more complicated. The software dev group beside me just upgraded to
GIT from SVN and there has been a bit of conversion grief and frustration by
some. 

You needs should be handled easily by SVN and the learning curve is much
less. 

Also if you are needing to collaborate with others on a project then
something like SVN is critical. Even collaborating with yourself, you should
find it useful.

Hope this helps

Regards

Alex Shepherd

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.

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

2011-10-25 by Brian Dean

Hi Chuck,

We've been very happy with good old CVS.  All of our AVR development projects, among many others, are under CVS control.  We do frequent backups of the repository, and the repo is composed of a simple directory structure of flat files so it is easy to do a complete backup to a thumb drive to carry with you for a little extra peace of mind.

It may not be the glitzyest thing out there, but it works well and is easy enough to use.

Give subversion a look as well, it's a bit more modern, but CVS works fine for us and make remote/shared development easy if/when you decide you need to support that.

-Brian
-- 
Brian Dean
BDMICRO LLC
http://www.bdmicro.com
Show quoted textHide quoted text
On Oct 24, 2011, at 12:51 PM, Chuck Hackett wrote:

> One of my AVR projects has grown to a significant number of files and
> complexity. I also need to track multiple versions installed in the field,
> multiple development/bug fix lines, etc. so I'm looking for a Source/Version
> Control package to manage it.
> 
> This is for single developer only and is restricted to one development PC
> (Windows 7, 64-bit) so I don't need features for remote hosted repository,
> cooperative development, etc. (but if there, I may use them in the future).
> 
> My primary tools are: CodeBlocks for development IDE, WinAVR compiler and
> AVRStudio for debugging.
> 
> Checkin/checkout integrated into CodeBlocks would be nice but is not a
> requirement.
> 
> At the moment I am trying out CS-RCS Pro (free version) by Component
> Software as recommended by a white paper I found on AVR Freaks and it works
> ok but there may be something better out there that I should look at before
> I commit a lot of time and versions to it.
> 
> I also develop programs using Microsoft Visual C# as part of this project
> (PC program that communicates with the field AVR based devices) so it would
> be a plus if I could use the same package to support Visual C# projects.
> 
> Any recommendations of packages I should look at? 
> 
> Thanks in advance for your time .
> 
> Cheers,
> 
> Chuck Hackett
> 
> "Good judgment comes from experience, experience comes from bad judgment"
> 
> 7.5" gauge Union Pacific Northern (4-8-4) 844
> <http://www.whitetrout.net/Chuck> http://www.whitetrout.net/Chuck
> 
> [Non-text portions of this message have been removed]
> 
>

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

2011-10-25 by Matthew Metzger

I am just catching up with this thread. In my real life I use SVN semi-often
and it works fairly well with my clients that have multiple employees
accessing the repository. Or -> it translates fairly well to a
multi-contributor project. For OS clients, we use Tortoise SVN on Windows
machines and run command line from Linux and Mac. There are also free
services for hosting SVN as long as the size of the repository remains
within the constraints of the services, which are fairly generous. One free
service that I have used is projectlocker.com . My experience has been very
good with them. Upon looking, they only allow 3 users for free but there are
other similar services out there.




On Tue, Oct 25, 2011 at 12:44 AM, Brian Dean <brian@bdmicro.com> wrote:

> Hi Chuck,
>
> We've been very happy with good old CVS.  All of our AVR development
> projects, among many others, are under CVS control.  We do frequent backups
> of the repository, and the repo is composed of a simple directory structure
> of flat files so it is easy to do a complete backup to a thumb drive to
> carry with you for a little extra peace of mind.
>
> It may not be the glitzyest thing out there, but it works well and is easy
> enough to use.
>
> Give subversion a look as well, it's a bit more modern, but CVS works fine
> for us and make remote/shared development easy if/when you decide you need
> to support that.
>
> -Brian
> --
> Brian Dean
> BDMICRO LLC
> http://www.bdmicro.com
>
>
> On Oct 24, 2011, at 12:51 PM, Chuck Hackett wrote:
>
> > One of my AVR projects has grown to a significant number of files and
> > complexity. I also need to track multiple versions installed in the
> field,
> > multiple development/bug fix lines, etc. so I'm looking for a
> Source/Version
> > Control package to manage it.
> >
> > This is for single developer only and is restricted to one development PC
> > (Windows 7, 64-bit) so I don't need features for remote hosted
> repository,
> > cooperative development, etc. (but if there, I may use them in the
> future).
> >
> > My primary tools are: CodeBlocks for development IDE, WinAVR compiler and
> > AVRStudio for debugging.
> >
> > Checkin/checkout integrated into CodeBlocks would be nice but is not a
> > requirement.
> >
> > At the moment I am trying out CS-RCS Pro (free version) by Component
> > Software as recommended by a white paper I found on AVR Freaks and it
> works
> > ok but there may be something better out there that I should look at
> before
> > I commit a lot of time and versions to it.
> >
> > I also develop programs using Microsoft Visual C# as part of this project
> > (PC program that communicates with the field AVR based devices) so it
> would
> > be a plus if I could use the same package to support Visual C# projects.
> >
> > Any recommendations of packages I should look at?
> >
> > Thanks in advance for your time .
> >
> > Cheers,
> >
> > Chuck Hackett
> >
> > "Good judgment comes from experience, experience comes from bad judgment"
> >
> > 7.5" gauge Union Pacific Northern (4-8-4) 844
> > <http://www.whitetrout.net/Chuck> http://www.whitetrout.net/Chuck
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]

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

2011-10-25 by Dennis Clark

I'm a Subversion fan myself and use it at home and at my day job.  I 
have to admit that choosing between SVN and CVS is a bit like the 
"tastes great"/"less filling" beer commercial.  :-)

Now, if I could just find something as good as TortoiseSVN for the Mac 
I'd be in heaven...

DLC

On 10/24/11 10:44 PM, Brian Dean wrote:
> Hi Chuck,
>
> We've been very happy with good old CVS.  All of our AVR development projects, among many others, are under CVS control.  We do frequent backups of the repository, and the repo is composed of a simple directory structure of flat files so it is easy to do a complete backup to a thumb drive to carry with you for a little extra peace of mind.
>
> It may not be the glitzyest thing out there, but it works well and is easy enough to use.
>
> Give subversion a look as well, it's a bit more modern, but CVS works fine for us and make remote/shared development easy if/when you decide you need to support that.
>
> -Brian

-- 
Dennis Clark
TTT Enterprises

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

2011-10-25 by Brian Dean

I'm an old Unix command line guy myself so I'm right at home on my Mac using CVS from an xterm - isn't a Mac really just Unix that supports iTunes. :-)

-Brian
-- 
Brian Dean
BDMICRO LLC
http://www.bdmicro.com/
Show quoted textHide quoted text
On Oct 25, 2011, at 1:23 AM, Dennis Clark wrote:

> I'm a Subversion fan myself and use it at home and at my day job.  I have to admit that choosing between SVN and CVS is a bit like the "tastes great"/"less filling" beer commercial.  :-)
> 
> Now, if I could just find something as good as TortoiseSVN for the Mac I'd be in heaven...
> 
> DLC
> 
> On 10/24/11 10:44 PM, Brian Dean wrote:
>> Hi Chuck,
>> 
>> We've been very happy with good old CVS.  All of our AVR development projects, among many others, are under CVS control.  We do frequent backups of the repository, and the repo is composed of a simple directory structure of flat files so it is easy to do a complete backup to a thumb drive to carry with you for a little extra peace of mind.
>> 
>> It may not be the glitzyest thing out there, but it works well and is easy enough to use.
>> 
>> Give subversion a look as well, it's a bit more modern, but CVS works fine for us and make remote/shared development easy if/when you decide you need to support that.
>> 
>> -Brian
> 
> -- 
> Dennis Clark
> TTT Enterprises
>

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

2011-10-25 by Matthew Metzger

That's pretty much it. I only distinguished Mac because it seems some people
just think of it as a pretty GUI. And per Dennis' interest in a client, I
have an SVN client on my laptop but the name escapes me, and it's in a bag
right now and I am too tired or lazy to open it up. I will get it out
tomorrow though and follow up.

On Tue, Oct 25, 2011 at 1:30 AM, Brian Dean <brian@bdmicro.com> wrote:

> **
>
>
> I'm an old Unix command line guy myself so I'm right at home on my Mac
> using CVS from an xterm - isn't a Mac really just Unix that supports iTunes.
> :-)
>
>
> -Brian
> --
> Brian Dean
> BDMICRO LLC
> http://www.bdmicro.com/
>
>
> On Oct 25, 2011, at 1:23 AM, Dennis Clark wrote:
>
> > I'm a Subversion fan myself and use it at home and at my day job. I have
> to admit that choosing between SVN and CVS is a bit like the "tastes
> great"/"less filling" beer commercial. :-)
> >
> > Now, if I could just find something as good as TortoiseSVN for the Mac
> I'd be in heaven...
> >
> > DLC
> >
> > On 10/24/11 10:44 PM, Brian Dean wrote:
> >> Hi Chuck,
> >>
> >> We've been very happy with good old CVS. All of our AVR development
> projects, among many others, are under CVS control. We do frequent backups
> of the repository, and the repo is composed of a simple directory structure
> of flat files so it is easy to do a complete backup to a thumb drive to
> carry with you for a little extra peace of mind.
> >>
> >> It may not be the glitzyest thing out there, but it works well and is
> easy enough to use.
> >>
> >> Give subversion a look as well, it's a bit more modern, but CVS works
> fine for us and make remote/shared development easy if/when you decide you
> need to support that.
> >>
> >> -Brian
> >
> > --
> > Dennis Clark
> > TTT Enterprises
> >
>
>  
>


[Non-text portions of this message have been removed]

Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-25 by greggy

Like this...

http://blog.box.net/2011/10/12/were-giving-ios-users-insane-amounts-of-free-storage-box50gb/

--greg


--- In AVR-Chat@yahoogroups.com, Cat C <catalin_cluj@...> wrote:
Show quoted textHide quoted text
>
> 
> I was excited about Box.net until I saw that you can only sync folders if you pay for Business or higher plans.Also, I could not see how one can get 50GB for free.
> 
> The Folder Sync is important to me; it's what allows me to use multiple PCs with the same data, without having to manually download, upload, etc.That's why so far I found nothing FREE that compares to the DropBox.
> Cat
> > To: AVR-Chat@yahoogroups.com
> > From: avrchat@...
> > Date: Mon, 24 Oct 2011 17:28:12 +0000
> > Subject: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)
> > 
> > If you recommend enough people (who sign up) you can build up to 5Gb free with DropBox. It's a very useful facility.
> > 
> > A similar service is offered by 'Box.net', and for a limited time, you can get 50Gb permanent cloud storage for free.
> > 
> > However, neither of these options are in any way a source/version control system.
> > 
> > --greg
> > 
> 
>  		 	   		  
> 
> [Non-text portions of this message have been removed]
>

Re: Source Control/Version Control for AVR projects

2011-10-25 by greggy

"Now, if I could just find something as good as TortoiseSVN for the Mac
I'd be in heaven..."

Have you looked at SmartSVN?  It's multi-platform. I use Subversion server on a Mac SLS and use SmartSVN on Mac's and Windoze as the client.

--greg



--- In AVR-Chat@yahoogroups.com, Dennis Clark <dlc@...> wrote:
Show quoted textHide quoted text
>
> I'm a Subversion fan myself and use it at home and at my day job.  I 
> have to admit that choosing between SVN and CVS is a bit like the 
> "tastes great"/"less filling" beer commercial.  :-)
> 
> Now, if I could just find something as good as TortoiseSVN for the Mac 
> I'd be in heaven...
> 
> DLC
> 
> On 10/24/11 10:44 PM, Brian Dean wrote:
> > Hi Chuck,
> >
> > We've been very happy with good old CVS.  All of our AVR development projects, among many others, are under CVS control.  We do frequent backups of the repository, and the repo is composed of a simple directory structure of flat files so it is easy to do a complete backup to a thumb drive to carry with you for a little extra peace of mind.
> >
> > It may not be the glitzyest thing out there, but it works well and is easy enough to use.
> >
> > Give subversion a look as well, it's a bit more modern, but CVS works fine for us and make remote/shared development easy if/when you decide you need to support that.
> >
> > -Brian
> 
> -- 
> Dennis Clark
> TTT Enterprises
>

Re: Source Control/Version Control for AVR projects

2011-10-25 by ecros_technology

--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote:

> ... Any recommendations of packages I should look at? 

I have been very happy with QVCS from Quma Software.  My needs are just about exactly the same as yours, plus I don't want to spend a lot of time figuring out how to use the tool, so I like the simplicity of QVCS.  I tend to put the repository files on my RAID network-attached storage device, so this serves as a disaster backup as well as version control.  I don't, however, use check-in/-out integration of any kind because, to me, interactions with the source control system and editing the file should come from separate thought processes.  I have seen this integration encourage a cavalier attitude towards version discipline.

Graham.

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

2011-10-25 by David Kelly

On Tue, Oct 25, 2011 at 01:30:25AM -0400, Brian Dean wrote:
> I'm an old Unix command line guy myself so I'm right at home on my Mac
> using CVS from an xterm - isn't a Mac really just Unix that supports
> iTunes. :-)

MacOS X really is Unix. Apple is an old Unix licensee.

It may be because I install Xcode on my Macs but I've always (recent
years) found both svn and cvs pre-installed by Apple.

Last login: Mon Oct 24 12:35:59 on ttys001
dkelly@clumsy {292} which cvs
/Developer/usr/bin/cvs
dkelly@clumsy {293} which svn
/usr/bin/svn
dkelly@clumsy {294} 

OK, that suggests cvs came with Xcode but svn was part of the base
system. MacOS 10.6.8.

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

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

2011-10-25 by David Kelly

On Tue, Oct 25, 2011 at 01:36:57AM -0400, Matthew Metzger wrote:
> That's pretty much it. I only distinguished Mac because it seems some
> people just think of it as a pretty GUI. And per Dennis' interest in a
> client, I have an SVN client on my laptop but the name escapes me, and
> it's in a bag right now and I am too tired or lazy to open it up. I
> will get it out tomorrow though and follow up.

I have svnX but haven't spent any serious time with it. Use either the
command line or the built-in interface in BBedit (which drives the
command line tools).

SourceTree is in the App store and is primarily a Git/Hg tool but claims
to "Collaborate with Subversion servers too"

Both are free apps.

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

Re: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-25 by Zack Widup

Dropbox is great. We have been using it at work for about a year now.
Many of our clients also use it to share files with us that are too
large to be e-mailed.

I have no connection with them other than being a happy user.

Zack
Show quoted textHide quoted text
On 10/25/11, greggy <avrchat@gdsmith.net> wrote:
>
> Like this...
>
> http://blog.box.net/2011/10/12/were-giving-ios-users-insane-amounts-of-free-storage-box50gb/
>
> --greg
>
>
> --- In AVR-Chat@yahoogroups.com, Cat C <catalin_cluj@...> wrote:
>>
>>
>> I was excited about Box.net until I saw that you can only sync folders if
>> you pay for Business or higher plans.Also, I could not see how one can get
>> 50GB for free.
>>
>> The Folder Sync is important to me; it's what allows me to use multiple
>> PCs with the same data, without having to manually download, upload,
>> etc.That's why so far I found nothing FREE that compares to the DropBox.
>> Cat
>> > To: AVR-Chat@yahoogroups.com
>> > From: avrchat@...
>> > Date: Mon, 24 Oct 2011 17:28:12 +0000
>> > Subject: [AVR-Chat] Re: Source Control/Version Control for AVR projects.
>> > I recommend the DropBox, please use link below if you do :-)
>> >
>> > If you recommend enough people (who sign up) you can build up to 5Gb
>> > free with DropBox. It's a very useful facility.
>> >
>> > A similar service is offered by 'Box.net', and for a limited time, you
>> > can get 50Gb permanent cloud storage for free.
>> >
>> > However, neither of these options are in any way a source/version
>> > control system.
>> >
>> > --greg
>> >
>>
>>  		 	   		
>>
>> [Non-text portions of this message have been removed]
>>
>
>
>

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

2011-10-25 by Moses McKnight

I use Bazaar for this very thing.  One nice thing is that you can 
branch to a thumb drive (or anywhere) for backup and it makes it very 
easy to backup, restore, or take the code somewhere else.  If you use a 
full branch then the backup has the complete version history and not 
just the current code.  It is easy to use and has GUI interfaces as 
well.  I do work in two locations and have no central server, so bzr or 
something similar makes it very easy to keep the code synchronized.
   Another similar one is GIT, and I find some features of GIT nicer 
than bzr - such as being able to checkout multiple branches in one 
directory instead of having to have a separate directory for each 
branch.  So if you have an old version that you still maintain, or if 
you want to try some new experimental code, you can create a new branch 
and and work on that, but switch back to the old version with 'git 
checkout old_branch'  IMO this is nice because it keeps the directory 
structure from getting too cluttered.

I wouldn't even look at commercial options for what you need, as there 
are numerous good free and open-source programs that will do everything 
you need and much more.

Moses
Show quoted textHide quoted text
On 10/24/2011 11:51 AM, Chuck Hackett wrote:
> One of my AVR projects has grown to a significant number of files and
> complexity.  I also need to track multiple versions installed in the field,
> multiple development/bug fix lines, etc. so I'm looking for a Source/Version
> Control package to manage it.
>
>
>
> This is for single developer only and is restricted to one development PC
> (Windows 7, 64-bit) so I don't need features for remote hosted repository,
> cooperative development, etc. (but if there, I may use them in the future).
>
>
>
> My primary tools are: CodeBlocks for development IDE, WinAVR compiler and
> AVRStudio for debugging.
>
>
>
> Checkin/checkout integrated into CodeBlocks would be nice but is not a
> requirement.
>
>
>
> At the moment I am trying out CS-RCS Pro (free version) by Component
> Software as recommended by a white paper I found on AVR Freaks and it works
> ok but there may be something better out there that I should look at before
> I commit a lot of time and versions to it.
>
>
>
> I also develop programs using Microsoft Visual C# as part of this project
> (PC program that communicates with the field AVR based devices) so it would
> be a plus if I could use the same package to support Visual C# projects.
>
>
>
> Any recommendations of packages I should look at?
>
>
>
> Thanks in advance for your time .
>
>
>
> Cheers,
>
>
>
> Chuck Hackett
>
> "Good judgment comes from experience, experience comes from bad judgment"
>
> 7.5" gauge Union Pacific Northern (4-8-4) 844
> <http://www.whitetrout.net/Chuck>  http://www.whitetrout.net/Chuck
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

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

2011-10-25 by Dennis Clark

Yup, I too am comfortable with UNIX command line, another reason to love my Mac. But I only remember stuff while I'm using it, and my home SVN use is spotty, so too is my memory of it - the Explorer/Finder integration is a great memory aid.  If only…

DLC
--
Dennis Clark
While traveling
Show quoted textHide quoted text
On Oct 24, 2011, at 11:30 PM, Brian Dean <brian@bdmicro.com> wrote:

> I'm an old Unix command line guy myself so I'm right at home on my Mac using CVS from an xterm - isn't a Mac really just Unix that supports iTunes. :-)
> 
> -Brian
> -- 
> Brian Dean
> BDMICRO LLC
> http://www.bdmicro.com/
> 
> On Oct 25, 2011, at 1:23 AM, Dennis Clark wrote:
> 
>> I'm a Subversion fan myself and use it at home and at my day job.  I have to admit that choosing between SVN and CVS is a bit like the "tastes great"/"less filling" beer commercial.  :-)
>> 
>> Now, if I could just find something as good as TortoiseSVN for the Mac I'd be in heaven...
>> 
>> DLC
>> 
>> On 10/24/11 10:44 PM, Brian Dean wrote:
>>> Hi Chuck,
>>> 
>>> We've been very happy with good old CVS.  All of our AVR development projects, among many others, are under CVS control.  We do frequent backups of the repository, and the repo is composed of a simple directory structure of flat files so it is easy to do a complete backup to a thumb drive to carry with you for a little extra peace of mind.
>>> 
>>> It may not be the glitzyest thing out there, but it works well and is easy enough to use.
>>> 
>>> Give subversion a look as well, it's a bit more modern, but CVS works fine for us and make remote/shared development easy if/when you decide you need to support that.
>>> 
>>> -Brian
>> 
>> -- 
>> Dennis Clark
>> TTT Enterprises
>> 
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>

RE: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)

2011-10-25 by Cat C

Got the free 50G for free, thanks :-)
I still can't use it as my main cloud because it doesn't sync between PCs (for free :-) ... but it's good to have 50G for free :-)
Cta


> To: AVR-Chat@yahoogroups.com
> From: avrchat@gdsmith.net
> Date: Tue, 25 Oct 2011 09:35:24 +0000
> Subject: [AVR-Chat] Re: Source Control/Version Control for AVR projects. I recommend the DropBox, please use link below if you do :-)
> 
> 
> Like this...
> 
> http://blog.box.net/2011/10/12/were-giving-ios-users-insane-amounts-of-free-storage-box50gb/
> 
> --greg
> 
> 
> --- In AVR-Chat@yahoogroups.com, Cat C <catalin_cluj@...> wrote:
> >
> > 
> > I was excited about Box.net until I saw that you can only sync folders if you pay for Business or higher plans.Also, I could not see how one can get 50GB for free.

 		 	   		  

[Non-text portions of this message have been removed]

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

2011-10-25 by Matthew Metzger

Dennis,

The one that I have is called SCToolbar ( http://scplugin.tigris.org/ ).
It's a little SVN managing toolbar that appears in the upper left of the
finder. It's alright and I haven't used it in a minute but I did have one
case where something wen haywire with it in the past. It may have been user
error but we ended up with repositories in repositories in repositories. It
wasn't really too hard to reverse but it was definitely unexpected.

- Matt

On Tue, Oct 25, 2011 at 12:34 PM, Dennis Clark <dlc@frii.com> wrote:

> **
>
>
> Yup, I too am comfortable with UNIX command line, another reason to love my
> Mac. But I only remember stuff while I'm using it, and my home SVN use is
> spotty, so too is my memory of it - the Explorer/Finder integration is a
> great memory aid. If only�
>
> DLC
> --
> Dennis Clark
> While traveling
>
>
> On Oct 24, 2011, at 11:30 PM, Brian Dean <brian@bdmicro.com> wrote:
>
> > I'm an old Unix command line guy myself so I'm right at home on my Mac
> using CVS from an xterm - isn't a Mac really just Unix that supports iTunes.
> :-)
> >
> > -Brian
> > --
> > Brian Dean
> > BDMICRO LLC
> > http://www.bdmicro.com/
> >
> > On Oct 25, 2011, at 1:23 AM, Dennis Clark wrote:
> >
> >> I'm a Subversion fan myself and use it at home and at my day job. I have
> to admit that choosing between SVN and CVS is a bit like the "tastes
> great"/"less filling" beer commercial. :-)
> >>
> >> Now, if I could just find something as good as TortoiseSVN for the Mac
> I'd be in heaven...
> >>
> >> DLC
> >>
> >> On 10/24/11 10:44 PM, Brian Dean wrote:
> >>> Hi Chuck,
> >>>
> >>> We've been very happy with good old CVS. All of our AVR development
> projects, among many others, are under CVS control. We do frequent backups
> of the repository, and the repo is composed of a simple directory structure
> of flat files so it is easy to do a complete backup to a thumb drive to
> carry with you for a little extra peace of mind.
> >>>
> >>> It may not be the glitzyest thing out there, but it works well and is
> easy enough to use.
> >>>
> >>> Give subversion a look as well, it's a bit more modern, but CVS works
> fine for us and make remote/shared development easy if/when you decide you
> need to support that.
> >>>
> >>> -Brian
> >>
> >> --
> >> Dennis Clark
> >> TTT Enterprises
> >>
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
>
>  
>


[Non-text portions of this message have been removed]

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

2011-10-26 by Dennis Clark

Hmm,

   It looks interesting - How do you like it?  The manual doesn't have 
an install guide I noticed, is it easy to install and configure?

Thanks,
DLC

On 10/25/11 3:42 AM, greggy wrote:
> "Now, if I could just find something as good as TortoiseSVN for the Mac
> I'd be in heaven..."
>
> Have you looked at SmartSVN?  It's multi-platform. I use Subversion server on a Mac SLS and use SmartSVN on Mac's and Windoze as the client.
>
> --greg
>
>
>
> --- In AVR-Chat@yahoogroups.com, Dennis Clark<dlc@...>  wrote:
>> I'm a Subversion fan myself and use it at home and at my day job.  I
>> have to admit that choosing between SVN and CVS is a bit like the
>> "tastes great"/"less filling" beer commercial.  :-)
>>
>> Now, if I could just find something as good as TortoiseSVN for the Mac
>> I'd be in heaven...
>>
>> DLC
>>
>> On 10/24/11 10:44 PM, Brian Dean wrote:
>>> Hi Chuck,
>>>
>>> We've been very happy with good old CVS.  All of our AVR development projects, among many others, are under CVS control.  We do frequent backups of the repository, and the repo is composed of a simple directory structure of flat files so it is easy to do a complete backup to a thumb drive to carry with you for a little extra peace of mind.
>>>
>>> It may not be the glitzyest thing out there, but it works well and is easy enough to use.
>>>
>>> Give subversion a look as well, it's a bit more modern, but CVS works fine for us and make remote/shared development easy if/when you decide you need to support that.
>>>
>>> -Brian
>> -- 
>> Dennis Clark
>> TTT Enterprises
>>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

-- 
Dennis Clark
TTT Enterprises

Re: Source Control/Version Control for AVR projects

2011-10-26 by greggy

"It looks interesting - How do you like it? The manual doesn't have
an install guide I noticed, is it easy to install and configure?"

If you are referring to SmartSVN, then, yes, I like it. (Else I would use something else :) )
To install on a Mac, download the application package, uncompress (unzip) it into a temporary folder, then simply drag the application to 'Applications' (or where ever else you'd like to put it.

It's a very powerful svn client tool and with power, unfortunately, comes a little complexity.  When a new version is released, simply follow the exact same procedure 'after' dragging the existing release to the trash. All your settings are held in the Library, so nothing ever gets lost.  It's obviously a help if you are comfortable with command line svn tools as you'll need to know the difference between the various repository types (local/svn/svn+ssh/http etc...) and how to access them, in order to set the configuration options correctly.

It has quite a close relationship with the finder, and installs itself as an extension, so you can 'update'/'open' and 'commit' straight from the finder context menu, along with the usual GUI front end it supplies.

I had very little trouble integrating it with both EclipseIDE and Rowley's CrossWorks for AVR.  AVRStudio4 on windows didn't want to play, so I have to drop out of the IDE and use the tool separately, though thats not a show stopper).

It's what I would call a 'Pro' tool, and as such takes a little learning. I use the Professional Edition, so can't really say whats available in the free release.

--greg

Re: Source Control/Version Control for AVR projects

2011-10-27 by greggy

If 'svnversion' is not man enough for the job :)  you could check out SvnRev at
http://www.compuphase.com/svnrev.htm

HTH

--greg


--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote:
Show quoted textHide quoted text
>
> Thanks to all for your suggestions.  
> 
> I have installed Subversion and Tortoise SVN and have begun reading the
> documentation and 'finding my way around'.
> 
> One of the things I'm currently looking for is how to embed the version
> number into C source files as a literal, string, etc.
> 
> Some suggested a 'DropBox' but this by itself doesn't work for me because I
> am looking for true multi-branch version control.
> 
> Thanks again for the help ...
>  
> Cheers,
> 
> Chuck Hackett
> "Good judgment comes from experience, experience comes from bad judgment"
> 7.5" gauge Union Pacific Northern (4-8-4) 844
> http://www.whitetrout.net/Chuck
>

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

2011-10-27 by Chuck Hackett

Thanks to all for your suggestions.  

I have installed Subversion and Tortoise SVN and have begun reading the
documentation and 'finding my way around'.

One of the things I'm currently looking for is how to embed the version
number into C source files as a literal, string, etc.

Some suggested a 'DropBox' but this by itself doesn't work for me because I
am looking for true multi-branch version control.

Thanks again for the help ...
 
Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

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

2011-10-28 by Larry Howell

Chuck Hackett wrote:
> Thanks to all for your suggestions.  
> 
> I have installed Subversion and Tortoise SVN and have begun reading the
> documentation and 'finding my way around'.
> 
> One of the things I'm currently looking for is how to embed the version
> number into C source files as a literal, string, etc.
> 

Hi Chuck,

Check the "Keyword Substitution" section in Chapter 3. Advanced Topics 
of the SVN Book.  Basically, this allows string vars for date, version, 
author, etc. to be inserted in your source files that are replaced with 
the string at compile time.  A special var, $Id: $, is a combination of 
all of the others vars, and I've always used it in my files.

Larry

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

2011-10-28 by David Kelly

On Oct 27, 2011, at 5:29 PM, Chuck Hackett wrote:

> Thanks to all for your suggestions.  
> 
> I have installed Subversion and Tortoise SVN and have begun reading the
> documentation and 'finding my way around'.
> 
> One of the things I'm currently looking for is how to embed the version
> number into C source files as a literal, string, etc.

I'd like to know how to do it cleanly in AVR Studio 4.x without an external Makefile. But here are the basics to get you started with TortoiseSVN:

Command line something like this:
SubWCRev . VersionTemplate.txt Version.c

VersionTemplate.txt looks something like this:

//
//  Template for SubWCRev, generates Version.c
//  $Id: VersionTemplate.txt 322 2011-02-18 19:08:48Z dkelly $
//

char *svn_Revision  = "$WCREV$";
char *svn_Modified  = "$WCMODS?Modified:Not modified$";
char *svn_Date      = "$WCDATE$";
char *svn_BuildDate = "$WCNOW$";
char *svn_Range     = "$WCRANGE$";
char *svn_Mixed     = "$WCMIXED?Mixed revision WC:Not mixed$";
char *svn_URL       = "$WCURL$";

//#if $WCMODS?1:0$
//#error Source is modified
//#endif

You might rather generate a .h file and do #define's rather than char*'s but you can see from above how to do that. And of course the above needs a Version.h for access:

//
//  $Id: Version.h 322 2011-02-18 19:08:48Z dkelly $
//

extern char *svn_Revision;
extern char *svn_Modified;
extern char *svn_Date;
extern char *svn_BuildDate;
extern char *svn_Range;
extern char *svn_Mixed;
extern char *svn_URL;


The $Id:$ strings in the above files are expanded if you have the svn:keywords property set to Id. The problem in using that version for an indicator in your code is that its only the version of that particular file. The above stuff with SubWCRev gets the particulars for the entire project. Be sure to consult the SubWCRev man page, its in the TortoiseSVN help system.

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

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

2011-10-28 by Dennis Clark

Tortoise SVN certainly can do it!

DLC
--
Dennis Clark
While traveling
Show quoted textHide quoted text
On Oct 27, 2011, at 4:58 PM, "greggy" <avrchat@gdsmith.net> wrote:

> If 'svnversion' is not man enough for the job :)  you could check out SvnRev at
> http://www.compuphase.com/svnrev.htm
> 
> HTH
> 
> --greg
> 
> 
> --- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote:
>> 
>> Thanks to all for your suggestions.  
>> 
>> I have installed Subversion and Tortoise SVN and have begun reading the
>> documentation and 'finding my way around'.
>> 
>> One of the things I'm currently looking for is how to embed the version
>> number into C source files as a literal, string, etc.
>> 
>> Some suggested a 'DropBox' but this by itself doesn't work for me because I
>> am looking for true multi-branch version control.
>> 
>> Thanks again for the help ...
>>  
>> Cheers,
>> 
>> Chuck Hackett
>> "Good judgment comes from experience, experience comes from bad judgment"
>> 7.5" gauge Union Pacific Northern (4-8-4) 844
>> http://www.whitetrout.net/Chuck
>> 
> 
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>

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

2011-10-28 by Cat C

The DropBox was suggested ON TOP of TortoiseSVN to give you an extra layer of security by backing up IN REAL TIME all your changes to the cloud.If you have both your code and your SVN database in the DropBox folder, it's almost impossible to lose any data from either, even if all your hard disks break.
To me, that's a good thing!
Cat


> Some suggested a 'DropBox' but this by itself doesn't work for me because I
> am looking for true multi-branch version control.
> 

 		 	   		  

[Non-text portions of this message have been removed]

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

2011-10-28 by David Kelly

On Fri, Oct 28, 2011 at 10:05:40AM -0600, Cat C wrote:
> 
> The DropBox was suggested ON TOP of TortoiseSVN to give you an extra
> layer of security by backing up IN REAL TIME all your changes to the
> cloud.If you have both your code and your SVN database in the DropBox
> folder, it's almost impossible to lose any data from either, even if
> all your hard disks break. To me, that's a good thing!

Agreed. If there is only one developer who moves from home to work and
back then Dropbox is a viable solution. I don't think Dropbox is all
that praiseworthy as a backup solution.

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

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.