Top
Best
New

Posted by jslakro 7 hours ago

Moving from GitHub to Codeberg, for lazy people(unterwaditzer.net)
402 points | 197 commentspage 2
ramon156 3 hours ago|
Instead of "moving", let's at least have some mirrors up. Mirror all your repos to CB, make a FOSS tool to do this automagically for you. Let users be able to just click a button and boom, mirror.

The goal is to get at least a % available on CB, then we can think about where the community is

Aperocky 2 hours ago|
Why didn't codeberg make this FOSS tool though? Seems natural they should.
r14c 2 hours ago||
They disabled the mirrors feature because they didn't want a bunch of accounts mirroring large repos and doing nothing else.

Forgejo does support mirrors, just not codeberg.

ponkpanda 5 hours ago||
Repo hosting is the kind of thing that ought to be distributed/federated.

The underlying protocol (git) already has the cryptographic primitives that decouples trust in the commit tree (GPG or SSH signing) with trust in the storage service (i.e. github/codeberg/whatever).

All you need to house centrally is some SSH and/or gpg key server and some means of managing namespaces which would benefit from federation as well.

You'd get the benefits of de-centralisation - no over-reliance on actors like MS or cloudflare. I suppose if enough people fan out to gitlab, bitbucket, self hosting, codeberg, you end up with something that organically approximates a formally decentralised git repo system.

JuniperMesos 3 hours ago||
https://radicle.xyz/ is a project aiming to do exactly this.
swiftcoder 4 hours ago|||
> Repo hosting is the kind of thing that ought to be distributed/federated.

Hence Tangled and ForgeFed (which I believe is integrating in Forejo)

mikepurvis 3 hours ago||
I hadn't heard of either of these, but I'm interested.

I think at this point the bigger barrier to me with leaving GitHub (professionally, at least) is all the non-GitHub stuff that integrates nicely with it and badly or not at all with other solutions. And like, I don't blame tool providers for making a rational economic choice in that regard, but if leaving GitHub means leaving seamless Sentry, Depot, Linear, editor plugins, AI integrations, etc that makes it a tougher pill to swallow.

I worked for years at a shop that had in-house GitLab and we felt this pain first hand all the time. GitLab tries to be a one-stop shop and own the whole project management and testing/deployment workflow by building everything in house, but there were always gaps and it was hard not to be jealous of places that just did everything on GitHub and could use whatever best in class saas stuff they wanted.

Gitlab has been tracking a federation feature since at least 2018 [1], and I expect bitbucket, sourcehut, gitea, and others would move quickly on something like this as well, but there needs to be a protocol defined and some kind of plan for handling spam/abuse.

[1]: https://gitlab.com/groups/gitlab-org/-/work_items/16514

GalaxySnail 2 hours ago||
git-bug[1] looks promising, but I haven't tried it.

[1] https://github.com/git-bug/git-bug

mrbluecoat 5 hours ago||
Is there a "Moving open source search from GitHub to XYZ, for lazy people"? When I'm looking for solutions to problems that open source might be able to solve, I find the fracturing of code hosting platforms an annoyance.
fhennig 5 hours ago|
Can you elaborate what the problem is? IMO hosting and search are quite decoupled, why not just search for "open source solution to problem XYZ" in your favorite search engine?
mrbluecoat 3 hours ago||
I specifically like the filtering to say "permissive license in Go language"
kps 3 hours ago||
What I'd like to see is a lazy person's HOWTO for the last paragraph:

> You could tell Codeberg to push new commits to GitHub, but this allows users to still file PRs and comment on issues and commits 2. Some folks have dealt with this by disabling issues on the GitHub repo, but that is a really destructive action as it will 404 all issues, and pull requests cannot be disabled. Some repos like libvirt/libvirt have written a GitHub Action that automatically closes all pull requests.

InitialPhase55 5 hours ago||
Might be more difficult for people with private repos, as I recall Codeberg doesn't like private repos on their platform.
xeeeeeeeeeeenu 5 hours ago||
If you have a server, some cheap VPS will suffice, you can host a private git repo there without installing anything. Run this on your server:

     git init --bare foo.git
and then on your PC you can do this:

    git clone user@yourserver.com:~/foo.git
It's probably a good idea to make a separate user account on the server for it, though.
throwa356262 5 hours ago||
This is great, but you can also run foregjo (the server behind coderberg) on your VPS.

It is a single binary and I think it is also very light on resources. At least compared to gitlab.

dqv 5 hours ago||
I've actually been meaning to set up a forgejo instance on pikapods. Apparently it's 2 USD/month to do it.
systems 5 hours ago||
I just noticed this, they dont allow private repos (with few exceptions)

I wonder why they dont just offer unlimited private repos for (reasonably) paid accounts , I think maybe a 40 dollar per year (or 4 dollar monthly), is low and encouraging , and should be welcomed by many , I hope they consider it

wongarsu 5 hours ago||
Codeberg is a German nonprofit. To keep their tax-advantaged status, anything they do has to follow the purpose established in their bylaws. That purpose is "to promote the creation, collection, distribution and preservation of Free Content (Open Content, Free Cultural Works) and Free and Open Source Software (FOSS) and their documentation in selfless work to enable equal opportunities regarding the access to knowledge and education. Furthermore, this also intends to raise awareness for the social and philosophical questions interconnected with this."

I imagine they would argue that private repositories do not follow this purpose, as they are neither free content nor FOSS. I believe you could argue that charging a modest fee for private repositories to finance the hosting of FOSS repositories is in line with the purpose, but you get on thinner ice with that. It could quickly make them appear more like a company than like a nonprofit

maxdo 2 hours ago||
Everything runs on servers that we control. We will not sell your data.

Hosted in Europe, we welcome the world.

```````

so it's you control, make money vs they control make money. what is the difference here , except some eu version of maga movement here?

moritzruth 31 minutes ago||
> we welcome the world

> maga movement

aerzen 2 hours ago|||
Forgejo is also OSS, so you can easily migrate git and issues and prs and everything to your own hosted instance, if codeberg proves untrustworthy. Which I can't on github.
peter_griffin 2 hours ago|||
owned by a non profit instead of microsoft
paulddraper 2 hours ago||
No service provider lock-in.

Codeberg is just a hosted instance of Forgejo (GPLv3).

They even support a workflow for migrating to a different Forgejo instance [1].

[1] https://docs.codeberg.org/advanced/migrating-repos/

askonomm 3 hours ago||
I'm self-hosting Forgejo on my own home server. It's super easy to do via Docker or as a single binary executable. I even have CI/CD runners on it, which was also very easy to set up. Definitely recommend for those who might not want to rely on someone else, be it Codeberg or not, but still get the same quality as Codeberg (as they literally run Forgejo themselves).
hgo 3 hours ago||
Oh, I didn't know github had free macOS CI runners. Maybe that would solve my dreadful upcoming issue that I'd have to update my mac to a version with glass to be able to build for the app store.
codazoda 5 hours ago|
I love the simple design of the page. This is a random observations, but I noticed the author has an interesting "likes" button that is served from an API on https://dddddddddzzzz.org, a curious and interesting looking domain. I'll have to go dig around his blog to see if he's written about this.
KomoD 4 hours ago|
> This is a random observations, but I noticed the author has an interesting "likes" button that is served from an API on https://dddddddddzzzz.org, a curious and interesting looking domain. I'll have to go dig around his blog to see if he's written about this

Here you go: https://openheart.fyi

More comments...