Go Down

Topic: Github or Google Code? Local backup or mirror? (Read 3 times) previous topic - next topic

adilinden

I am using a private SVN repository to keep track of projects and things in general. I've used these tools long before Github or Google Code were in the picture. I have used Sourceforge with limited success a long time ago. I'd really prefer to keep my new projects and maybe even some old projects in a more accessible place.

I see a lot of Open Source Arduino related projects use Github or Google Code. Is any significant reason to use one over the other? One of the key requirements is that the ability to keep a local mirror of the repository for backup purposes.

madworm

#1
Dec 22, 2011, 08:08 pm Last Edit: Dec 22, 2011, 08:12 pm by madworm Reason: 1
Personally I use git and publish selected projects on my webserver (running gitweb) and github as well.

You can have as many offline copies using git as you desire.

Here are two places worthy reading to get going with git:

* gitready.com
* Git for the lazy

I don't know which OS you run. For linux there are nice graphical front-ends available (qgit, gitk).
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Coding Badly


Like @madworm, I prefer Git.

If you prefer using SVN, Google Code is a good choice.  I like Google Code's issue tracker.

If you'd like to learn Git, Github is a good choice.  I prefer Github when browsing through source code through a web browser.  TortoiseGIT makes using Git a breeze.

I have no idea if either of them supports private repositories.

adilinden

#3
Dec 22, 2011, 09:12 pm Last Edit: Dec 22, 2011, 09:14 pm by adilinden Reason: 1
I use a variety of operating systems. My workstation is a MacBook running OSX. I also have a Windows 7 PC that I use with remote desktop. Both of these are used for development work. I am used to TortoiseSVN for Windows and some finder plugin on the Mac. I am glad to hear there is a TortoiseGit, on the Mac I am good using command line if necessary. That takes care of working copies.

When it comes to backup or mirror, this will have to be done on a Linux based server. Pretty much use Debian for all server tasks. I have no problem scripting something if necessary to mirror the repository. But I would very much prefer a proven method, some recipe to follow that just works.

Essentially I'd like to keep the learning curve to a minimum. But at the same time I'd like the stuff I cook up be available and not hidden in a "virtual closet"....

olikraus

I like the google code wiki and i got used to hg (supported by google code). It seems that git is a little bit more restrictive, at least i spent more time to setup git.

I do not care much about the version manager, but i would miss the google wiki (and the google tracker if there is nothing similar on github).

But here is my follow up question: What does the Arduino Team think?
Any news about this thread:
http://arduino.cc/forum/index.php/topic,73531.0.html
Shell we all migrate to github with our libraries?

Oliver

Go Up