Hacker News new | past | comments | ask | show | jobs | submit login
[dupe] Gitea – A painless self-hosted Git service (gitea.io)
187 points by brettlangdon on Jan 21, 2017 | hide | past | favorite | 52 comments




What's different between Gitea and Gogs?

I just setup the Gogs docker image the other day to play with, and it seemed pretty painless to me.

Edit: I just found https://blog.gitea.io/2016/12/welcome-to-gitea/ which somewhat answers this - essentially a different governance model and more development, but not any major functional differences.


Gittea is a community fork of gogs motivated by dissatisfaction with the current maintainer.


Is that the plural for contributor nowadays? Goose::Geese ::: Contributor::Community

Why are people eager yo forget that users are also members of the 'community'?


I set up a private gogs server at work in about 1 hour (most of that time was spent learning how vagrant works with ansible). My first reaction looking at Gitea is how similar it looks to gogs. The landing page seems identical.


It is a fork of gogs because of governance issues.


If you're like me and were staring at Gitea's web site thinking, "dang, how do I run this as a daemon," Gogs (from which Gitea forked) has a nice page on doing this: https://gogs.io/docs/intro/faqs.html


Um.. On the front page - "Simply run the binary [1] for your platform"

[1] https://docs.gitea.io/en-us/install-from-binary/


"as a daemon".

The link shows how to run the app, not how to run it as a daemon. That said, the answer is platform specific, although it would be useful to have some common examples.


>"it would be useful to have some common examples."

I found this page useful when setting up Gogs as a Windows service:

https://gogs.io/docs/installation/run_as_windows_service


You tell your service manager to run the binary?


Adding to the sibling comment, Gogs is not a Gitea fork. Gitea is a Gogs fork, because of the single-maintainer model of Gogs.

See this other thread: https://news.ycombinator.com/item?id=13452025


"Gogs (from which Gitea forked)" → "Gitea forked from Gogs"


For those who want to try the project online, just go to https://try.gitea.io

For fast questions and talking there's a Gitter chat room: https://gitter.im/go-gitea/gitea

For feature requests and bugs go to https://github.com/go-gitea/gitea/issues


Another great thing is, they offer a lot of binary releases, especially for ARM platforms, so it works out of the box on e.g. Synology NAS (the Marvell based ones).


Most apps written in Go do, example: https://github.com/zyedidia/micro/releases

It's because Go doesn't use gcc or LLVM for linking - it has its own built in linker that doesn't depend on the host system, so cross-compiling is totally trivial. I have no idea why gcc wasn't written like that.


I like it. At my work(big corp that built a wall for for all engineering work and prevents engineers from using SAAS), this will be very helpful as it is a single binary built from open source Go. I'll try hosting our team's internal scripts and tools through this.


I'm eagerly looking for a solution good enough to let me ditch our current paid/hosted service. Gitea seems like it's getting really close, but a couple concerns linger:

* how does the pull-request/code review UI look? didn't see any examples on https://try.gitea.io/ or main website

* mobile/responsive UI would be really nice for small screens


RE: how does pull request/code review look?

https://try.gitea.io/gitea/gitea/pulls/2

Looks pretty much like github to me.


thanks for the link; that looks nice & clean.


Wow, that is quite similar.


Just download and run the binary. It's very similar to github actually.


This time looking at this, I notice they have Dockerfile.rpi.

the kicker for moving to gogs from gitlab was that gogs had a prebuilt official rpi image... but it was several version behind the x86 one. I have no issues building images myself, but usually it feels like a lot of hoops to jump through to make things work on rpi. Having an rpi dockerfile really just makes me feel extra comfortable about things - not having to worry about weird x86 only dependencies and having to resolve them myself.


That's great! Zero-dependencies services are much appreciated.

In line with recent discussion how Maintainers Don't Scale [0] I think that software like this is a bit of an answer for dev-tools.

I think that kernel developers prefer tools that they can reasonably understand. Eventually tools that are easy to host (while having certain mindset). That's why most kernel related web services are probably written in Perl, in C (cgit) or in Python to some extent. I think Ruby on Rails or Java is not compatible with this mindset. Maybe Go is?

When I am thinking of self-hosted web facing services myself I have similar mindset. Every time I see that it's written in Java, Ruby or Node.js I pass. For certain it's many times counter productive, but I can't (or don't want to) help myself.

I tried to find the source behind LKML, but it's hard because most searches containing LKML will be just kernel related. It probably is written in Python as the developer behind LKML is a Python developer.

[0] https://news.ycombinator.com/item?id=13444560


I have been using takezoe/gitbucket for a while now and have been happy with it , gitea seems to be the new kid on the block :), its also impressive to note that DigitalOcean has sponsored their hosting. One advantage I see with Gitea is that it uses Go and this will give it the power of scaling. Congratulations to the team and I look forward to the evolution of gitea


I read through the Gogs repo and there didn't seem to be any organized 'community' of users or talk of a fork. The author was away for a couple of weeks to come back to this news.

Is open source about contribution or just forking? At the moment it seems the the best way to open source is to be a well funded project with tons of resources and people specifically to manage the community because of intense expectations with projects declared dead even for one week of inactivity by some users.

What I am increasingly noticing with small teams or one man projects is if the project gains some popularity some 'community' folks pop up who first place an oppressive burden of expectations on the author and then try to fork the project. There is some element of misuse of the word 'community' by a small clique of people.

Why are community expectations so high, is continuous development and an ever expanding feature set the only way to develop? I think a culture of undue pressure is being created on open source authors and projects.


gitea was initially just a fork so development could continue - with every intention of merging it back into gogs.

However, Unknwon, responded here [0], let me point out his main reason for not merging back:

> Gitea won't be merged back to Gogs, it's not about merging work is huge and hard, it's the differences of fundamental philosophy. I personally do not like to push hard to release new features, but make code neat and clean, it's not good for business, but Gogs isn't a business, making it is what I love to do.

[0] https://github.com/gogits/gogs/issues/1304#issuecomment-1246...


Success in open source is simple and hard: make useful code and let others help make it even more useful (and better). Being well funded isn't a requirement, and may be a two edged sword (docker vs rethinkdb).


This space is becoming so full of open source offerings, I wonder if or how long the enterprise solutions can stay afloat.

Is Github making the kind of money they aimed to when they raised all of that VC money? What about Gitlab and Atlassian?

I realize that Github and the like have distinguishing features, such as issue trackers, but I can't imagine open source will lag far behind forever.


You're forgetting one of the two major features of SaaS repos (and software in general):

1. Someone else hosting, securing & backing up all your repos.

2. Someone you pay to blame when there are issues and hopefully with the incentive to fix quickly.


You're forgetting one of the two major disadvantages of SaaS repos (and software in general):

1. Someone else is hosting, securing & backing up all your repos.

2. You are at the mercy of someone else when there are issues to fix quickly.


Right. And a lot of people, taking a look at those advantages and disadvantages, determine that SaaS repos make sesnse for them.


Exactly. I had, at one point, run through all of the latest open source offerings in this space. Right after I got everything up and running, the initial whisper of maintenance came back and I purchased the entry level GitHub subscription. There are other aspects which help these commercial offerings as well, such as brand affinity and switching costs. This usually leads to more newer developers using the same platform as their colleagues, thus prolonging the aforementioned brand affinity.


While I agree with your second assertion, I would think that most companies would prefer to have on-premises hosting for their intellectual property. Github and Atlassian offer this.


My impression is that many large organisations would prefer that, but most small organisations would prefer to outsource these kinds of things if possible. From a perspective of how much money you will make, I think focusing on the small organisations will be better. The economies of scale just don't kick in until you have a couple hundred employees (or more!). Especially from the standpoint of security, most small organisations simply can't hire the staff they need (couldn't afford them even if they could find them). So there is a solid market need there. On the other side, large organisations have the skills they need to roll their own if they choose, so your business plan has to rely on walking that line of offering software/services more cheaply than these big organisations can do for themselves. Personally, I think that long term this will be a losing battle. Although Github has a strategy for large businesses, I think they are better positioned to service small businesses. For this reason, I much more bullish on Github than I am Atlassian (which seems to tie their horse to enterprise at every turn).


I fail to understand the difference between Gogs and Gitea?

Did anyone try it and how does it compare to Github, to Gitlab (hosted/free and entreprise) ?


Gitea is a fork of Gogs, the reasons for the fork are explained at https://blog.gitea.io/2016/12/welcome-to-gitea/


Is it possible to upgrade a Gogs installation to Gitea?

I really like Gogs, but it is true that while I admire @Unknwon's drive, the project needs more maintainers.



Wow, that must really sting. They literally stole his creation. He shouldn't have released it under a permissive license if he's not willing to collaborate.


So first of all, no one stole anything. Wether the author should have released this under a permissive license or not is a different debate. However, he did, so no stealing, literally.

The author is also not unwilling to collaborate. Just look at the history of accepted PRs for example. However, he is unwilling to give others wider access and control over the direction of Gogs (which is totally his right):

> This happened not before trying to convince @Unknwon about giving write permissions to more people, among the community. He rightly considered Gogs his own creature and didn’t want to let it grow outside of him, thus a fork was necessary in order to set that code effectively free.

As to whether it stings I'm not sure. They had conversations around this topic and the conclusion was that a fork was what's needed for what (part of) the community wanted. Though it's possible for the original author to see this as a slap in the face I hope he sees it more as a huge testament to what he's achieved with Gogs so far.


The original author has absolutely no duty to be willing to collaborate or to spend X amount of time on his project (which seems to be the bigger issue here, project blew up while the creator has less time for it), permissive license or not. He can run his project however he likes. And with the permissive license, those that disagree can run their fork however they like. No stealing or bad blood necessary.


You must be new to open source.

This is how it is suppose to work, and many times BOTH projects will be stronger for it.

Prime example is the Split and then merge of NodeJS and IOJS because of that fork NodeJS is much stronger project today.


A direct quote from Unknwon:

> In my point of view, it's a sign of success of Gogs that Gitea forked it. Gogs is under MIT license and there is no problem with me totally that Gitea is developing its own version. It happens often in open source community(when you are not satisfied with upstream version, I fork a lot actually). [0]

[0] https://github.com/gogits/gogs/issues/1304#issuecomment-1246...


...hosted on Github ;-)


To be fair, that is likely more due to Github's network effects than deficiencies in Gogs/Gitea.


I agree and I was being partly tongue in cheek, but with an element of seriousness also.

It's a far more compelling story if a project like this is self hosting compared to hosting on what is essentially a competitor in the same space.


love the name -- Gitea! :) So clever!!


If you think hosting anything is painless then you never hosted anything important.


It's a single binary, that's a lot less pain than having to set up tons of dependencies, no need to patronise.


This is the real beauty of Go, IMHO.


There is nothing beautiful about how go itself handles dependencies.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: