this post was submitted on 24 Jan 2024
270 points (90.9% liked)

Open Source

31140 readers
318 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

First, they restricted code search without logging in so I'm using sourcegraph But now, I cant even view discussions or wiki without logging in.

It was a nice run

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 82 points 9 months ago (4 children)

Honestly for selfhosters, I can't recommend enough setting up an instance of Gitea. You'll be very happy hosting your code and such there, then just replicate it to github or something if you want it on the big platforms.

[–] [email protected] 149 points 9 months ago (4 children)

Just so you're aware, Gitea was taken over by a for-profit company. Which is why it was forked and Forgejo was formed. If you don't use Github as a matter of principle, then you should switch to Forgejo instead.

[–] [email protected] 54 points 9 months ago (3 children)

Damnit of course it was. Thanks for letting me know, now I'll have to redo my 100+ repos.

[–] [email protected] 18 points 9 months ago (1 children)

Changing the remote should be fairly trivial with enough bash skills

[–] [email protected] 6 points 9 months ago (1 children)

It's more I don't have them all checked out, and a good chunk are mirrors of github, so I'll have to list out each one and push to a new remote, mirrors will have to be setup again, and I also use the container and package registries. I'm pretty embedded. It's not impossible, but it's a weekend project for sure.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (1 children)

If it was just forked, cant you just switch the package/container-image and be done?

[–] [email protected] 2 points 9 months ago (2 children)

Depends on how much it was changed I'm guessing. Fingers crossed I could just flip it over, but who knows

[–] [email protected] 2 points 9 months ago

Simply changing the binary worked for me. Been more than 1 month and no migration issues.

It does still show gitea branding, however.

[–] [email protected] 1 points 9 months ago

If you are using containers, it should be fairly trivial. Otherwise, there might be some renaming to do, but Forgejo should be 100% compatible with Gitea (at least right now). Just make sure you have a good backup in case anything would happen.

[–] [email protected] 3 points 9 months ago

If there’s a fork, it’ll probably be an easy migration/in-place upgrade.

[–] [email protected] 1 points 9 months ago

My understanding is the fork isn't doing much but waiting to see if gitea turns to shit, pushing all their changes upstream. If you use docker I've heard you can just pull the new image and it simply drops in, no migration needed.

[–] [email protected] 4 points 9 months ago (1 children)

did they get federation working?

[–] [email protected] 14 points 9 months ago (1 children)

Nothing usable yet unfortunately, but they seem to be making good progress: https://codeberg.org/forgejo/forgejo/issues/59

[–] [email protected] 5 points 9 months ago

Thanks for the link! As long as it's being worked on I feel comfortable spinning up an instance. I've been meaning to do gitea for a while so I'm glad I waited.

[–] [email protected] 2 points 9 months ago

Oh man, thanks for this. I had no idea, having used gitea for years now.

[–] [email protected] 2 points 9 months ago

Thanks for the info

[–] [email protected] 21 points 9 months ago (1 children)

Forgejo for you chap.

Honestly I'm kind of surprised that Gitea is still being recommended on Lemmy, it's been a while since Gitea was acquired and the community has been raging since. Lemmy is regressing

[–] [email protected] 14 points 9 months ago

Lemmy is regressing

it is not lol, you are just realising that you are not part of any elite for the simple reason of using it

[–] [email protected] 5 points 9 months ago (2 children)

+1 for Gitea. It's super lightweight, and works really well! I recently switched to Gitlab simply because I wanted experience with hosting it, but Gitea is much lighter and easier to use.

[–] [email protected] 26 points 9 months ago (1 children)

Forgejo please. Gitea was acquired by a for-profit company

[–] [email protected] 1 points 9 months ago

I had no idea what Forgejo was and assumed you were calling me a derogatory term 😂 thanks though, I’ll look into Forgejo next time I need to switch Git platforms

[–] [email protected] 5 points 9 months ago

Maybe have a look at this comment elsewhere in the thread.

[–] [email protected] 2 points 9 months ago (1 children)

Does it have any features that github doesn't?

[–] [email protected] 2 points 9 months ago

Its pretty good, for most people there isn't anything missing

Actions can't be triggered by workflow dispatch

Pull requests can't wait for status checks