Why should we put source code on github?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Why should we put source code on github?

Post by Henk »

If you want to keep your source code private you have to pay them 7 dollars per month.

So that is one disadvantage.

[only in it for the money]
mar
Posts: 2554
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Why should we put source code on github?

Post by mar »

try bitbucket. you can have as many private repos as you want for free
Martin Sedlak
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Why should we put source code on github?

Post by xr_a_y »

or simply install gitlab on your own server ...
AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

Re: Why should we put source code on github?

Post by AlvaroBegue »

Or simply keep your code open.
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Why should we put source code on github?

Post by jdart »

I'm quite happy with it. I don't really like the interface of sourceforge/bitbucket, although technically I suppose there is nothing wrong with them.

If you are the only developer and your project is closed-source then the only advantage of putting it on github is having it stored in the cloud (they have reliable redundant storage). But could get the same thing by putting it on Amazon S3, quite cheaply.

--Jon
smcracraft
Posts: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

Re: Why should we put source code on github?

Post by smcracraft »

gitlab is great for narrow focus work in small teams if one wants to keep track of one's own code and do the needful.

We use github but I have long advocated for a local server instead, especially now that Microsoft owns github.
User avatar
WinPooh
Posts: 267
Joined: Fri Mar 17, 2006 8:01 am
Location: Russia
Full name: Vladimir Medvedev

Re: Why should we put source code on github?

Post by WinPooh »

Another option is to install Dropbox and create your central repo in a synced folder with "git init --bare". No need in a git server at all, just work with a filesystem repo. As a bonus your get incredibly fast pull and push operations on a local machine.
smcracraft
Posts: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

Re: Why should we put source code on github?

Post by smcracraft »

Generally, in IT, you want to silo functions on servers or containers (or lambda serverless functions) so that when the given system breaks, it doesn't break everything.

Concentrating everything on one server is a big no-no, even with reliable backup.

Time to restore and get everything back on track and the number of affected services mounts.

Do not put all your eggs in one basket.