16 ms·
Gitea: Open source, self-hosted GitHub alternative
- nimbius 8y agodevops 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 with their newly requested LFS and a 40gb video file they decided to store. 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. Other things like Wiki, local runner CI, pages and integration with a corporate Jira ticket system seem like the excessive demands of programmers without enough skill to understand that there is tangible merit in ablating these systems into separate applications entirely and growing them as needed. gogs and gittea allow you to put the brakes on developers that just want to get the code out the door in order to study and implement competent things like competent CI, blue/green deploys, immutable infrastructure and reproduceable builds that target scalable platforms like Kubernetes instead of one-offs that just reward coders with a merciful standup and the chance to say "its done." if you use gittea for no other reason, it is also massively less resource hungry than a gitlab installation. im currently throwing 4 cores and 8 gigs of ram at my gitlab install with another 2.3tb of disk and frankly no end in sight. The gitlab rake task for backups has sent oomkiller on a rampage 3 times so far and takes forever. Large installs of 1000 users or more and you'll begin to see why gitlab might not be the best choice. with programmers, the thirst is real...nobody cares about features if the repo wont clone.
- vanderreeah 8y agoPedantic notice: an utter dearth of counterproductive features would seem to be a good thing rather than a problem.
- crankylinuxuser 8y agoAs another systems engineer, I'd much rather have clearly delineated features and how to interconnect them, rather than a cornucopia of disparate and badly documented "features". I'm thinking of the class of "Does:X, Y, Z" but Z requires unstated dependency of A and C, and C requires you to have a specific database organization type that was asked at the initialization of the system. And there would be no hint that you had to choose the DB type, and how that would have ramifications 10 steps down the line. Going back, what I'd rather have is more in line with the Unix philosophy. Do something and do it well. Let me connect somethings to other somethings. But Gitlab is a cathedral, and disorganized at that.
- kevinherron 8y agoI think you're missing the point as well; "dearth" is a lack of. A lack of counter-productive features is a good thing.
- Izkata 8y agoI think you've misunderstood who is responding to who. A "dearth of somewhat counterproductive features" is being described as a bad thing in the OP, using an incorrect/nonexistent definition of "dearth" as "there are too many somewhat counterproductive features".
- IncRnd 8y agoAs they say - less is more.
- code_duck 8y agoI was confused by that, too. I have a problem with the word ‘dearth’ in that I can often not remember whether it means an abundance or scarcity. So I looked it up, and found that it means scarcity. Perhaps GP makes the same mistake I do and misused dearth to mean abundance?
- adrianratnapala 8y ago
- jancsika 8y ago> [...] 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?
- mschuster91 8y ago> 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 warned that using this method may violate Apple's EULA.
- freedomben 8y agoHave you figured out a way to bootstrap it without a Mac? I successfully got an image running under Vbox on Fedora, but I had to build the image first on a Mac and then export it as an appliance. Also, performance was atrocious. It was so bad as to basically make it unusable. 5 second delay before processing mouse and key events.
- kakwa_ 8y agoIt's possible to create an OSX VM under KVM. It's a little clunky, you get very bad graphics performances, and you can run in really weird issues (for example, the NIC not going-up properly), but it works, and if you are using it as a CI platform and/or only sshing into it, it's more than usable. It's really handy when you are testing/adding support for projects (like C/C++ with cmake) on OSX.
- justrobert 8y agoHackintosh 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.
- the_duke 8y agoI 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 that offers code hosting, wikis, issue tracking and a tightly integrated CI without having to jump between 4 different systems. There are a lot of use cases where Gitlab is overkill, but for others it is a really great solution that even comes for free. Also, as long as the system has enough resources, I've found it to run very reliably and upgrades are painless. (I also agree though that the backup task is a PITA. Really slow and resource hungry).
- KaoruAoiShiho 8y agoWell 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 just looks a lot better. If Gogs/gitea could get a sponsor to help clean it up it would be a lot more popular.
- naranha 8y agoWhat 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.
- cobbzilla 8y agoWe use a Gitea for source control and Jenkins for CI. There's an existing jenkins-git plugin that makes connecting them very easy. We switched from GitHub to Gitea last year and love it. We looked at Gitlab but it reminded me too much of phabricator - trying to be all things to all people, bloating all over. I prefer specialized tools that focus on a smaller core of functionality and interoperate easily with the other pieces.
- nfrankel 8y agoI was about to ask "why not Gitlab?". Thanks for answering it in advance.
- mschuster91 8y ago> 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, docker run <new version> away. Only thing I haven't solved with this is HA but you can use a central NFS mountpoint with an HA'd setup there, and simply start a new container on another machine with the NFS mount... will require manual intervention, yes, but it's more efficient than trying to break up the dozens of moving parts.
- jedberg 8y agoNFS 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.
- sytse 8y agoWe're working towards Gitaly 1.0 that would allow you to run GitLab without NFS. This isn't HA but it would prevent one NFS server from taking down the whole cluster.
- sytse 8y agoThanks for posting. HA is a paid feature of GitLab and will likely stay a paid feature. We're working hard on a cloud native alternative to the docker container that works well on Kubernetes. There is more information on https://gitlab.com/charts/gitlab/ https://gitlab.com/charts/gitlab/ and you can see the activity on https://gitlab.com/charts/gitlab/commits/master https://gitlab.com/charts/gitlab/commits/master Since it is cloud native I assume it will allow autoscaling and it neatly orders every component in its own container. Today GitLab is using a lot of RAM and the best way to reduce that is to make the application server multithreaded https://gitlab.com/gitlab-org/gitlab-ce/issues/3592 https://gitlab.com/gitlab-org/gitlab-ce/issues/3592 The first priority is to add rubocop rules for https://github.com/covermymeds/rubocop-thread_safety https://github.com/covermymeds/rubocop-thread_safety There is a WIP merge request in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1899 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1899 Any help is appreciated.
- avar 8y ago> gitlab [...] also [...] 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. We run a very large in-house GitLab installation and the HA is easy because: 1) GitLab stores data on the FS, and you can outsource this problem to e.g. a NetApp filer. 2) The data it doesn't store on NFS it stores in psql or MySQL, which has established HA solutions. Once you have that set up you can load-balance the GitLab nodes and provision / destroy them at will.
- sytse 8y agoThanks, you can indeed do HA this way. When Gitaly 1.0 lands you won't have to mount the NFS volumes on the application servers anymore as everything will go over gRPC.
- avar 8y agoThat just splits up the task of application server & git executor into two, it doesn't get rid of the dependency on a monolithic storage backend. I understand that this is something gitlab.com is working towards and excited about, presumably because it'll allow for provisioning web workers unrelated to the CPU you're spending on running git, but for us I don't see it being useful. I hope GitLab eventually gets something like GitHub Spokes[1] which'll allow for provisioning the entire setup on a bunch of dumb boxes with RAID 0. 1. https://githubengineering.com/introducing-dgit/ https://githubengineering.com/introducing-dgit/
- sytse 8y agoThe advantage is that if one storage nose is offline the rest of the site can still function. Spokes is more elaborate can can deal with node failure. We plan to rely on cloud storage so we can quickly attach a new VM with Gitaly.
- qaq 8y agoIt's hard to imagine that TCO for NetApp + Gitlab is less than Github or some other hosted solution.
- erikb 8y agoExactly my feeling, and I just tried it once on an AWS instance or similar. It was the only serious program running on the machine and it dragged down all the resources, worse than Jenkins ever could. All that doesn't say gittea is much better, though.
- dozzie 8y ago> [...] programmers asking why git has problems with their newly requested LFS and a 40gb video file they decided to store. The thing is, git, as our industry uses it, is not really a good tool for keeping artifacts, and "video" sounds like an artifact, not a source file. I'd like to see more artifact repositories, especially the ones that you can talk to from command line or from a Python/Ruby/whatever script. I haven't found any such thing, so I wrote my own.
- merlincorey 8y agoWhat is your artifact repository called and what are the main features? I'd love to check it out.
- severine 8y agoMaybe https://github.com/dozzie/grailbag https://github.com/dozzie/grailbag
- dozzie 8y agoAs severine found out, it's called GrailBag (https://github.com/dozzie/grailbag https://github.com/dozzie/grailbag). Docs and README are lacking, to put it mildly, so I don't deem it ready for being published, but I don't exactly hide it either. From the features, GrailBag stores files along with key:value pairs as metadata (not surprising), has a command line client to list/modify/upload/download/delete the artifacts, and has a Python module for doing the same from a more sophisticated script. Additionally there is an interpreter of a simple language that describes directory tree where artifacts will be deployed (which artifacts to download, how to name the files, what directories and symlinks to create). This way you can write a cron script that deploys whatever you have in the repository, e.g. in a cold-standby server scenario (two servers having the same configuration, but one shut down and only powered on when the first one fails; on the first run of the cron task, the spare server downloads all the missing files, including whatever got stored while the server was shut down).
- Vaslo 8y agoI had a class last semester that submitted everything through Gitlab and when we tried to run unit tests to test for the correct code, it would hang for 7-8 minutes. Very frustrating. Happened on all the assignments so was not just a one time thing.
- matteeyah 8y agoCould you provide more info about this? What do you mean by "it would hang"? Any specific component that was unresponsive? Was this on a self-hosted instance or on GitLab.com? We'd love to make sure this doesn't happen again.
- JoeMalt 8y agoI had a similar class that used Gigs instead and never had any performance issues. It didn't feel as polished as GitLab though.
- lttlrck 8y agoYeah I didn’t have much luck with LFS but we didn’t really need it so it wasn’t a problem to just disable. I love gitlab. I have it running for a small team on a Digital Ocean Droplet it was trivial to get running. If we had gone for self-hosting we’d have gone the docker route. Having CI built in was a massive boon when we switched over. My only complaint really is the resource usage but it isn’t causing problems (8GB). Aside from that I love it.
- robbiemitchell 8y agoCould you describe these specs in money terms? This reads like it's painful to throw 4 cores and 8 GB RAM at the problem -- what is that costing you?
- tekstar 8y agoCurrently for private repos I just have a dedicated account on my vps that uses git-shell with a few scripts for creating and listing repos. I've scaled it to include a few friends using Linux groups for shared access. Might look at switching to this though as it looks quite a bit more featureful but still simple to maintain
- lobo_tuerto 8y agoIf that's the case, you might as well have a look at gitolite: https://lobotuerto.com/blog/how-to-setup-your-own-private-git-repositories-with-gitolite/ https://lobotuerto.com/blog/how-to-setup-your-own-private-gi...
- deleted 8y ago[deleted]
- lobo_tuerto 8y agoQuick comparison from GitHub stats and READMEs: Gogs: 24,564 stars, 602 issues, has a features list. https://github.com/gogits/gogs https://github.com/gogits/gogs Gitea: 5,971 stars, 733 issues, doesn't have a features list. https://github.com/go-gitea/gitea 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/Remove repository collaborators Repository/Organization webhooks (including Slack and Discord) Repository Git hooks/deploy keys Repository issues, pull requests, wiki and protected branches Migrate and mirror repository and its wiki Web editor for repository files and wiki Jupyter Notebook Two-factor authentication Gravatar and Federated avatar with custom source Mail service Administration panel Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (via MySQL protocol) Multi-language support (29 languages) If anything, Gogs seems like a more polished product just by going through the README. Gitea with all its 2+ maintainers can't take care of that? It's hard to do a comparison without that list. Are users expected to install and find out?
- sondr3 8y agoGitea is a fork of Gogs, so it has everything on that list and more. Sadly Gitea suffers from the usual problem that open source projects has, poor documentation. If you really want to compare feature lists, here's the one listed on their website (https://docs.gitea.io/en-us/ https://docs.gitea.io/en-us/). Why compare two products by their README and not their website? Heck, why not compare them by using their test instances that are there for you to try.
- ausjke 8y agoyes I recommended gitea at HN about one year ago, light-weight and great for self-hosting, good enough for probably 80% of the use cases for most people. I put it on a $5 VPS to host all my personal projects, works great. At the moment I ssh-port-forwarding to access its UI as I'm not sure how secure it is if exposed to the public directly. The only feature I want to have now is something like : https://pages.github.com/ https://pages.github.com/, i.e. a static html site behind gitea login, so I can host all my project-related documents for easy access, not really a wiki fan as wiki is painful to navigate sometimes.
- d0ugie 8y agoI 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.
- kakwa_ 8y agoDon'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.
- jsjohnst 8y ago> But I can count on the finger of one hand the number of times I was contacted by someone Different strokes for different folks. I usually fill the fingers on one hand counting the folks reaching out each week. Rarely are they interesting (like a lot of my stuff on GitHub) positions, but still tons of unsolicited offers.
- tboerger 8y agoSomething have not been mentioned at all, Gitea still got support for OAuth2 which have been simply dropped by Gogs because "nobody needs that". Beside that Gitea still got more really useful features compared to Gogs. But Gitea will always focus on Git hosting and won't bundle with CI, Chat and all that stuff what Gitlab does. There are enough tools you can easily connect to get features that Gitlab got, only if you need it.
- matte_black 8y agoHow do I pronounce it when introducing it to co-workers, Git-tea or Gityea?
- ealexhudson 8y agoJi-tay-uh :-}
- alexozer 8y agoMaybe like goatee?
- striking 8y agoGi-tea or Git-tea seem right, considering the logo is a cup of tea.
- jfim 8y agoIt's a pun. It's written in go, and the project is gitea, so go-gitea (go get tea).
- gsich 8y agoAs a native German speaker: git is not spoken with English pronunciation, so Gitea, also without English pronunciation.
- gsich 8y agoDownvotes show that this is the right way to pronunce it.
- comradesmith 8y agoPerhaps its like gitty, rhyming with giddy?
- madsbuch 8y agoHow does this compare to GitLab?
- muratsu 8y agoI was also wondering this, plus kind of expecting it to be hosted on gitea. Being hosted on github lowers my confidence.
- madsbuch 8y agoIt could potentially be the result of a more lean (or non existing) organization. It takes resources to host such a platform.
- jfdev 8y agoGitea has a TODO list for hosting Gitea on Gitea. See https://github.com/go-gitea/gitea/issues/1029 https://github.com/go-gitea/gitea/issues/1029
- muratsu 8y agoThanks for pointing it out - I didn't go through the issues before posting. Most compilers I'm aware of gets compiled by themselves. I think it's great for two things: 1) Show how serious the compiler is - compiler code tends to be complicated 2) Free real life testing I was expecting Gitea to be hosted on Gitea for the same reasons. Was trying to offer criticism but got downvoted immediately, ahh HN =)
- gsich 8y agoDepends on what you need. Gitea has no CI like Gitlab. Besides that it is a lot less resource hungry.
- nik736 8y agoGogs + Drone pairs very well :)
- Tenobrus 8y agoWhat's the value add of this over GitLab?
- Operyl 8y agoFrom what I understand, it’s a lot more lean. The memory requirements are significantly less, last I reviewed.
- Touche 8y agoEasier to deploy. Compile to a binary, just run it.
- jacobush 8y agoIn this respect, it's like Hippel's (of Sqlite fame) Fossil.
- favadi 8y agoWe 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.
- kakwa_ 8y agoI 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).
- amq 8y agoGitea is incredibly fast.
- Arg0naut 8y agoJust started trying out Gogs. How come Gitea felt the need to fork it?
- laurent123456 8y agoGitea seems more active as there's more people working on it: Gogs: https://github.com/gogits/gogs/graphs/contributors https://github.com/gogits/gogs/graphs/contributors Gitea: https://github.com/go-gitea/gitea/graphs/contributors https://github.com/go-gitea/gitea/graphs/contributors (switch from one tab to the next to see the difference)
- nik736 8y agoThe owner of the Gogs repo doesn't accept pull requests that won't fit his roadmap or quality standards, he is also not the most responsive during times this is why some people created Gitea. I am still using Gogs personally.
- VikingCoder 8y ago> or quality standards You say that like it's a bad thing.
- BeeOnRope 8y agoI don't read it that way. How do you get that impression?
- VikingCoder 8y ago> The owner of the Gogs repo doesn't accept pull requests that won't fit his roadmap or quality standards, he is also not the most responsive during times this is why some people created Gitea. I am still using Gogs personally. Let's break it down: > The owner of the Gogs repo doesn't accept pull requests that won't fit his roadmap That generally sounds bad. Like, in an ideal world, you would be open to changing your roadmap. Specifically the timing, for sure. Also, you would be open to accommodating features you hadn't thought of, etc. So, this sounds like a negative, basically. > or quality standards, Starting with a negative, continuing with just an "or" makes it sound like you're about to list another negative. I'd expect a "but" or a "but thankfully," or something. > he is also not the most responsive during times this This is absolutely a negative. He doesn't bad thing, or xxx, he is also bad thing. Reading that sentence structure makes "xxx" sound like another bad thing.
- mcny 8y agoI would like to see a full-fledged docker installer something to the effect of the discourse installer that I can put on something like digital ocean or my own machine, handles https in an opinionated way (let's encrypt), and integrates with popular email services like sendgrid or mailgun (with generous free tiers).
- grinsekatze 8y agoI have made a tool with which I can easily deploy and backup/restore dockerized web apps. Configuring and deploying gitea (or any other service I integrated so far) only takes a couple of minutes. Services are run behind an nginx reverse proxy container and Let’s Encrypt certificates are automatically issued if you choose so during config. The only requirement is docker. I have been using it for about a year and recently put it on github, because I found it useful enough to share. You an find it here https://github.com/chaosbunker/dockerbunker https://github.com/chaosbunker/dockerbunker Maybe not exactly what you are looking for, since I am not familiar with the discourse installer, but maybe interesting for someone? I’m happy about some feedback, since I never actively shared this until now.
- nik736 8y agoWhy though? It's a single binary.
- mynewtb 8y agoThat does not sound very webscale imho.
- coppolaemilio 8y agoYou need to docker those dockers to make it docker.
- rajington 8y agohttps://docs.gitea.io/en-us/install-with-docker/ https://docs.gitea.io/en-us/install-with-docker/
- striking 8y ago
- nwmcsween 8y agoSomeone needs to make a _simple_ git interface, have a post commit hook generate a partial and let a client side interface simply pull relevant partials.
- imptipotockciti 8y agoIt's hosted on Github... How ironic.
- vesche 8y agoIt's not a public service, it's self-hosted.
- vesche 8y agoI'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?
- tscs37 8y agoPersonally I've found Gitea to have a bit of a quicker pace in adopting new features, though lately there has been mostly a bugfix spree before the release. If you're comfortable with Gogs you can stay though I do recommend to try out Gitea. IIRC from last time I compared, other than a few minor features they are mostly on part with Gogs.
- sondr3 8y agoThe biggest difference is the community around them, Gogs is more or less the brainchild of Unknwon and he used to have a tendency to just drop of the planet and Gogs would sit still for weeks (or even months) at a time without anyone being able to do anything about it. Gitea was a community response to this, nearly all the major contributors switched over and I think it shows in terms of features and fixes. Gitea now has well over a thousand more commits than Gogs and a lot more manpower behind it. You can see this by looking at the contributor graph for both projects, Gitea has had a steady supply of contributors and commits in the last release while Gogs has a few spikes of activity. Also, if you look at the release notes for both of them I think it's fairly easy to see that Gitea is developing at a much faster rate and has more features than Gogs already with a lot of nice features coming in 1.5. However, I'm fairly biased, I used Gogs for a long time but switched as soon as Gitea popped up for the reasons above. Since then I've contributed a few fixes and features to Gitea as well.
- KaoruAoiShiho 8y agoWhat's some stuff worth getting excited about in 1.5?
- sondr3 8y agoPersonally: - Issue due dates (https://github.com/go-gitea/gitea/pull/3794 https://github.com/go-gitea/gitea/pull/3794) - Approval/comments on pull requests (https://github.com/go-gitea/gitea/pull/3748 https://github.com/go-gitea/gitea/pull/3748) - Multiple assignees on issues (https://github.com/go-gitea/gitea/pull/3705 https://github.com/go-gitea/gitea/pull/3705) - Dependencies for issues (https://github.com/go-gitea/gitea/pull/2531 https://github.com/go-gitea/gitea/pull/2531) - CI status on pull requests (https://github.com/go-gitea/gitea/pull/2519 https://github.com/go-gitea/gitea/pull/2519)
- reacharavindh 8y agoFor those curious, I'm a sysadmin, and I used Gitea to deploy a Git server for a very small project with just 8 users. It was a lot simpler than setting up a full blown Gitlab instance. It is just one binary to get running and that's it. The 8 users are instantly familiar with the interface because of its similarity to GitHub. We even have other users who are not contributors read the source through Gitea interface, rather than cloning the repos and reading locally. It's a pleasant experience for small scale needs.
- Bedon292 8y agoWas trying to figure out why it looked almost identical to Gogs, until I read it was a fork. So, what does this give me over using the main Gogs? I see it is managed differently, but what features does it offer that are not in Gogs?
- lobo_tuerto 8y agoPrecisely, have a look at this: https://news.ycombinator.com/item?id=17006848 https://news.ycombinator.com/item?id=17006848
- tscs37 8y agoI've been running Gitea for a long while now, basically since the fork occured. It's mostly me with some other small users for course work. It's a very pleasant and lightweight alternative to Github that I can only seriously recommend to anyone considering hosting their own Git Server. Recent update even brought mentions and reactions from Github over. (Setup Github OAuth for easy onboarding)
- sarkisv 8y agoI feel like the vendor lock-in will prevent most from ever leaving github, specifically things like the deployments api and other api interactions via webhooks (into PRs for example)...
- platz 8y agoOpen source software tends to be plauged by UX, css, design, spacing/padding/margin & typeface issues which makes it somewhat grating to use, which I mention after browsing around the the gitea test instance for a bit.
- tboerger 8y agoMaybe this is the case because free projects not backed by a company can't pay a professional frontend engineer :)
- jrochkind1 8y agoIs it harder to pay a professional frontend engineer than to pay anyone else?
- tboerger 8y agoAt least for Gogs and Gitea nobody gets payed at all, same for lots of other opensource projects. So of course it's hard to pay some frontend engineer if none contributes to the project :)
- platz 8y ago:)
- jrochkind1 8y agoIt's harder to get a frontend engineer to contribute, than the other engineers who do?
- tboerger 8y agoSeems like that, the number of developers is always growing, but AFAIK none of them is a frontend engineer.
- fs111 8y ago
- kbumsik 8y agoBy looking at README and the original Gogs project, it looks like these projects are gaining some attention in China. It is quite interesting for me when these are written in Go which is Google’s proejct blocked by the Chinese government.
- ruffrey 8y agoI played around with the test instance of this on their website. It is very impressive. It seems to have the 90% of features that most people use github for, and it hosted easily. Certainly worth a look in my next startup when considering whether we want to self host our own codebase.
- jrochkind1 8y agowhat was amongst the 10% you thought missing?
- tiffanyh 8y agoGitea will get much more recognition for their great efforts once they are self-hosted. https://github.com/go-gitea/gitea/issues/1029 https://github.com/go-gitea/gitea/issues/1029
- tboerger 8y agoI wouldn't say that directly, maybe it gains more trust because it's serving on their own code, but maybe this could also decrease the contributions because the people got to authenticate on just another system to contribute something. We will see how well this works out, most required features are already there, the remaining will follow soonish.
- AsyncAwait 8y agoUntil there's federation in Gitea, it makes sense to host it on Github for easier outside contributions.
- kazinator 8y agoWhere is this self-hosted GitHub alternative itself? According to https://gitea.io/en-US/ https://gitea.io/en-US/: > It’s all on GitHub accompanied by an invitation to join the development there.
- tboerger 8y agoAs you can see on https://github.com/go-gitea/gitea/issues/1029 https://github.com/go-gitea/gitea/issues/1029 and on another comment here it's still in the works to host gitea development on gitea instead of github. But nobody in the team wants to do the switch if not all features are available that we rely on today at github.
- warmwaffles 8y agoThat's the beauty of git, it's just a server you push and pull files from.
- salu22 8y agoghgfdh
- jwbaldwin 8y agoI've been using Gitea, previously using Gogs, for a team of 45 and have had a very pleasant experience. Getting it up and running with docker* was smooth and it works easily with Certbot. Definitely a great option for a GitHub alternative where you aren't looking for a feature-packed, i.e. large, deployment like Gitlab. It's simple and clearly delineated in its functionality. However, it does suffer from a lack of good documentation - but I could just look at Gogs' documentation if needed since they're practically identical. * https://docs.gitea.io/en-us/install-with-docker/ https://docs.gitea.io/en-us/install-with-docker/
- tboerger 8y agoPlease provide constructive feedback on the docs issue tracker, or even better create pull requests to improve the documentation. Everything including the website, documentation, blog, Hugo theme and so on is public available and also opensource.
- softinio 8y agoWhat are the benefits and use cases for hosting your own over just using github/gitlab/bitbucket even google cloud and aws offer options too?
- tboerger 8y agoThere are enough people and companies that don't trust these american companies, or they are forced to keep code within there network... Not everybody wants to give his stuff into the hands of others ;)
- deleted 8y ago[deleted]
- bpye 8y agoI'm with you. I've ended up using GitHub for anything public and Gitlab for anything private recently and it works well for me. I've considered running Gitea/Gogs on a machine at home or a VPS but could never justify the additional effort for it.
- megous 8y agoThat was a painless installation. Seriously, this is something to immitate if you mean for your self-hosted application to be widely used. If only other self-hosted/distributed projects were this easy to install. I skiped on discourse, mastodon, gitlab, etc. because they were all pain to setup on a base linux system.
- marcosdumay 8y agoVery 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.
- smcl 8y agoWhat’s the issue with making sure it’s on when your server is up? I assumed it’d just be a case of setting up a simple systemd service that restarted it in case it died
- jhall1468 8y ago> 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.
- always_good 8y agoIf 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.
- CrystalLangUser 8y agoMastodon with docker isn’t that bad. Pleroma is a lot easier, though.
- h1d 8y ago
- scruffyherder 8y agoSo I keep a few GB of source online via CVS http://unix.superglobalmegacorp.com/ 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... But this does look nice. I guess time to look at cvs2git.
- ge0rg 8y agoHave a look at reposurgeon for your old-repository-to-git needs.
- scruffyherder 8y agothanks for the tip
- sandGorgon 8y agoJust curious - why would you not use GitHub, just for the sheer community? Your code is already public.
- rollcat 8y agoBecause self-hosting is fun, a little bit challenging (and rewarding), you get to show off your ability to maintain a setup, it gives you independence and control. Also RMS would disapprove of using a service running on non-free code.
- scruffyherder 8y agoIndeed it is. Plus I don't have to fight with other people if they don't like something about me or what I'm doing, I'm on my own, in my own little world. I originally setup the CVSweb thing to let google crawl the pages, so instead of building a search service they would do it for me, which has worked surprisingly well. Although with all the other search engines around it does get a fair amount of traffic. It strikes me as incredibly strange that we now have Linux and *BSD, this entire built up idea of taking power away from few hands like AT&T, or the various VAR's, moving away from Microsoft, and yet everyone is expected to throw everything they have into the hands of some other corporation to house their source code of all things... Having worked with http://www.oldlinux.org/ http://www.oldlinux.org/ trying to hunt down 20 year old 'open source' projects which many have been lost, because of the same mistake of trusting 3rd parties who don't care, the amount of stuff that is going to be lost in the next 'I can't believe we are going to have another .com crash' is going to be incredible. And of course it'll seem like a trivial amount of space, just as something like 4.2BSD full source fits into 20MB, and yet could have easily been lost if it weren't for SIMH interest would have been completely lost. I'm more impressed with sourceforge, as it's been around for quite some time, offers far more services than github, and survived their prior owners stupidity of trying to inject spyware into downloads. Oh well, I guess that is my old man rant, don't rely on one thing, spread the software, don't let it sit on an apathetic 3rd party company who isn't even close to being able to operate without angel funding.
- sandGorgon 8y agoThere's also gitbucket. Single jar file to run - written in Scala. https://gitbucket.github.io https://gitbucket.github.io
- tboerger 8y agoIf you like to run java services you could do that...
- sandGorgon 8y agoYou don't need to run Java services. Running gitbucket is simply "Java -jar gitbucket.jar" JVM performance is pretty much world-class (and has been for many years). Golang and JVM compete neck to neck at top of the performance charts. Remember that startup performance is not what Java optimised for - it's long running processes like any web server or api. And I'm far more excited by Graal than any programming language breakthrough over the past few years ( https://youtu.be/_7yIUkP5LiQ https://youtu.be/_7yIUkP5LiQ)
- tboerger 8y agoOk, let me rephrase that, if you like to run the JVM do it :)
- aylons 8y agoIs there any fundamental reason why no tool offers a federated alternative to GitHub? I mean, the distributed nature of git is ripe for federation, but why aren't issues, releases and pull requests federated? Maybe even some deeper integration with git itself, such as seeing new remotes on federated servers and fetching them. This may sound redundant to GitHub, which currently centralizes everything, but different projects and companies have their reasons to not use a single external tool for this. As an example, CERN's Open Hardware Repository (https://www.ohwr.org/ https://www.ohwr.org/) would be a perfect fit for this, and other laboratories and companies could integrate with them.
- ptman 8y agoDoes scuttlebutt offer something like this? or only git repository hosting?
- tboerger 8y agoThere are multiple tracking issues on the gitea tracker for federated features, so hopefully gitea will provide features like that.
- aylons 8y agoCould you please point me to them? Mostly for curiosity, and maybe add my two cents, as someone who constantly feels this need in a specific community.
- tboerger 8y agohttps://github.com/go-gitea/gitea/issues/1612 https://github.com/go-gitea/gitea/issues/1612 https://github.com/go-gitea/gitea/issues/1299 https://github.com/go-gitea/gitea/issues/1299 https://github.com/go-gitea/gitea/issues/184 https://github.com/go-gitea/gitea/issues/184 These issues and some others pop up if you search for federated.
- u801e 8y ago> Is there any fundamental reason why no tool offers a federated alternative to GitHub? There are tools like Gerrit and Phabricator. Also, projects like git and the linux kernel use mailing lists to handle things like issues, releases and pull requests/patch sets.
- clickme_zsh 8y agoGitea is awesome. I have been using it for few months and it doesn't need a lot of RAM.
- LeoNatan25 8y agoSo this is a GitHub alternative … whose source is hosted in GitHub? Instills so much confidence.
- pythonaut_16 8y agoHonestly it makes a lot of sense. Gogs/Gitea are developed and shared for people to be able to host their own Git instances. GitHub is free for public repositories and has huge engineering teams dedicated to uptime, security, and availability. At the very least for Gitea/Gogs to self-host the code they'd have to pay for hosting costs that GitHub is already willing to provide for free.
- carwyn 8y agoFor certain types of organisations, especially those with dealing with more in-house projects Phabricator is really worth a look: https://www.phacility.com/phabricator/ https://www.phacility.com/phabricator/
- mistrial9 8y agoOSGeo dot org is using Gitea, with superpowers by Sandro Santelli (strk). It's great ! popular and lightweight, does much and asks little. The graphic design is familiar and so are the functions, since it obviously originated as a clone of another G-site you may know. the admin wiki page is here http://wiki.osgeo.org/wiki/SAC:Gitea http://wiki.osgeo.org/wiki/SAC:Gitea
- ksajadi 8y agoI might be the only one here, but I wish Gitlab had stayed on providing the best git / issues solution instead of bloating it further and further into CI/CD and more. After all, Gitlab started as an open source alternative to github and that’s what I really wish for and while I understand how Gitlab needs to differentiate itself from Github, the direction is causing some of the issues. My two cents...
- deleted 8y ago[deleted]
- revanx_ 8y agoAnother good alternative to Gitea is Fossil if you're looking for a lightweight single exe SCM.
- y4mi 8y agouuh, fossil isn't an alternative to Gitea. Its an alternative to Git with extended functionality.
- krob 8y agoI'm not a user of LFS, but I use phabricator and I find that it meets all my needs even on slower hardware, and it's pretty simple to debug. Has all your typical LAMP stack debuging techniques and when it breaks, it's pretty straight forward what needs to be fixed.
- ericfrederich 8y agoDoes it manage issues, pull requests, etc modeled in a distributed way? I was always dumbfounded as to why you'd take a great distributed collaboration tool like Git and then centralize it around issues, pull requests, comments, etc. To me all of those things should be Git objects as well either tracked inside the same repo on another branch or something or tracked in a parallel Git repo.
- 1over137 8y ago"Gitea: Open source, self-hosted GitHub alternative" -> which seems to use GitHub itself. Not encouraging that they don't eat their own dogfood.
- lafriks 8y agoJust for see how it compares feature wise with others: https://docs.gitea.io/en-us/comparison/ https://docs.gitea.io/en-us/comparison/
- deleted 8y ago[deleted]