Go Down

Topic: Source code revision control (Read 2 times) previous topic - next topic

Jantje



Always, always, always put your code under source control. Being a one man shop is not a reason not to do it.

Take this comment serious. There is a statement that says: "There are 2 types of people. The ones that have lost data and the ones that still have to lose data." I fear I belong to both :smiley-eek:

I'm using 2 technologies for my arduino related code (read private time coding). 1 is github. If you want to share your code with the world; it is free (like in you pay nothing). If you want private code you have to pay.  It has 1 drawback. you need to push your code yourself to the server.
For code I do not want to share; I use a cloud drive. It sounds similar as to the dropbox Targettio mentions. The biggest advantage is that code gets copied without any need for action on my part. 8) You can call me lazy... I call it convenient. The cloud drive I use is included in a server package so also free (Like in prepaid)

Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

skyjumper




Always, always, always put your code under source control. Being a one man shop is not a reason not to do it.

Take this comment serious. There is a statement that says: "There are 2 types of people. The ones that have lost data and the ones that still have to lose data." I fear I belong to both :smiley-eek:

I'm using 2 technologies for my arduino related code (read private time coding). 1 is github. If you want to share your code with the world; it is free (like in you pay nothing). If you want private code you have to pay.  It has 1 drawback. you need to push your code yourself to the server.
For code I do not want to share; I use a cloud drive. It sounds similar as to the dropbox Targettio mentions. The biggest advantage is that code gets copied without any need for action on my part. 8) You can call me lazy... I call it convenient. The cloud drive I use is included in a server package so also free (Like in prepaid)

Best regards
Jantje


I don't know anything about cloud drive, but it sounds like a backup solution, not source code control. Ideally you want a source control archive that gets backed up automagically.

I have been dealing with this also, looking for something with near zero maint effort and free. As Maniac said, Git is the flavor of the year, but I don't agree that its easy to use. I have been doing some contracting work and they use Git Hub, and there is a learning curve. Also, Git hub is not really cheap for non-open source. In fact its a bit pricy.

The search continues...


That said, I don't really know what to try. Most of my development is done on a Windows platform so intergration with the file manager would sure be nice. Intergration with Eclipse is nice as well, but I'm not using Eclipse much lately.

Jantje

skyjumper
I agree that a cloud drive is not a source code control system. Take away a change and configuration management system. But...
My cloud drive contains all te versions back up to 2 years ago of all files. Ok they are not tagged, nor tagable, .... but for home projects I don't care. I have 2 must have requirements:
1) don't lose code when my system is ..... (stolen/broken...)
2) Being able to go back to older versions. (the problem is about 30 cm in front of the screen)
The cloud drive does this very well.
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

skyjumper


skyjumper
I agree that a cloud drive is not a source code control system. Take away a change and configuration management system. But...
My cloud drive contains all te versions back up to 2 years ago of all files. Ok they are not tagged, nor tagable, .... but for home projects I don't care. I have 2 must have requirements:
1) don't lose code when my system is ..... (stolen/broken...)
2) Being able to go back to older versions. (the problem is about 30 cm in front of the screen)
The cloud drive does this very well.


Yes I can see how it would do that, but usually if you have made a change to one source module, you had to change others to make that work. So when that happens, now you're left to guess which other files you need to bring down to revert. Tagging really is essential. Now if all your apps are just one or two modules, well probably not a big deal. Mine typically have 30 or 40 or more...


skyjumper

I found this:

http://www.visualsvn.com/server/

Its a free Windows based Subversion server, very easy to install.

Of course you don't really need a server for Subversion. You can install this Windows based explorer shell that beo6 linked to earlier:

http://tortoisesvn.tigris.org/

And just establish a repository in your file system. When its time to add developers to your project, you can import the file system repository into a server.



Go Up