from Hacker News

Ask HN: Why don't more companies self-host repositories?

by anxiously on 10/29/22, 3:02 PM with 2 comments

Most companies have an organization on Github and use it for their public SDKs, API wrappers, etc.

These companies tend to not take pull requests or anything, so there's little social interaction. Why don't most of these companies self host read only repositories for these SDKs?

It seems like they add a dependency (Github) for little gain (maybe some SEO link juice and the rare issue that gets reported).

  • by al2o3cr on 10/29/22, 3:06 PM

    If they already use Github for their _private_ repos, then it's the opposite situation: running a separate read-only site for the public code would add an entire web-facing system for no gain.
  • by Emigre_ on 10/29/22, 3:17 PM

    But are we sure it is most?... It would be good to know the percentages, distribution by company size, etc. Seems like quite interesting info.

    I imagine that hosting a code repository gives the company control over it, but it can be a nuisance too. Using Github is just outsourcing that particular task, as companies do for other concerns.