Why I'm leaving GitHub for Forgejo (jorijn.com)
from floofloof@lemmy.ca to programming@programming.dev on 13 May 13:45
https://lemmy.ca/post/64804269

cross-posted from: lemmy.bestiver.se/post/1104105

Comments

#programming

threaded - newest

patruelis@lemmy.world on 13 May 14:21 next collapse

I did the same. 150 projects self hosted now

mesamunefire@piefed.social on 13 May 15:48 next collapse

Same. 2 libraries

JustEnoughDucks@feddit.nl on 13 May 15:50 collapse

How big are these projects? It sounds like a nightmare to maintain or even finish!

FizzyOrange@programming.dev on 13 May 18:08 next collapse

Probably NPM packages. I once saw a guy who was super proud that they “maintained” something insane like 500 NPM packages. They had custom tooling to make it possible.

Of course it was all less than worthless.

GiorgioPerlasca@lemmy.ml on 13 May 19:54 collapse

If you are a programmer teacher, you could have a dozen of minimal projects that show very simple but complete examples of the libraries or frameworks.

Plus, some people fork all their dependencies in the case that the maintainer rage deletes them for some reason.

cecilkorik@lemmy.ca on 13 May 14:22 next collapse

This is the way. If you don’t care that much about CI/actions or already use a non-Github solution for that, it’s even easier.

trevor@lemmy.blahaj.zone on 13 May 14:26 collapse

Yeah. The real challenge with leaving GitHub is the availability of free macOS and Windows build environments (if you’re in to that weird stuff 🧐).

Codeberg only has Linux runners (to my knowledge), but I spent the time to make my project cross-compile to macOS and it was well worth it to move my stuff off of shithub.

mesamunefire@piefed.social on 13 May 15:51 collapse

With some effort woodpecker is available. But yeah i wws spoiled on semi free builds. And circle ci builds back in the day.

trevor@lemmy.blahaj.zone on 13 May 15:58 collapse

I build with woodpecker, but you still don’t get hosted macOS and windoesnt runners, do you?

mesamunefire@piefed.social on 13 May 16:08 next collapse

I recall there was a way… But its coming up blank. Im at work so ill try looking it up. It mifht be a custom thing i set up years ago….or just an old intel mac with tools setup.

Senal@programming.dev on 13 May 19:28 next collapse

don’t mac/ios runners require an actual mac/ios device ?

I don’t do apple stuff so i’m not sure.

mesamunefire@piefed.social on 13 May 20:51 collapse

OK I found out after I got home for lunch.

Its just a script that reaches out to my old mac mini that does the build in a VM. New VM each time. It was good enough for my purposes. The windows runner for Xamarin worked without issues in .net with windows runners. So just two physical boxes I would spin up on the fly. I thought it was more but that was it. I stopped using it a while back and just use linux for builds now since thats mostly my day job. I stopped doing other env work a bit ago.

Hope that helps!

jubilationtcornpone@sh.itjust.works on 13 May 14:40 next collapse

I already switched months ago.

onlinepersona@programming.dev on 13 May 19:04 collapse

Same. radicle, codeberg, gitlab. Once (if?) forgejo gets federation, I bet it’ll lead to a GitHub exodus.

confusedpuppy@lemmy.dbzer0.com on 13 May 15:19 next collapse

I got into programming within the last couple years and Codeberg was my first choice for a public git repository. I’m glad I made that decision back then.

I keep a clone of my Codeberg repo’s on my server simply using Caddy’s built in file server. Unless someone takes interest in the projects I’m working on, I don’t really feel like hosting an instance of Forgejo myself. At the very least the code and git history is still available directly from my server and that makes me happy enough.

MonkderVierte@lemmy.zip on 13 May 15:50 next collapse

Btw, can we please create a standard for issues & pull requests, independent from platforms, just like plain git?

onlinepersona@programming.dev on 13 May 19:02 next collapse

I’m not sure how that would work without something around git. It would require push rights to your git instance: you’d need to add a bunch of tooling to protect yourself:

  • stop people from pushing junk to your server e.g large files, endless while loop that pushes issues filled with random characters or just counting endlessly
  • stop people from pushing malicious stuff that can infect you by running the git hook that checks the content
  • ensure you have protected branches (again probably a git hook?)

You’d need notifications that somebody has create and issue and PR, or a web interface around git so you can see it.

radicle has made something that works, but it required a gossip protocol to do a lot of work. There’s git-bug, but that also runs into the problem of allowing others access to your git.

A simple standard won’t cut it. There is way more that has to be considered besides a simple file format. That’s exactly why git-forges exist. I’m not saying it’s impossible, but way more difficult than a git forge (IMO).

lemmysmash@beehaw.org on 13 May 21:49 collapse

And that’s how we’re back to mailing lists :D

samc@feddit.uk on 13 May 23:18 next collapse

Exactly this. IMO we just need better ways of rendering a mailing list inbox as a series of issues/PRs. And maybe better tooling from IDEs to “open a PR” using git send-email.

Source hut is close to my ideal here, but still seems rather complex. Maybe I just don’t appreciate the necessary problems it solves yet.

onlinepersona@programming.dev on 14 May 05:25 collapse

Mailing lists are terrible. That’s part of why source forges became a thing. You can send pretty much anything into mailinglist in any format you like.

iltg@sh.itjust.works on 14 May 03:27 collapse

git send-email

MonkderVierte@lemmy.zip on 13 May 16:07 next collapse

The right way to read this list is not “GitHub is unreliable.” Big systems break.

Well, yeah. Which makes them unreliable.

savedbythezsh@sh.itjust.works on 14 May 02:23 next collapse

xkcd.com/2045/

Couldn’t help myself

NigelFrobisher@aussie.zone on 14 May 04:43 collapse

Say less.