Live data from Hacker News

Codeberg: A GitHub alternative from Europe

ruky.me

141–150 of 220 posts

Re: Codeberg: A GitHub alternative from Europe

#141
post #131
post #122

Earlier quoted context omitted.

Does SourceHut still have an aversion to Kubernetes and Docker? Last year I was trying to setup SourceHut on my home infra (which is Docker/SystemD based, but was Kubernetes based) and I was told I'd be banned if I asked about it, and that they don't support that kind of software. Super weird interaction from someone I otherwise used to admire.

This is Drew's position: https://paste.sr.ht/~sircmpwn/78cc21e1661d5a9d8038f47e532d28...

Pretty feeble argument. Basically it boils down to "if you use Docker you risk not learning how it works and hurting yourself." As I mention in the sibling comment, it would feel less patronising just saying out loud "we do not like containers, roll your own."

Re: Codeberg: A GitHub alternative from Europe

#142
post #126

Earlier quoted context omitted.

Presumably people value the UI (also, what is the "gigantic web server overhead" you're referring to?).

Ever tried to install gitlab? It's like 1GiB compressed package. lol

Gitea is much more lightweight.

Re: Codeberg: A GitHub alternative from Europe

#143

I'd like to plug self-hosting via Gitea. I have it running on a Raspberry Pi Zero(!) and it works really well[0]. I no longer star projects on GitHub: instead, I mirror them onto my Gitea server which periodically syncs in changes with a cadence of my choosing[1]. If a project I depend on ever gets deleted from GitHub, I'll have a reasonably up-to-date copy. If you have a Pi in a drawer somewhere, or an underutilized…

What do you use as mass storage?

Re: Codeberg: A GitHub alternative from Europe

#145

I've moved a few of my repos over to Codeberg, but I'm not entirely happy with their reliability, having had at least two outages in the last few months where I couldn't browse repositories on the web interface.

Have you ever used GitHub or GitLab? They go down pretty frequently too.

Re: Codeberg: A GitHub alternative from Europe

#146

Earlier quoted context omitted.

What kind of machine (specs) would I need to run to self-host gitea with decent performance? Small container or EC2 instance (or droplet), etc should be enough?

Err...I guess you sort of answered my question since you're running it on a raspberry pi :P Performance seems just fine? Curious to hear more about your experience. Thanks!

caveat: the server only has a single user.

Performance wise, pushing and pulling work as fast as any other git server (Though I don't have any hooks). The UI is snappy, though it can be sluggish when initially importing large projects.

Out of the 2-dozen projects its handling, the only issue I encountered was the Pi choking while migrating a large project (github.com/huggingface/transformers): I suspect it was hitting an internal timeout when importing large LFS files (ML models). Fortunately, since it uses bare repos and a simple db schema, I performed the git clone operation manually and updated the SQLite db to enable the "mirror" flag & it's been happily syncing since.

Re: Codeberg: A GitHub alternative from Europe

#147
post #122

Earlier quoted context omitted.

I think we should emphasize that Sourcehut is just currently free while it is in alpha. Mr. DeVault been very upfront about the fact that he's planning to start charging eventually. From his FAQ, https://man.sr.ht/billing-faq.md#why-should-i-pay-when-githu... The point is to set up a responsible financial situation between himself and the users and avoid the bad incentive structures that "free" services have ("Free"…

Does SourceHut still have an aversion to Kubernetes and Docker? Last year I was trying to setup SourceHut on my home infra (which is Docker/SystemD based, but was Kubernetes based) and I was told I'd be banned if I asked about it, and that they don't support that kind of software. Super weird interaction from someone I otherwise used to admire.

Speaking from the user side on CI usability, SourceHut, while not supporting a cache (which would be dope), has been pretty good with Nix and supports running NixOS unstable as an image for CI. This has been better for me than wasting steps building containers from Nix and then running the containers that some CIs require. I believe the SourceHut setup is in nixpkgs too to run yourself easily.

Re: Codeberg: A GitHub alternative from Europe

#148
post #143

I'd like to plug self-hosting via Gitea. I have it running on a Raspberry Pi Zero(!) and it works really well[0]. I no longer star projects on GitHub: instead, I mirror them onto my Gitea server which periodically syncs in changes with a cadence of my choosing[1]. If a project I depend on ever gets deleted from GitHub, I'll have a reasonably up-to-date copy. If you have a Pi in a drawer somewhere, or an underutilized…

What do you use as mass storage?

I initially used the class-10 microSD card that boots the Pi, but I've moved to an ISCSI mount on my NAS, mostly because I have an unsophisticated LFS setup

Re: Codeberg: A GitHub alternative from Europe

#149

Earlier quoted context omitted.

Err...I guess you sort of answered my question since you're running it on a raspberry pi :P Performance seems just fine? Curious to hear more about your experience. Thanks!

caveat: the server only has a single user. Performance wise, pushing and pulling work as fast as any other git server (Though I don't have any hooks). The UI is snappy, though it can be sluggish when initially importing large projects. Out of the 2-dozen projects its handling, the only issue I encountered was the Pi choking while migrating a large project (github.com/huggingface/transformers): I suspect it was hittin…

Nice, thanks for the details!

Re: Codeberg: A GitHub alternative from Europe

#150
post #5

> However, you won’t be getting the advanced features like automation or other integration and collaboration features provided by GitHub. Codeberg is working on CI and you can request early access. I've found it to work well and fast. https://codeberg.org/Codeberg-CI

The problem is Woodpecker is just not up to the standards of other CI systems.

That, along with many messing advanced features pushed me towards gitlab.

Post reply on HN