Live data from Hacker News

Codeberg: A GitHub alternative from Europe

ruky.me

171–180 of 220 posts

Re: Codeberg: A GitHub alternative from Europe

#171
post #152

Earlier quoted context omitted.

Please keep in mind codeberg runs on donations (like mine :) ). If you join and have resources, consider donating (they're on LiberaPay). Their finances seem healthy and sustainable for now. https://liberapay.com/codeberg/

$400/month hardly seems sustainable. That pays for hosting and not much else.

You can also become a supporting member and donate directly, which is what I did: https://join.codeberg.org/

Re: Codeberg: A GitHub alternative from Europe

#172
post #18

Here is a list of free Git hosting services for open source software: • https://github.com/ • https://gitlab.com/ • https://bitbucket.org/ • https://codeberg.org/ (As per the linked article) • https://sr.ht/ (Sourcehut) Codeberg and Sourcehut appear to use open source code for their web page backend; the others seem to use proprietary software (in the case of GitLab, there is a free version, but gitlab.com also uses…

> gitlab Pretty sure GitLab is open source.

Open core

Re: Codeberg: A GitHub alternative from Europe

#173

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…

How do you sync your github repos to gitea on a regular basis?

Gitea mirroring fetches changes periodically

Re: Codeberg: A GitHub alternative from Europe

#175

Earlier quoted context omitted.

I wonder if there even is public mercurial hosting available anymore. This git monoculture is starting to be a bit annoying.

Heptapod supports a Mercurial hosting service (free for OSS) that’s a fork of GitLab: https://heptapod.net/

Really appreciate the link. Much prefer mercurial to git on my own stuff.

Re: Codeberg: A GitHub alternative from Europe

#176
post #165

Earlier quoted context omitted.

From what I’ve seen, the config uses dictionaries for concurrent pipelines. Sequential commands are in an array (ie hyphen prefixed). Plus it’s a bit late to hate on YAML for CI config since it’s already being used by most services, such as: - Concource - Travis - CircleCi - GitHub Actions - Gitlab - AWS CodeBuild …not to mention a crap load of other orchestration services from docker-compose to k8s to CloudFormation…

I am not hating on the whole of YAML, but the way they are misusing it in Woodpecker. None of those other services you mention are doing something this bad, e.g. relying on parts of YAML that are NOT standard (ordering of elements in a dict) and not supported by some languages/libraries. > From what I’ve seen, the config uses dictionaries for concurrent pipelines. You are wrong about that, see https://github.com/wood…

Oh wow. You’re right. That is dumb. When I glanced over the example config file it looked like frontend and backend was intended to run in parallel (because that would have been the sensible way to design it).

It’s such a shame that the authors aren’t receptive to the problem because the longer they leave it the bigger the issue to change it will be.

Re: Codeberg: A GitHub alternative from Europe

#177

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…

How do you sync your github repos to gitea on a regular basis?

It's automatic: all one has to do is specify the sync interval as "hh:mm:ss" for each mirrored repo.

Re: Codeberg: A GitHub alternative from Europe

#178

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 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?

I run it on a Raspberry Pi4 (as a Docker image, with automatic updates using WatchTower.)

Of course performance depends on the size of your database and how many repos/files. I've configured it to use a sqlite3 database, which runs great.

Re: Codeberg: A GitHub alternative from Europe

#179

Here is a list of free Git hosting services for open source software: • https://github.com/ • https://gitlab.com/ • https://bitbucket.org/ • https://codeberg.org/ (As per the linked article) • https://sr.ht/ (Sourcehut) Codeberg and Sourcehut appear to use open source code for their web page backend; the others seem to use proprietary software (in the case of GitLab, there is a free version, but gitlab.com also uses…

gitlab and github both provide a program that runs on your raspi and executes the ci pipeline. Search for ‘runner‘. As a solo developer, you can even install the runner on your laptop. It will only be needed while you’re connected to the network anyways.

Re: Codeberg: A GitHub alternative from Europe

#180
post #143

Earlier quoted context omitted.

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

Remarkably, Gitea can also run directly on my NAS with it's very slow CPU and limited memory. I wouldn't be surprised if it runs on other "appliance"-type devices like routers & NAS with 10+ year-old ARM or MIPS microprocessors.
Post reply on HN