Best self hosted git server? reddit / selfhosted ---------------------------------------------------------------------- KhrisRandom · 2023-11-11 12:31 Hi, i'm a software developer and i want to implement a self hosted git server on my home server. I hear about gitea, gogs, gitlab, GitBucket, kallithea, etc... but i don't know how choose. ---------------------------------------------------------------------- bka-informant · 2023-11-11 12:38 I personally use Gitea with Woodpecker as CI, it hardly uses any resources and is quickly set up via Docker. I used to try Gitlab, but it was far too overloaded for me and consumed far more resources than Gitea even when idle ---------------------------------------------------------------------- xtigermaskx · 2023-11-11 12:39 This is going to be decided by which features you want from the product. I'm only familiar with gitlab but I believe the others offer some differences. ---------------------------------------------------------------------- lilolalu · 2023-11-11 12:42 Gitlab has more features but uses much more resources than Gitea. Check if you need any of them. ---------------------------------------------------------------------- tomistruth · 2023-11-11 12:49 Why even use docker gitea? Gitea is literally a standalone binary that you can copy and replace. ---------------------------------------------------------------------- macrowe777 · 2023-11-11 12:51 Because container orchestration offers benefits for easier maintenance, upgrading, etc etc? ---------------------------------------------------------------------- tomistruth · 2023-11-11 12:53 Not in that case. You are literally running a single c binary in a docker container. That is like emulating windows to open a text file. Yeah, you can use docker vlan, but that's it. ---------------------------------------------------------------------- dhuscha · 2023-11-11 12:57 I originally had gitlab but it defiantly used more resources than the others, and I barely used the feature-set. So I went with Gitea using podman. ---------------------------------------------------------------------- macrowe777 · 2023-11-11 12:58 If you knew enough about container orchestration, you would not be saying these things. I can run a gitea container that has barely more bytes involved than the binary, hardly like using windows. For that I get access to tools that will ensure my app stays running, will log issues, monitor performance, update automatically with canary deployments, enforce security, and substantially reduce the possibilities for privilege escalation from bad code, without any interaction from me. Doing the same by running solely the binary is possible ofcourse, but I'd have to implement all of that manually myself...why would I? You could do with being a little less sure of yourself on an aspect of knowledge you clearly don't know much about. You'll learn a lot more that way. ---------------------------------------------------------------------- bitspace · 2023-11-11 13:07 >defiantly Fuck you, dhuscha, I will use all the RAM! You're not the boss of me! ---------------------------------------------------------------------- tomistruth · 2023-11-11 13:07 I have been orchestrating docker systems for more than a decade. If you want to orchestrate a binary because you don't know any better, then it's your beer. ---------------------------------------------------------------------- macrowe777 · 2023-11-11 13:08 Yet you can't make reasoned arguments to defend your opinion that makes it look like you've barely finished first school. ---------------------------------------------------------------------- tomistruth · 2023-11-11 13:11 Same. No reason to talk to a moron. ---------------------------------------------------------------------- macrowe777 · 2023-11-11 13:11 Except one of us provided reason. The others been rather embarrassing. ---------------------------------------------------------------------- tomistruth · 2023-11-11 13:13 Move on, buddy. ---------------------------------------------------------------------- macrowe777 · 2023-11-11 13:14 You're welcome to if you want, I'll be laughing here for a long time 🤣🤣 ---------------------------------------------------------------------- tschloss · 2023-11-11 13:37 Wouldn’t git itself be enough to host a remote? ---------------------------------------------------------------------- bka-informant · 2023-11-11 13:38 If it were up to you, you would probably not need 50% of the Docker images, as they also only consist of a binary file or a script ---------------------------------------------------------------------- meddig0 · 2023-11-11 13:39 Gitea or OneDev are probably your best choices. I need to move to one of them, Gitlab is becoming quite unwieldy in my opinion. ---------------------------------------------------------------------- bka-informant · 2023-11-11 13:40 And it's clear that you have no idea what you're talking about because you're comparing container virtualisation with hypervisor virtualisation ---------------------------------------------------------------------- NicroHobak · 2023-11-11 13:45 This is what I do. Works great. ---------------------------------------------------------------------- ffimnsr · 2023-11-11 13:50 Use gitweb if you plan to view source code only and is the lightest. I used this over the heavy weight git hosting. ---------------------------------------------------------------------- AnderssonPeter · 2023-11-11 13:59 Damn you're a persistent toxic person... ---------------------------------------------------------------------- jypelle · 2023-11-11 14:04 Gogs or gitea ---------------------------------------------------------------------- DarkCeptor44 · 2023-11-11 14:05 I'm using Forgejo which is a fork of Gitea, I don't know much about the whole thing but there was a situation with Gitea and they decided to fork it to be safe I think? Every time I go check the changelogs I'm impressed with how much work they do on it. ---------------------------------------------------------------------- g14rc · 2023-11-11 14:18 I use gogs both at home and at work, in a docker swarm ---------------------------------------------------------------------- Yummy_XD · 2023-11-11 14:24 If you work strictly with terminals, a really cool option I never see mentioned is soft-serve by Charmbracelet. An SSH TUI Git server. Super lightweight and defo the best for those who live for terminal UIs. https://github.com/charmbracelet/soft-serve ---------------------------------------------------------------------- servergeek82 · 2023-11-11 14:25 Gitea using the gitea runners as CI. I have it mirrored on a laptop using the fork of gitea for backup ---------------------------------------------------------------------- LeeHide · 2023-11-11 14:29 Gitea, unless you have way too much RAM and want a mildly shitty to maintain docker container that takes at least 6 GB of ram with zero users or repos, then GitLab. ---------------------------------------------------------------------- jwink3101 · 2023-11-11 14:32 I just host on a server and access bare repos via ssh ---------------------------------------------------------------------- ChiefLewus · 2023-11-11 14:37 I tried both in a LXC on Proxmox and quickly leaned toward Gitea. GitLab needed atleast 11 gigs of ram just for me to login. It would act up, hang and kept giving me errors in the browser without that much allotted to it. Gitea has everything I need so far. ---------------------------------------------------------------------- scionae · 2023-11-11 14:38 Question, since I'm very curious, what do you even need a self-hosted repository solution for? I understand if you're a company, maybe you'll host your own Gitea / Bitbucket. But what if you're solo? I'm just curious about the use cases :) ---------------------------------------------------------------------- virgoerns · 2023-11-11 14:38 Most answers circulate around Gitea and Gitlab, so I'll give an oldschool, but really lightweight alternative: Gitolite + CGit as a frontend. It's basically bare git with some Perl magic on top which automatically setups SSH's authorized_keys and initializes appropriate Git hooks in repositories. What I love most about it is that I can create repositories and manage access to them by editing config files in a special gitolite-admin repository, without a necessity for a web admin. ---------------------------------------------------------------------- subven1 · 2023-11-11 14:40 Gitlab is the most advanced but also needs a lot of ressources. Gitea would be the second option I would recommend. "Best" depends on your needs but for a homeserver setup where you dont have to worry about RAM/CPU that much. Take a look at the [feature comparison](https://docs.gitea.com/next/installation/comparison). ---------------------------------------------------------------------- vhodges · 2023-11-11 14:43 Do you want a 'forge'.... cause if you don't you can just host git with ssh. ---------------------------------------------------------------------- trigger2k20 · 2023-11-11 14:52 I like gitlab but it's so memory hungry. I now use gitea. ---------------------------------------------------------------------- Ziip_dev · 2023-11-11 14:56 Wasn't Gitea bought by a for-profit organisation recently? It's future may be uncertain given that, but if you guys have insights on the question I am willing to read you :) ---------------------------------------------------------------------- THMMYos · 2023-11-11 14:59 I'm on gitea with just 1c 512mb ram. And I love it ---------------------------------------------------------------------- niameht · 2023-11-11 15:01 as someone who would classify them self as a docker expert. I would say: do your research. you have no idea what you are talking about. and as a little hint: if people downvote you, you should consider being wrong. research the topic and make en educated reply with some links to your sources. Docker is not a vm. resource usages stay the same if it runs i side docker or not. Deployment is a lot easier with docker and health monitoring as well. Would be a quiet complicated script when wanting to healthcheck your infrastructure with reverse proxy etc. and have it auto reboot stuff. Wouldn't it? How can you be so arrogant while being downvoted by a lot of people to still comment stuff like you did here. Even if you are to stupid to google yourself: take the comment history and paste it into chatgpt and ask who is right and why. I did that and you didn't come out on top xD ---------------------------------------------------------------------- iamdadmin · 2023-11-11 15:04 You ... do know this is r/selfhosted not /r/developers right? We selfhost for data sovereignty and self-determination! ---------------------------------------------------------------------- scionae · 2023-11-11 15:06 Long live data sovereignty and self-determination! ---------------------------------------------------------------------- Diligent_Ad_9060 · 2023-11-11 15:12 I've been happy with Gitea and use Gitea actions for some automations. What benefits do woodpecker bring? ---------------------------------------------------------------------- macrowe777 · 2023-11-11 15:23 Man the downvotes 🤣 ---------------------------------------------------------------------- nononoitsfine · 2023-11-11 15:30 I had some serious nuisances with getting Gitea set up - one dev worked like a charm tho ---------------------------------------------------------------------- CommanderCT · 2023-11-11 15:42 Gitlab 👌🏻 ---------------------------------------------------------------------- nikade87 · 2023-11-11 15:44 Gitlab all day any day, so many features and so well documented. ---------------------------------------------------------------------- tomistruth · 2023-11-11 15:47 Just so you dipwits know. I said virtualization. It does not mean that docker is a vm. Virtualization is any form of abstraction. ---------------------------------------------------------------------- tomistruth · 2023-11-11 15:52 Only immature people like you care about internet points, buddy. ---------------------------------------------------------------------- macrowe777 · 2023-11-11 15:54 Well it's a good job you don't mind downvotes 🤣🤣🤣🤣 ---------------------------------------------------------------------- niameht · 2023-11-11 15:57 chatgpt: ``` Docker operates on containerization, not virtualization. ``` only responses you now get is from chatgpt xD ---------------------------------------------------------------------- tomistruth · 2023-11-11 16:01 Why? Because a few dimwits like you misunderstood what I said? ---------------------------------------------------------------------- tomistruth · 2023-11-11 16:02 Virtualization is any virtual abstraction buddy. ---------------------------------------------------------------------- niameht · 2023-11-11 16:02 but its not virtual xD ---------------------------------------------------------------------- macrowe777 · 2023-11-11 16:03 A few lol, the entire community is pointing out you were talking shit lol Head so far in sand ---------------------------------------------------------------------- MaximilianGT500 · 2023-11-11 16:04 Gitea ---------------------------------------------------------------------- Carmikl · 2023-11-11 16:04 Gitness or softserve ---------------------------------------------------------------------- tomistruth · 2023-11-11 16:07 Sigh. You don't seem to understand the word. https://en.m.wikipedia.org/wiki/OS-level_virtualization ---------------------------------------------------------------------- BBRYGBVGW · 2023-11-11 16:08 Might check out onedev. Has integrated CI/CD..it has been awesome [Onedev](https://github.com/theonedev/onedev) ---------------------------------------------------------------------- tomistruth · 2023-11-11 16:11 I always laugh when programmers are fast to point out how docker is no virtual machine and how they overreact to anybody remotely hinting at the very same idea of virtualization. Yeah, docker uses containers and layers. Did I say it does not? Did I say docker was a full virtual machine? I said docker, be it alpine linux or a full linux base, still in its core, is abstracting a full os file system layer, all to run what? A single binary that does not even require a seperate go runtime. ---------------------------------------------------------------------- niameht · 2023-11-11 16:14 hahaha you found one of the few wikipedia articles which state that they might not be accurate and need citations. chatgpt: ``` No, OS-level virtualization is not the same as virtualization in general. OS-level virtualization involves virtualizing the operating system to run multiple isolated instances on a single host, while virtualization encompasses a broader range of technologies, including hardware virtualization and application virtualization, which go beyond just the operating system ``` and yes. i know that chatgpt is dippshit but at least better than you :D ---------------------------------------------------------------------- macrowe777 · 2023-11-11 16:15 Lol why you trying to argue? Literally no one values your opinion. You were wrong about everything and performed like a child. You literally don't even understand the criticism, your reply above is completely illogical 🤣🤣🤣🤦‍♂️ by "docker" you mean an OCI container, and no, it is fundimentally not abstracting a full os file system "layer" whatever you mean by that. You're talking utter garbage 🤣🤣🤣🤦‍♂️ ---------------------------------------------------------------------- lvlint67 · 2023-11-11 16:15 The answer is gitea. It's the lightweight app that will do what you need. When you find you need a feature not it gitea you can look at another service or something more robust like gitlab. ---------------------------------------------------------------------- masiuspt · 2023-11-11 16:17 Looking at their website, I got the impression that Gitea isn't free. Is that the case? ---------------------------------------------------------------------- Thoscellen · 2023-11-11 16:18 totally free ---------------------------------------------------------------------- sanebangbang · 2023-11-11 16:19 I self host gitea due to the file size limits of GitHub. ---------------------------------------------------------------------- _3xc41ibur · 2023-11-11 16:20 I have a self-hosted GitLab instance integrated with Azure DevOps for a software project at my workplace. The features are great for this application, but if you don't need something as sophisticated, I would go with Gitea like everyone else has suggested ---------------------------------------------------------------------- cltrmx · 2023-11-11 16:22 Forgejo is also my way to go (after changing from Gitea to Forgejo). ---------------------------------------------------------------------- isleepbad · 2023-11-11 16:23 You don't have to modify the dockerfile to get it working. ---------------------------------------------------------------------- [deleted] · 2023-11-11 16:25 [deleted] ---------------------------------------------------------------------- carl2187 · 2023-11-11 16:29 Your totally right. Despite the docker shills. But we live in an era where people say a LAMP stack is difficult to setup. It's a shame really. So much added complexity for the simplest things. ---------------------------------------------------------------------- tomistruth · 2023-11-11 16:37 LOL, you are amusing. ---------------------------------------------------------------------- macrowe777 · 2023-11-11 16:38 Only one of us being laughed at by the whole sub 🤣 ---------------------------------------------------------------------- kageurufu · 2023-11-11 16:41 So I can deploy on my Swarm cluster ---------------------------------------------------------------------- Victorioxd · 2023-11-11 16:49 I use soft serve by charm since it goes super hard ---------------------------------------------------------------------- machstem · 2023-11-11 16:54 Gitea + mkdocs is bae ---------------------------------------------------------------------- GrilledGuru · 2023-11-11 16:56 I am with everybody here and use gitea. But I also want to remind you that you don't necessarily need a whole system with a web ui on a server if you're the only one using it. The basic CLI will do most of what you need. ---------------------------------------------------------------------- ranqus · 2023-11-11 16:56 This hosts well with git through SSH access, that way you don't even need to use their TUI (even though charm has some pretty neat TUI components). Soft-serve is super easy to use and maintain. I would recommend it for small dev operations. ---------------------------------------------------------------------- m-noureldin · 2023-11-11 17:00 Gitea, I have been watching its evolving and it is amazing. And 100% open source without "hidden" features. ---------------------------------------------------------------------- k_blubb · 2023-11-11 17:01 I think what was meant is, which benefits it brings when used, rather than the install/deployment process ---------------------------------------------------------------------- tshawkins · 2023-11-11 17:03 I have gitlab with a gitlab-runner installed, i dont use ssh only https. I work on devops professionaly, so being able to setup and run pipelines helps me learn. Working on a viable automated bsckup/restore system. My server has 7tb/i7-1260p/64gb so i dont really worry about resources. ---------------------------------------------------------------------- SnooPets20 · 2023-11-11 17:03 I'm surprised there's not many people using Forgejo. I mean, I'm also using Gitea, but I thought more people would have cared? I guess, as long as they don't do anything stupid, it's fine. ---------------------------------------------------------------------- eXtc_be · 2023-11-11 17:07 gitea was [turned into a for-profit company ~~not long ago~~ last year](https://blog.codeberg.org/codeberg-launches-forgejo.html) so yeah, it may no longer be free, so I suggest installing Forgejo instead. tbf, I'm still running gitea from before the change, but I'm looking to switch to Forgejo once I figure out how to migrate all my repositories. ---------------------------------------------------------------------- eXtc_be · 2023-11-11 17:11 [yeah](https://blog.codeberg.org/codeberg-launches-forgejo.html) ---------------------------------------------------------------------- DurianBurp · 2023-11-11 17:16 I also hadn’t heard of it so I looked it up. https://bgenc.net/2022.11.19.automating-my-blog-with-gitea-and- woodpecker/ ---------------------------------------------------------------------- powerfulparadox · 2023-11-11 17:16 I'll have to look into this. It seems to be about as close as you can get to the spirit of git's original design intent without giving up some of the more important conveniences of the modern workflows. ---------------------------------------------------------------------- k_blubb · 2023-11-11 17:17 No need to downvote someone for asking questions. There was some controversy I don‘t really care about. Here‘s a [summar y](https://www.reddit.com/r/Gitea/comments/yj6ndx/gitea_controversy_ti meline/), that I neither entirely read, nor am I able to evaluate. But it might be a starting point for you. Also there‘s [Forgejo](https://forgejo.org/) (a Gitea drop-in replacement) that I believe was created in succession of the controversy. ---------------------------------------------------------------------- powerfulparadox · 2023-11-11 17:22 Someone actually using git as Linus Torvalds intended! In 2023, no less. I'm not being sarcastic, I'm just pleasantly astounded, since this workflow has been basically buried by the rise of a expectation that other parts of the dev workflow need to be tied to the git workflow through extra software. ---------------------------------------------------------------------- Ziip_dev · 2023-11-11 17:23 Yup, that's what I had read! Thanks for bringing that up again ---------------------------------------------------------------------- bendem · 2023-11-11 17:24 Used gitolite before gitea was a thing, now it's gitea everywhere. ---------------------------------------------------------------------- Sentreen · 2023-11-11 17:30 I personally use it for private projects: papers I am working on, some hobby projects that are so personal (e.g. scripts for my server, an app for a friend as a prank birthday gift) its not worth sharing, ... When I started using it, github didn't over private repos on their free plan; besides that I also like to keep my own code under my control instead of sending it to GitHub. ---------------------------------------------------------------------- Sentreen · 2023-11-11 17:34 I personally use Drone (which woodpecker was forked from). The main reason I use it is that I set it up that way before Gitea had its own CI/CD system. Right now I mainly use it for two reasons: * Too lazy to migrate the CI pipelines of all my repos to another system. * I prefer Drone's workflow language over the actions introduced by github (which Gitea based their language on, as far as I understand). ---------------------------------------------------------------------- jwink3101 · 2023-11-11 17:35 To be fair, these are all for solo hobby projects. At work, we have on-prem gitlab… (though I don’t do much professionally with it) ---------------------------------------------------------------------- basicallybasshead · 2023-11-11 17:35 Based on my experience, for a balance of features and ease of use, Gitea is often a good starting point for many users. ---------------------------------------------------------------------- Rude_Walk · 2023-11-11 17:36 As long as the license doesn’t change, gitea should be fine ---------------------------------------------------------------------- lovett1991 · 2023-11-11 17:36 Previously used gitlab + jenkins, but then just switched to hosting in GitHub (although might change this in the future) ---------------------------------------------------------------------- stobbsm · 2023-11-11 17:37 Gitea is great. I switched to it from gitlab and have never looked back. It’s got every feature a homelabber could want, and is easy to extend when needed. ---------------------------------------------------------------------- ratcodes · 2023-11-11 17:49 i'm on gitea, but im not a fan of gitea actions. personally thinking about bare git like some have suggested here. ---------------------------------------------------------------------- simonides_ · 2023-11-11 17:53 as long as you only use it for yourself. you can create users but they will get access to the system. ---------------------------------------------------------------------- bnberg · 2023-11-11 17:57 First, why do you want to do this? ---------------------------------------------------------------------- 10leej · 2023-11-11 18:04 git-daemon is the longest running git server out there and is usually pre bundled in the git package on most linux distro's. Lighted it's straight up just cli only but you should probably learn the basics of git imho ---------------------------------------------------------------------- tenekev · 2023-11-11 18:10 I've tried to set up gitea actions several times but dind and dood are always very problematic. Drone and woodpecker work fine but Gitea is really stubborn. The downside of Drone for me is the different format. Can't reuse github actions as easily. ---------------------------------------------------------------------- ASVPcurtis · 2023-11-11 18:15 Privacy control ---------------------------------------------------------------------- schorsch3000 · 2023-11-11 18:40 git-shell is a thing :-) ---------------------------------------------------------------------- KrazyKirby99999 · 2023-11-11 18:40 Gitea is upstream of Forgejo, the primary difference is in the ownership of trademarks/domain. ---------------------------------------------------------------------- -defron- · 2023-11-11 18:40 git also has a daemon that exposes the repo unauthenticated (can be limited to just clone/pull), here's more details: https://railsware.com/blog/taming-the-git-daemon-to-quickly-share-git- repository/ also git supports a CGI backend for exposing via any web server that supports CGI. This is what most of the fancy web GUIs use behind the scenes, but it can be set up with just Apache, nginx, caddy, etc along with a bunch of single-purpose servers designed just for exposing git ---------------------------------------------------------------------- NiuWang · 2023-11-11 18:46 You could always use [soft- serve](https://github.com/charmbracelet/soft-serve) . TUI self-hosted git service. Light weight, no web front-end but I don't see a reason to really need a web frontend for a git service. ---------------------------------------------------------------------- Theon · 2023-11-11 18:56 Yeah, (I) use https://forgejo.org/ :) ---------------------------------------------------------------------- lestrenched · 2023-11-11 18:56 Because there are things I work on for myself that I would like to keep private. I don't want it to stay on an HDD owned by someone else. ---------------------------------------------------------------------- lestrenched · 2023-11-11 18:57 Forgejo is a good idea, even Codeberg runs it ---------------------------------------------------------------------- lestrenched · 2023-11-11 18:58 This is a great idea ---------------------------------------------------------------------- lestrenched · 2023-11-11 18:58 Use Forjego, we can't predict where Gitea is going with this ---------------------------------------------------------------------- Diligent_Ad_9060 · 2023-11-11 18:58 Not sure what you're trying to say here. I've never touched any dockerfiles at all. I setup act_runner on a different machine, enable actions in gitea and register the runner with it. ---------------------------------------------------------------------- Diligent_Ad_9060 · 2023-11-11 19:00 That is correct, and what it brings that Gitea actions don't. ---------------------------------------------------------------------- sarinkhan · 2023-11-11 19:01 A perspective that may help you: in the past I failed to deploy gitlab because error something then configuration invalid for whatever. With gitlab I always manage. Easy to deploy, run, maintain. Also seems light enoug: my docker host only had 6Gb ram at some point and it ran flawlessly along all the other dockers. ---------------------------------------------------------------------- Diligent_Ad_9060 · 2023-11-11 19:01 Thank you. I'm doing automations like this as well, but with Gitea actions. Somewhat compatible with Github actions. ---------------------------------------------------------------------- HTTP_404_NotFound · 2023-11-11 19:02 gitea, hands down. gitlab is a PIG for resources. gitea can run on a potato, while offering the majority of the useful features from git. Although, it doesn't have built-in CI/CD, its not hard to add, or use an external CI/CD system. ---------------------------------------------------------------------- Omni__Owl · 2023-11-11 19:02 Have used gitea even at work. It's quite nice. ---------------------------------------------------------------------- HTTP_404_NotFound · 2023-11-11 19:03 Let me just plug that single binary into my kubernetes cluster. First... let me package that single binary into a docker container, so that I can use it in my cluster... Oh wait, we are back at square one....... ---------------------------------------------------------------------- Diligent_Ad_9060 · 2023-11-11 19:04 I can't recall having issues at all. Basically just installing act runner and registering it with Gitea ---------------------------------------------------------------------- lestrenched · 2023-11-11 19:19 In a container or just bare-metal? ---------------------------------------------------------------------- selfhosted-ModTeam · 2023-11-11 19:26 Hatespeech, Harassment, or otherwise targeted content at an individual designed to degrade, insult, berate, or cause other negative outcomes are strictly prohibited. ---------------------------------------------------------------------- hexathos · 2023-11-11 19:39 i'm selfhosting gitea, with drone ... works like a charm for me... ​ bad side is... ​ while gitea can host packages like docker images, it cannot limit access to... even if your repository is a private one, hosted packages are public. ---------------------------------------------------------------------- IC3P3 · 2023-11-11 19:50 What's the difference between Woodpecker and the Gitea Act Runner? Do they both show up in Gitea Actions or does Woodpecker use it's own interface exclusivly? Is there a difference in the CI being executed? Would I also need to run another instance for compiling with Windows or does Woodpecker use a VM to do it? I just installed Act Runner but would be interested in the differences ---------------------------------------------------------------------- neumaticc · 2023-11-11 19:51 or if you have too much time on your hands ---------------------------------------------------------------------- KrazyKirby99999 · 2023-11-11 19:56 No, but the Gitea leadership moved ownership of its trademarks to a for-profit organization. It's still open source. ---------------------------------------------------------------------- SR-G · 2023-11-11 19:58 Still happy user with GOGS here (the original project from which Gitea was created) ---------------------------------------------------------------------- Ziip_dev · 2023-11-11 20:01 Yeah, hence its potentially questionable future :) ---------------------------------------------------------------------- Low-Chapter5294 · 2023-11-11 20:02 Why not just use... git all by itself? Does it get more light weight? ---------------------------------------------------------------------- Low-Chapter5294 · 2023-11-11 20:07 Why would you need CI and git actions if it's just you? Isn't plain old git enough - it handles remote storage. ---------------------------------------------------------------------- kbmp- · 2023-11-11 20:11 OneDev is great. I host it on my private Synology NAS. It is fully featured with CI but super lightweight. Let's you host your html documentation for your code right with your repository as well without any external services. I can recommend it whole heartedly! ---------------------------------------------------------------------- mumblerit · 2023-11-11 20:14 gogs seems fine for basic git + webui ---------------------------------------------------------------------- cameos · 2023-11-11 20:40 You don't really need a separate "git server", git itself + ssh server are perfectly working "git server". git also has built-in gitweb which is a very simple webui for you to browse git repos. I have several private git repos hosted on my home server, with ssh server + git + lighttpd (for gitweb). Of course, you can pick 3rd party webui (such as gitea, gitlab) if you really need a webui to manage code and issues. ---------------------------------------------------------------------- probablynotmine · 2023-11-11 20:55 - Gitea - GitLab CE - OneDev - Gitness ---------------------------------------------------------------------- jwink3101 · 2023-11-11 21:08 Bare metal ---------------------------------------------------------------------- MalcolmY · 2023-11-11 21:38 Didn't you have a bunch of problem with actions? For me it was a nightmare to get it to work. I forked a repo on github made a few edits and pushed, my artifacts were right there waiting for me. But locally on Gitea, getting the action to work was a nightmare. To this day I can't get the artifacts to be uploaded, it uploads a small empty file. Fortunately I found a way to copy the compile result to a another folder. ---------------------------------------------------------------------- zoredache · 2023-11-11 21:39 > Why even use docker gitea? Because I don't run anything directly on my server. I run everything in a container/VM. Sure Gitea is pretty simple and minimal, but why make an exception for one application.. ---------------------------------------------------------------------- MalcolmY · 2023-11-11 21:40 Just last week I attempted to try a Gitlab docker image. The thing hanged my whole server it was insane. I'm not touching that again. ---------------------------------------------------------------------- Omni__Owl · 2023-11-11 21:42 I didn't set it up ---------------------------------------------------------------------- Refinery73 · 2023-11-11 22:16 Gitea works great. Only problem I have with it is that it brings some non-standard webserver that i can’t evaluate security wise. I have an nginx before it to do authentification. ---------------------------------------------------------------------- NoConversation6972 · 2023-11-11 23:22 In my opinion, Gitness, its very Good git ui server, for self-host with DI (https://github.com/harness/gitness) ---------------------------------------------------------------------- DickCamera · 2023-11-12 00:01 Gitea is what I use. I see a lot of recommendations for gitlab, but I have some experience with it as well as github and for the life of me I can't understand the gitlab people. Do they not see the persistent and ridiculous bugs? Merge requests are ajax based and their initial load stage frequently shows errors like 'branch "master" does not exist' and then 1s later ajax loads and shows the MR. But then when you go to view the diff, half the diffs don't load and when you click on them they still don't load until you decide to click on somewhere else, then the page loads and highjacks your scroll to take you to god knows where. Gitlab is a mess. If you just use it for yourself I guess it's fine, but if you're installing it for the web-frontend, literally any other git front-end is better. ---------------------------------------------------------------------- Idenwen · 2023-11-12 00:25 used bonobo for a while and was happy with it. ---------------------------------------------------------------------- KlausBertKlausewitz · 2023-11-12 00:33 Forgejo maybe? (Gitea fork) ---------------------------------------------------------------------- KlausBertKlausewitz · 2023-11-12 00:36 I‘d recommend forgejo https://forgejo.org/faq/ ---------------------------------------------------------------------- KlausBertKlausewitz · 2023-11-12 00:38 see https://forgejo.org/faq/ ---------------------------------------------------------------------- KlausBertKlausewitz · 2023-11-12 00:38 yepp codeberg.org FTW :) ---------------------------------------------------------------------- KlausBertKlausewitz · 2023-11-12 00:39 better forgejo? https://forgejo.org/faq/ ---------------------------------------------------------------------- KlausBertKlausewitz · 2023-11-12 00:39 or forgejo? ---------------------------------------------------------------------- freedomlinux · 2023-11-12 00:53 A couple years when I was making this choice, I looked at both Gitea and Gogs. Looking again now, it seems that Gogs isn't releasing very frequently... How are you feeling about Gogs? This comparison is helpful but of course isn't impartial https://docs.gitea.com/next/installation/comparison ---------------------------------------------------------------------- jimirs · 2023-11-12 01:22 I'm finding a PITA to configure properly the SSH on gitea docker, the 4 different ways listed on documentation doesn't seem to work. Any tips? ---------------------------------------------------------------------- GlassedSilver · 2023-11-12 01:41 I mirror a lot of GitHub repos to have a continuous archive of FOSS that I use just in case a project that I rely on ruffles some bully's feathers. Would that allow me to replicate GH workflows semi-automatically or automatically? (i.e. using the release and build WFs of a repo I mirror to build and release to my mirror or something like that) ---------------------------------------------------------------------- Diligent_Ad_9060 · 2023-11-12 01:43 I believe yes, but haven't looked into it much. ---------------------------------------------------------------------- GlassedSilver · 2023-11-12 01:47 Sounds very attractive, I'll have to see if I can find out something about it. ---------------------------------------------------------------------- Diligent_Ad_9060 · 2023-11-12 01:50 https://docs.gitea.com/usage/actions/overview should be a good starting point. ---------------------------------------------------------------------- meonkeys · 2023-11-12 02:36 Keep an eye out for phone home / telemetry / "anonymous statistics", too. ---------------------------------------------------------------------- FishSpoof · 2023-11-12 03:06 I use OneDev. I haven't tried anything else since I'm happy with it. Things I like Personal git server Web interface Automated Build pipeline Ability to clone repos on github locally for my own copy. Given githubs reputation for deleting repos it doesn't like, this is a good way for me to have my own source server. Always online, always available . ---------------------------------------------------------------------- laser50 · 2023-11-12 03:15 I used gitlab for a while, but it was a bit resource-heavy for my two whole projects. So just a heads up I suppose. ---------------------------------------------------------------------- szayl · 2023-11-12 04:57 Gitea ---------------------------------------------------------------------- jdigi78 · 2023-11-12 05:12 Gitlab ---------------------------------------------------------------------- trevorstr · 2023-11-12 05:23 OneDev ---------------------------------------------------------------------- chkno · 2023-11-12 05:55 To elaborate: You can create user accounts and set their shell to `git-shell`, which will allow those users to perform git actions (push, pull, etc), but not otherwise allow access to the system. It's even extensible: If a `~/git-shell-commands` directory is present, git-shell allows the user to run executables in there too. I use this to allow users to create new git repositories, archive old ones, configure their visibility, etc.: Each of these actions is a shell script, and I symlink everyone's `~/git-shell-commands` to the directory of approved scripts on account creation. ---------------------------------------------------------------------- Enthane · 2023-11-12 06:50 It’s the runner/builder setup that Github does for you. The hard stuff to facilitate the workflows like secrets, keys to access and a valid builder image with the correct tools. But once you get it right it’s smooth I had to roll my own image for my Python workflows to consistently work, but that’s the price to pay for not having any support. I can check out your logs if you’d like to see if there’s something clear to fix ---------------------------------------------------------------------- laterral · 2023-11-12 06:52 FOSS forever!! Can you share some of the projects you follow? ---------------------------------------------------------------------- laterral · 2023-11-12 06:54 How ---------------------------------------------------------------------- mkosmo · 2023-11-12 07:05 > You are literally running a single c binary in a docker container. You mean in alignment with the "Single-process-per-container" design pattern that is recommended for containerized workloads? The advantage is portability, isolation, and maintainability. ---------------------------------------------------------------------- iheartrms · 2023-11-12 07:19 Just plain git over ssh does the job for me. Nothing else needed to "host" it. ---------------------------------------------------------------------- gm85 · 2023-11-12 07:19 That's what we do. We store our projects on a linux server and configure access to the remote repository (via git or sourcetree) using SSH/SFTP. ---------------------------------------------------------------------- MadManUA · 2023-11-12 08:08 6? mine uses 10 gigs ---------------------------------------------------------------------- GlassedSilver · 2023-11-12 09:02 Too many to count, feel free to check my stars on GitHub, I think they are public. (same username on GH) ---------------------------------------------------------------------- Dave4lexKing · 2023-11-12 09:27 Because you can. Why do I want to eat lasagne for breakfast? ---------------------------------------------------------------------- Tommy0046 · 2023-11-12 09:49 Gitlab ---------------------------------------------------------------------- geek_at · 2023-11-12 09:55 same. Even running x64 and arm workers is amazingly easy and perfomance is great. I have some smaller CI actions that literally take 3 seconds to finish ---------------------------------------------------------------------- Mysterious-Park9524 · 2023-11-12 11:06 Be nice... ---------------------------------------------------------------------- Mysterious-Park9524 · 2023-11-12 11:08 Gitea. ---------------------------------------------------------------------- Affectionate_Fan9198 · 2023-11-12 11:11 Gitea actions is quite new, and not a lot of people adopted it yet. ---------------------------------------------------------------------- sharockys · 2023-11-12 11:28 I personally love onedev. ---------------------------------------------------------------------- KuruReddit · 2023-11-12 12:35 I am currently experimenting with soft serve, which is just a terminal interface to git. Looks fairly nice so far, doesn't clutter my server and seems to run stable (at least the last week, just started testing). I also wanted to test gitea but this is just for my solo stuff and gitea looks like it would be overkill for that ---------------------------------------------------------------------- repocin · 2023-11-12 13:40 >Also there‘s Forgejo How on earth is that supposed to be pronounced? Forge-joe? ---------------------------------------------------------------------- n0rsworld · 2023-11-12 16:07 I think gitlab exists to target small businesses to enterprises ---------------------------------------------------------------------- m-noureldin · 2023-11-12 19:06 I don't know this one, but isn't it inferior to what Gitea can do? I am not sure how is it different? ---------------------------------------------------------------------- KevinCarbonara · 2023-11-12 20:44 My go-to source control for non-public projects is local git on a drive that is automatically backed up. There are web features that are nice in github/gitlab, and a small portion of those also exist in gitea, but it's not worth the hassle. Git offers local source control / file history. Cloud storage offers off-site backup. ---------------------------------------------------------------------- reliableops · 2023-11-12 20:46 **Gitolite** is an excellent choice if you want to host multiple Git repositories and regulate access to them without any unnecessary bloatware. It focuses solely on Git repositories and access control. Setting it up is relatively straightforward. ---------------------------------------------------------------------- rickestrada · 2023-11-12 21:49 Gitea 👍🏻 ---------------------------------------------------------------------- lestrenched · 2023-11-13 01:26 By self-hosted repository solution, I thought you meant a git server + GUI. I like the GUI to check how particular files looked for a certain commit. I can definitely think of some uses of CI/CD, but there are other ways to do it independent of a git-server, no doubt. ---------------------------------------------------------------------- k_blubb · 2023-11-13 07:11 https://forgejo.org/faq/#where-does-the-name-come-from ---------------------------------------------------------------------- Etzelia · 2023-11-13 14:58 I'm biased as a maintainer for both, but I run Gitea and Woodpecker as well and love the setup. I am also playing with Gitea actions, but at least for the time being all my stuff is written for Woodpecker so I haven't changed yet. ---------------------------------------------------------------------- meonkeys · 2023-11-13 22:13 Great question. I don't know an easy/automated way, though I wish one existed. Some ideas, in order of effort/complexity: 1. when you upgrade, pay attention: see if there are any new configuration settings, command line flags, etc. 2. read release notes for every new release 3. periodically check [the gitea issue tracker](https://github.com/go-gitea/gitea/issues) for any complaints about phone home / telemetry / "anonymous statistics" 4. follow commits and PRs, read the code 5. contain gitea within something that prevents and/or tracks outbound connections (this would be pretty handy for anything self-hosted) I get why people, for example, switch to forgejo because this kind of oversight is a lot of work and forgejo already appears to be doing many things right. They clearly state their commitment to community and sustainability, for example. As to the (privacy) concern around telemetry though, you'd *hope* that forgejo does a better job but I just haven't checked to be sure if they do. I also haven't heard anything yet about the new gitea owners taking questionable actions around privacy/telemetry. ---------------------------------------------------------------------- Greedy-Principle6518 · 2023-11-14 10:41 Single user? Sure, absolutely. You and your friend? Fine too... A bit more users and at some point you want more fine grained control, who has access to what repository. ---------------------------------------------------------------------- Lam_GC · 2023-11-15 06:01 I am currently using Gitea and DroneCI, as well as Jenkins (on other servers). Gitea and DroneCI run well on my server with limited resources, and I mainly use them to host private projects and mirror Github repositories for backup. Gitea's interface is relatively outdated, but I believe the community will have plans to renovate it in the future. ---------------------------------------------------------------------- Greeley9000 · 2023-11-15 19:53 How are you guys starting it? I have it in docker and everytime it starts it excepts on giving the server url. If I provide that in the environment variables I just get a 500. I've tried 9.2.0-9.2.5. ---------------------------------------------------------------------- kbmp- · 2023-11-15 20:25 I run it with the Container Manager on the two ports provided by OneDev and expose it through the Synology Nginx Proxy. I did not have to set any environment variables. What screen do you get if you want to connect to it the first time around? ---------------------------------------------------------------------- Greeley9000 · 2023-11-15 20:32 if I don't set the environment in docker, I get the initial startup screen. It asks me to create a username, password, give email. I click next and it asks for the server address. I've tried [http://localhost:6610](http://localhost:6610), [http://127.0.0.1:6610](http://127.0.0.1:6610), [http://localhost/](http://localhost/), and [http://127.0.0.1/](http://127.0.0.1/) Hitting next or continue on this screen (whichever it is) immediately brings me to "oops there was a problem" page I posted the issue here: [https://code.onedev.io/onedev/server/\~issue s/1647](https://code.onedev.io/onedev/server/~issues/1647) I followed this: [https://docs.onedev.io/installation-guide/run-as- docker-container](https://docs.onedev.io/installation-guide/run-as- docker-container) The exception is this: `org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public io.onedev.server.web.page.HomePage(org.apach e.wicket.request.mapper.parameter.PageParameters)' and argument ''. An exception has been thrown during construction!` `at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFa ctory.java:194)` ---------------------------------------------------------------------- Greeley9000 · 2023-11-15 20:50 Oh my god it has been days. Checking this docker-compose.yaml within the repo and reading it like 3 times I noticed that the postgresql driver is different. [https://github.com/theonedev/onedev/blob/main/server- product/docker/docker- compose.yaml](https://github.com/theonedev/onedev/blob/main/server- product/docker/docker-compose.yaml) It's the same one that's here [https://docs.onedev.io/installation- guide/run-as-docker-container](https://docs.onedev.io/installation- guide/run-as-docker-container) But I either cannot read, or read something different somewhere else. hibernate\_driver should be: `hibernate_dialect: "io.onedev.server.persistence.PostgreSQLDialect"` and not: `hibernate_dialect: "org.hibernate.dialect.PostgreSQLDialect"` ---------------------------------------------------------------------- Gixx · 2023-11-16 01:19 Does gitea have gists or snippets yet? Or does Forgejo? ---------------------------------------------------------------------- TeraBot452 · 2023-11-24 02:07 The Linux From Scratch team still use this workflow daily!