Hacker News new | ask | show | jobs
by ctvo 4112 days ago
What's the value of hosting your own Github alternative as an organization / company? Do people have on-premise requirements and don't want to pay for Github enterprise? I assume most start-ups don't and 25 USD for 10 private repositories isn't going to break the bank.
7 comments

> What's the value of hosting your own Github alternative as an organization / company?

Despite Github maturity not everyone is comfortable hosting their own code at someone else's host. Github could get hacked, employees could copy your code, etc. Github Enterprise can help with these concerns, but it's expensive.

+1 It's not a matter of cost, we'll just never trust a third party for hosting our code.
This 100x. A lot of employers (including several I've worked for) have strong security policies, and like have 4-5 nine uptimes; the security aspect, if your code contains a lot of valuable IP, is huge, and I would be rather wary of letting Github be responsible for my own IP for non-open source projects, rather than the more palatable choice of having control over it in-house.
If you have some commercial secrets which you want to keep from competitors who're on friendly terms with US politicians, you often feel uncomfortable having your data hosted under US jurisdiction.

In sensitive domains such as aeronautics, the question of what's hosted where is considered in every collaboration contract, and US or China hosting are typically excluded.

We use at this moment GitHub for "consumption-ready" projects and GitLab internally for young projects.

Reasons for hosting your own:

- Billing is complex as it has to pass through multiple departments; - Most code never makes it out of the company (I sincerely hope); - Configuration files and sensitive data sometimes ends up in repositories, especially with young projects.

So GitHub for big, released stuff and internal repositories for small projects and as a developer sandbox.

I have dozens of small repos so Github is too expensive. For example, all of my Golang packages are 2-10 file individual repos as well as Erlang components etc.

Long ago I had asked github if they would offer a size-based account (e.g. $10/month for 1GB of unlimited repos) but they don't. So Gitlab works really well for me.

If you mean globally, then it should be obvious that banks, private research institutes and other sensitive workspaces are NOT going to use an off-premise code hosting solution.
Ability to add together.js button into the GitLab's Merge Request template.

This makes the coolest tool for remote code review I've ever used.

Sounds cool! Consider contributing it back to GitLab as a project service. Make sure to mention this comment in your merge request.
Actually it's just one <script> header, and a single (ugly) <button> tag duct-taped right into the page template.

I don't think it is either upstream-ready or especially advantageous for the project. Am I wrong?

If you like it someone else might. And submitting it spares the you trouble of maintaining a fork when you upgrade. But making it a project service might be hard. So feel free to not submit it. Alternatively you could write a small blog post about it, maybe it inspires someone else to contribute.
Actually, $12 a month for 10 private repos.
That pricing is for Individual accounts, not Organizations. $25 for 10 private repos is accurate for the latter.