Live data from Hacker News

Ask HN: Alternatives to GitHub

news.ycombinator.com

51–60 of 468 posts

Re: Ask HN: Alternatives to GitHub

#51
post #44

my favourites are sourcehut (that has excellent ci, and does not try to be a github clone) and codeberg (with slightly more straightforward migration path from github) [0] sr.ht [1] codeberg.org

Does sourcehut still require patches via email instead of "pull requests"? That was the deal breaker for me last time I looked at it.

> Does sourcehut still require patches via email

I'd guess the technically correct answer to this question is "yes". But sourcehut has very good mailing list support, that is essentially equivalent to github pull requests.

Still, I find the wording of your question a bit prejudiced... as if I asked "does github still require pull requests via a proprietary interface instead of just sending the patches?"

Re: Ask HN: Alternatives to GitHub

#52
post #27

Earlier quoted context omitted.

Is their CI and CD workflow robust like gitlab/github ?

You can use any CI/CD you want. The only reason GH is popular is that it's free for public repos. But Forgejo does have a GH like CI/CD. If you really care about good CI/CD then you should try some of the alternatives out and decide what works best for your needs.

What can you recommend?

Re: Ask HN: Alternatives to GitHub

#55
I migrated everything to codeberg several months ago (and created an annual donation schedule). I was never a big fan of github but what ultimately pushed me to ditch it was the way github was shoving copilot/chatgpt in my face without me ever asking. Codeberg has a clear stance on that and it's a stance I can totally get behind.

In addition I spun up forgejo at a server at home for very critical stuff and it's awesome.

Re: Ask HN: Alternatives to GitHub

#56
If only there was a convention for storing PRs and issues and wiki inside the repository itself, similar to how Fossil[1] does it.

Then all the GitHubs and Gitlabs of this world would be limited to just providing UI and would be unable to hold our data hostage by design.

[1] https://fossil-scm.org/home/doc/trunk/www/index.wiki

Re: Ask HN: Alternatives to GitHub

#58

If an org is heavily invested in GitHub Actions and GitHub App integrations, is self-hosting GitHub enterprise the only practical option?

no; gitea and foregjo both support actions-style CI/CD and both serve mostly GH-compatible APIs and have GH-style apps. it's not 100% compatible (forgejo is a little more compatible than gitea [^1]), but many of your workflows might "just work" without even renaming the .github folder.

^1: in my recent experience, for my particular use cases

Re: Ask HN: Alternatives to GitHub

#59
post #27

Earlier quoted context omitted.

Is their CI and CD workflow robust like gitlab/github ?

If you know GitHub actions then you’ll immediately understand Forgejo actions. It was designed that way intentionally. There are some differences, but at least for me not enough to warrant any pitchforks. If you have advanced use cases you might be more frustrated, but I’m not aware of any off the top of my head. I think my biggest complaint is that they haven’t exposed action logs over the API, so I can’t build tool…

A basic API to access Actions logs was added in Forgejo v16. `/api/v1/repos/{owner}/{repo}/actions/jobs/{job_id}/logs`
Post reply on HN