Live data from Hacker News

Poll: Self Hosting Git Repositories

news.ycombinator.com

51–60 of 86 posts

Re: Poll: Self Hosting Git Repositories

#51
post #10

Earlier quoted context omitted.

Then you don't have too much of a choice: gitlab all the way :) We ran an gitlab instance for about eight years and it worked flawlesly[1] for a team of ~20, with quite a few active repos (i.e. constantly pushing), some of them being generously large, running several pipelines on most of them. PS: gitorious was aquired by gitlab, not gitolite. My bad. [1]: once we pumped up _LOT_ of RAM into it that is

I would not recommend Gitlab. It is slow and buggy. I cannot disclose details (we are premium customer and the bug reports would disclose my employer and identity), but every second week our Gitlab integration is blocked by some real shitty bug. Most common thing: Gitlab has a feature we need, but its only usable via WebUI and the API endpoint is broken or lacking in necessary details. So we cannot automate things th…

We were also using Gitlab for a couple years now and are switching over to Github now. CI on Gitlab is nice, but Github Actions work very similar.

Most of our devs were annoyed by some external toolings that supported Github but not Gitlab, Gitlab being slow or down, markdown rendering being terrible slow as well as almost all of the PR additions (e.g. eslint checks, test coverage reports etc) being in the top tiers (with pricings being out of scope for us).

Re: Poll: Self Hosting Git Repositories

#52
My main repos are all on Github (a few on bitbucket from back when Github did not have free private repos... how many years ago was that?) and I mirror them all with a simple cronjob of "git pull --rebase" (this gets into the normal backup cycle then)

I used to run gitolite (pre Github's existence :P) and I'm thinking about gitea, but for now I am very happy with my setup.

Re: Poll: Self Hosting Git Repositories

#53
Anything else than GitLab, it's so slow and bloated. With every "update" it seems to get even slower and depend even more on javascript. I really hate how so many open source projects shifted to this abnormation because Microsoft acquired GitHub, I mean, regardless of what evil shit Microsoft could think up, it can't be worse than having to deal with this javascript turd. If your web interface can't even just display simple information like issues page or merge requests, without depending on a huge pile of steaming javascript, you have FAILED in web design. I cry every time I'm forced to use GitLab. Just my two cents.

Re: Poll: Self Hosting Git Repositories

#54
post #49
post #21

if it's for personal use and no access rights are needed, just use ssh. If you need to add more people, but don't require access right for the git repos (i.e. everyone will be able to force push). Still use ssh, but create a git user and git-shell as the shell to improve security. If you want to go one step up, I was looking at soft-serve, however it's too immature yet. So I added a git-shell-commands folder and adde…

Do you mean use VSCode with Remote-SSH and just work on a server?

No I think OP means log in to your server via SSH, ‘git init —bare’ and you’re done. You’re now self hosting your git “server” without any of the tools listed in this poll.

Re: Poll: Self Hosting Git Repositories

#56
We're serving git over https using apache2, where apache handles authentication via LDAP. We also serve subversion repos with a similar setup. We use separate web services for search, code review, CI, and issue tracking.

Running this way does involve more moving parts, but every part is relatively self-contained and we can replace one thing without disrupting everything.

[Edit] one other benefit I should add, all the other services like code review and CI are compatible with git and svn, so the development teams have consistent tools regardless which vcs they're running for a particular project.

Re: Poll: Self Hosting Git Repositories

#60
post #13

Gitea (originally a fork of Gogs) is moving fast, and they are adding ActivityPub federation support to the software. This will allow you to collaborate with projects hosted on remote Gitea instances (and other software once they add federation support too). If you are working on FOSS then Codeberg [1] is a good Gitea instance, which offer Woodpecker CI and Codeberg Pages. [1] https://codeberg.org

same here, gitea for a few years, works great for all my personal git repos. it's essentially my own github/gitlab that runs off one binary.
Post reply on HN