this post was submitted on 24 Jan 2024
255 points (91.0% liked)

Open Source

31359 readers
92 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

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 90 points 10 months ago (1 children)

The only thing surprising is that it took Microsoft almost three years to turn on the shit-spigot.

[–] [email protected] 45 points 10 months ago

You gotta embrace first

[–] [email protected] 74 points 10 months ago (7 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] 138 points 10 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] 50 points 10 months ago (2 children)

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

[–] NightAuthor 3 points 10 months ago

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

load more comments (1 replies)
[–] [email protected] 3 points 10 months ago (1 children)

did they get federation working?

[–] [email protected] 14 points 10 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 10 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.

load more comments (2 replies)
[–] MigratingtoLemmy 22 points 10 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

[–] superbirra 14 points 10 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

load more comments (5 replies)
[–] TootSweet 48 points 10 months ago (6 children)

I moved all my open source projects to Gitlab the day Microsoft announced they were acquiring Github.

(I wish in retrospect I'd taken the time to research and decide on the right host. I likely would have gone to Codeberg instead of Gitlab had I done so. But Gitlab's still better than Github. And I don't really know for sure that Codeberg was even around back when Microsoft acquired Github.)

[–] [email protected] 23 points 10 months ago* (last edited 10 months ago)

My first impression of gitlab was offputting because I was using hardened firefox and couldnt get past through cloudflare so I ended up using github. It was also better ui wise but now its just a mess

Edit: slowly i'm starting to move everything to codeberg

[–] grue 14 points 10 months ago (3 children)

I'm OOTL. Why is Codeberg better than GitLab?

[–] [email protected] 11 points 10 months ago* (last edited 10 months ago) (1 children)
  1. It is FOSS while GitLab EE is not.
  2. It supports a lot of atifact repository formats while GitLab only docker registry.
  3. It is a non-commercial project.
[–] superbirra 3 points 10 months ago (1 children)
  1. It supports a lot of atifact repository formats while GitLab only docker registry.

not true https://docs.gitlab.com/ee/user/packages/package_registry/supported_package_managers.html

that said, I hate gitlab and their commercial choices, they must die

load more comments (1 replies)
[–] [email protected] 8 points 10 months ago

Codeberg is ran by a German nonprofit. GitLab is publically-traded on NASDAQ.

[–] TootSweet 3 points 10 months ago* (last edited 10 months ago)

I'm not really sure it is. I just wish I'd shopped around before jumping to Gitlab, really.

It kindof feels like Gitlab's aims are more commercial and Codeberg's are more in line with the FOSS movement, but that's just a vague sense I have based on things I've seen but no longer remember specifically.

CalcProgrammer1's response to my post seems pretty informative and apropos, though.

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

Codeberg us really new, i think like 2 years. Since covid for sure.

[–] TootSweet 4 points 10 months ago

Ah. Good to know. I don't feel so bad about going with Gitlab now.

[–] BurnoutDV 3 points 10 months ago

I registered there june 2020 so longer than that

[–] akrot 6 points 10 months ago

The landscape is changing so fast thanks to LLMs, everything is becoming gated behind logins. Thanks ChatGPT.

[–] [email protected] 5 points 10 months ago (1 children)

I still left my old and unmaintained projects on GitHub but I moved all my active projects to GitLab and any new projects go there too. I have them auto mirrored back to GitHub though as the more mirrors the better. I also recently set up a Codeberg mirror for some of my projects, though GitLab's CI is what is keeping me on GitLab even though they nerfed the shit out of it and made it basically a requirement to host your own runners even for FOSS projects a year or two back. Still hate them for that and if Codeberg gets a solid CI option, leaving GitLab would make me happy. They too have seen quite a lot of enshittification in the years since Microsoft bought GitHub.

[–] baronvonj 3 points 10 months ago (2 children)

nerfed the shit out of it and made it basically a requirement to host your own runners even for FOSS projects a year or two back.

Did they just reduce quotas (minutes?, cache storage?) or did they remove features? I've always used self-hosted runner

load more comments (2 replies)
[–] [email protected] 5 points 10 months ago (2 children)

Make the move from Gitlab to Codeberg in the last few days: really simple to do, give it a try ;-)

load more comments (2 replies)
[–] [email protected] 39 points 10 months ago

I'm honestly blown away by whomever finds this surprising. This is Microsoft we're talking about. Everything they touch turns into this. Taking what is not theirs, using it for profit, and not even giving credit where credit is due.

[–] inspxtr 24 points 10 months ago* (last edited 10 months ago) (1 children)

Hold up, are you sure you can’t view Discussions or Wiki? Which sites can you not view them?

I’m fine viewing them for public repos that I usually visit.

Asking to make sure that Github is not slowly rolling out this lockdown.

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

Most probably. I was viewing discussions about podman, I could view them if directily opened from a link but it required login when navigated to linked pages and wiki

[–] [email protected] 18 points 10 months ago (6 children)

What are good alternatives to GitHub except selfhosting? I only know gitlab.com. Anything else?

[–] [email protected] 37 points 10 months ago (1 children)

Codeberg is very good, and non-profit.

load more comments (1 replies)
[–] [email protected] 20 points 10 months ago
[–] [email protected] 9 points 10 months ago
load more comments (2 replies)
[–] [email protected] 13 points 10 months ago* (last edited 10 months ago) (3 children)

I'm not a developer so I'm not very familiar with this world. But it kind of amazes me that the code for so many open source projects are hosted by Microsoft. Isn't there a FOSS alternative? edit: seems Gitlab is an alternative. Then the question is, why are people using microsoft products?

[–] [email protected] 19 points 10 months ago

Github started independently and was amazing service(and still is except now its going downhill) but Microsoft acquired it it 2018

[–] DacoTaco 10 points 10 months ago* (last edited 10 months ago) (1 children)

The power of git ( the backbone of github ) comes in that you can easily take a repository and move it to a different server. Its like, 3 commands? ( git vlone, git add remote, git push ). So if people would leave github, nothing is lost :)

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago) (1 children)

Github is designed to centralize git (as the word "hub" suggests). You can still migrate away code, issues and wikis, but contributors, followers, wiki editors, issue subscribers, visibility in general and github stars are locked in. Discoverability matters to projects trying to attract contributors.

load more comments (1 replies)
[–] [email protected] 13 points 10 months ago

They also broke some stuff with some javascript, I think. I'm using KDE's web browser (Falkon) and it used to work well.

[–] [email protected] 11 points 10 months ago (5 children)

I'm still stuck on why I have to create a password-equivalent API token, and then store it on my hard drive if I want an at-all-convenient workflow.

"We made it more secure!"

"How is storing it on my hard drive more secure"

"Just have it expire after a week!"

"How is it more secure now, seems like now there are two points of failure in the system, and anyway I keep hearing about security problems in github which this hasn't been a solution to any of them"

"SHUT UP THAT'S HOW"

[–] [email protected] 22 points 10 months ago (1 children)

An API token is more secure than a password by virtue of it not needing to be typed in by a human. Phishing, writing down passwords, and the fact that API tokens can have restricted scopes all make them more secure.

Expiration on its own doesn't make it more secure, but it can if it's in the context of loading the token onto a system that you might lose track of/not have access to in the future.

Individual API tokens can also be revoked without revoking all of them, unlike a password where changing it means you have to re-login everywhere.

And that's just the tip of the iceberg. Lmk if you have questions, though.

load more comments (1 replies)
load more comments (4 replies)
[–] UnfortunateShort 11 points 10 months ago

Compared to Gitlab, it definitely is shit already. And that has nothing to do with the artificial restrictions. God I hate this website. I appreciate their service, but the UI is genuinely trash.

[–] PoliticalAgitator 10 points 10 months ago

You don't need the question mark. If something is for-profit (or can be used for profit) then sooner or later it will be enshittified.

They have teams of people whose entire job is figuring out ways to wring a few more cents from somebody. Put them at the helm of a company that's stood for 1000 years and they'll be thrilled at how easy it will be to use that name to sell plastic dogshit at a premium price.

[–] 10_dollar_banana 8 points 10 months ago (3 children)

What about the time they fired their artists and then immediately wrote a blog post congratulating themselves for making AI art from a model trained on the ex-employees' art. Inspiring.

load more comments (3 replies)
[–] dinckelman 4 points 10 months ago

I don't really feel like self-hosting a Git instance is a good idea for me personally, but I've been really happy with Gitlab for around 8 years now

load more comments
view more: next ›