Live data from Hacker News

Gitea: Open source, self-hosted GitHub alternative

gitea.io

111–120 of 241 posts

Re: Gitea: Open source, self-hosted GitHub alternative

#111
post #39

devops sysadmin here. I started with gitlab about a year ago and can honestly say I wish I had taken gogs/gitea instead. The main problem for me is gitlabs utter dearth of somewhat counterproductive features. Git LFS support is almost a cruel joke in gitlab as git operations under the hood now take inexorably more ram to complete. In turn im rewarded with more traditional RCS programmers asking why git has problems w…

> gitlab is also so large it requires its own chef deployment to competently install it from omnibus, and has no HA roadmap in sight unless you want to break apart its rube-goldberg structure and attempt to HA the individual components of it. Use the gitlab-ce docker container and save yourself the hassle. Literally takes less than 10min to set up and a version upgrade is nothing more than docker stop, docker rm, doc…

NFS will give you redundancy but not high availability. In fact it will probably lower your availability the first time NFS gets hung.

But if manual intervention works for your setup, then you probably don’t really need HA anyway, just redundancy.

Re: Gitea: Open source, self-hosted GitHub alternative

#112
post #110

So I keep a few GB of source online via CVS http://unix.superglobalmegacorp.com/ , and I have been shying away from git anything as I did a gitlab install for someone and was amazed at how much hardware I had to throw at it, unlike CVS+CVSWeb. Although just seeing how trivial it was to deploy now I'm thinking about maybe running this in parallel at least. I still like being able to use CVS from ancient machines... Bu…

Have a look at reposurgeon for your old-repository-to-git needs.

thanks for the tip

Re: Gitea: Open source, self-hosted GitHub alternative

#113

Earlier quoted context omitted.

> [...] and implement competent things like competent CI [...] I've got an OSX build box with a bunch of virtualbox VMs so I can build for Gnu/Linux (i386, x86_64, and arm), OSX, and Windows. Single slow box, so one runner at a time. It has to be running OSX because I haven't found any way to run an OSX VM on any other platform. I want to trigger CI on Gitlab merge requests. What does $competent_CI expand to?

> It has to be running OSX because I haven't found any way to run an OSX VM on any other platform. It is fairly easy to get decent OS X virtualization using Debian as base OS and QEMU-KVM for virtualization. You won't have niceties such as GPU acceleration but it will work. Search for "OSX KVM" on Google, it will take you where you want - unfortunately a direct link would expose me to legal liabilities. Also, be warn…

Hackintosh systems are easy as long as you're not looking to update them after everything is working correctly.

They are fragile systems that one doesn't really want to risk production environments on in my opinion.

Re: Gitea: Open source, self-hosted GitHub alternative

#114

Earlier quoted context omitted.

Very like Gogs. I'm not a fan of Go, but it does lead people into some right decisions, that Ruby and Python lead them away from. Anyway, the problems start when you want to be sure it's running all the time your server is on, and on integrating it with your other web applications. Still, it's strictly better than interpreted environments.

> I'm not a fan of Go, but it does lead people into some right decisions, that Ruby and Python lead them away from. If languages are making decisions for you, you aren't engineering software.

If you don't think the tools we use shape the abstractions and solutions we pick, then I don't think you've reflected much on the matter.

Re: Gitea: Open source, self-hosted GitHub alternative

#115
post #10
post #4

What's the value add of this over GitLab?

We used to use Gitea, compare to Gitlab: - uses less resources, a 512MB VM is enough for a small team. Meanwhile Gitlab requires at least 4GB IIRC. - is easier to setup, just a single binary file. Everything else, it can't compete with Gitlab. I'm using it as my personal Git server, works pefectly for 1 user.

I have a gogs installation. One of the main thing I was it for is to synchronize (and backup) my github repositories.

Gogs is able to sync an external git repo every 12 or 24 hours.

That way, if one day, Github goes belly-up, even if it's unlikely in the foreseeable future, I would have a backup plan.

I also use it for personal and not public projects (automation scripts, secrets, etc).

Re: Gitea: Open source, self-hosted GitHub alternative

#116
post #18

I've been using Gogs for a team of 40 people for over two years. This is the second time I've heard about Gitea, and I know it is a popular fork of Gogs. Can anyone sell me on why it's better than Gogs and why I should switch?

Don't switch. Long story short: Gogs was slow in committing pull requests. The maintainer says it's because he has specific standards, the community sees it as just slowness. Anyway Gogs was forked into a new version that is supposed to be more active and well maintained. Well the forking lit a fire under the ass of the Gogs maintainer and he has since become much more active than he was. For a month there there was…

Thank you for that I was wondering about it too. I'm pretty happy with Gogs as it is.

Re: Gitea: Open source, self-hosted GitHub alternative

#117
post #62

I like open source self-hosted alternatives to everything, though some headhunters, for those looking for work, may either ask for your github link or figure it out themselves in order to further size you up, one possible utility specific to github.

Don't count on your Github account for recruitment. I've a decent number of personal projects on Github, some of them actually used by other people. But I can count on the finger of one hand the number of times I was contacted by someone saying "hey, I've looked at your Github account, you seem like a decent developer, would you want to work with us?"

However I prefer to put stuff on Github because it's the go to place for OSS projects right now. If you are publicly releasing a project, it's with the hope it will be actually useful to other people, putting it on Github increases the visibility of said project and the likelihood of it being useful to other people.

Re: Gitea: Open source, self-hosted GitHub alternative

#118

Quick comparison from GitHub stats and READMEs: Gogs: 24,564 stars, 602 issues, has a features list. https://github.com/gogits/gogs Gitea: 5,971 stars, 733 issues, doesn't have a features list. https://github.com/go-gitea/gitea Gogs features (from README): Activity timeline SSH and HTTP/HTTPS protocols SMTP/LDAP/Reverse proxy authentication Reverse proxy with sub-path Account/Organization/Repository management Add/Re…

Gitea is a disreputable and hostile fork of gogs. You should stick to gogs.

Re: Gitea: Open source, self-hosted GitHub alternative

#119

Quick comparison from GitHub stats and READMEs: Gogs: 24,564 stars, 602 issues, has a features list. https://github.com/gogits/gogs Gitea: 5,971 stars, 733 issues, doesn't have a features list. https://github.com/go-gitea/gitea Gogs features (from README): Activity timeline SSH and HTTP/HTTPS protocols SMTP/LDAP/Reverse proxy authentication Reverse proxy with sub-path Account/Organization/Repository management Add/Re…

I'm wondering if Gitea is a little better than Gogs in term of security.

I remember that Debian considered Gogs to replace Alioth, but rejected it because of security concerns like injections (SQL XSS, etc).

I've also seen Gogs REST API behave badly when we tried to migrate/create a few hundred repositories using said API. Some of the repositories had special characters in their names, and the REST API accepted them without warnings. And after that the instance was pretty much unusable.

It was a while ago, but at the time, it seems that Gogs didn't do much input sanitization.

Re: Gitea: Open source, self-hosted GitHub alternative

#120

Earlier quoted context omitted.

I concur with you on the resource usage of Gitlab. It's a complex system, and takes up a lot of resources. I haven't been able to get it to run in a stable manner with less than 8GB of RAM on a very moderately used setup. BUT I very much disagree with your general rejection of it's worth. Yes, the feature set is ballooning, and some of them are very half baked. But I find tremendous value in a integrated solution tha…

Well gitea/gogs also have code hosting, wikis, issue tracking, and while CI is not tightly integrated it is fairly easy to integrate. So the value has to come from something else :) GitLab has integrated chat and kanban boards so there is other cool stuff in Gitlab but it's not really any of your listed reasons. Edit: I would have to say if I were to choose GitLab the biggest reason would be the UI. The front-end jus…

What would you recommend as CI solution for gitea?

I'm looking for something that's self hosted, foss and does not require an admin to set it up for every project. GitLab offers this, but I haven't found anything that competes really.

Post reply on HN