this post was submitted on 24 Jan 2024
267 points (90.8% liked)

Open Source

30991 readers
468 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] 93 points 9 months ago (2 children)

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

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

You gotta embrace first

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

There's nothing wrong with it honestly, and OP seems to be giving bad info.. And trust me, I'm not a fan of Microsoft lol

i literally just tested Discussions and wiki in private browsing mode on a few repos and they work. Which just proves it's not a big deal that needing a login isn't an issue. Seems nobody actually upvoting doesn't have a login

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

I heard other people complaining about what OP says, so I'm thinking maybe it's A/B testing...

[–] [email protected] 81 points 9 months ago (8 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] 146 points 9 months ago (6 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] 53 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] 17 points 9 months ago (1 children)

Changing the remote should be fairly trivial with enough bash skills

[–] [email protected] 6 points 9 months ago (4 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.

load more comments (4 replies)
load more comments (2 replies)
load more comments (5 replies)
[–] [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

load more comments (6 replies)
[–] [email protected] 57 points 9 months ago (13 children)

The writing was on the wall when they established a generative AI using everyone's code and of course without asking anyone for permission.

load more comments (13 replies)
[–] [email protected] 47 points 9 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] 24 points 9 months ago* (last edited 9 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

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

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

[–] [email protected] 11 points 9 months ago* (last edited 9 months ago) (2 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.
load more comments (2 replies)
[–] [email protected] 8 points 9 months ago

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

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

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

load more comments (2 replies)
[–] [email protected] 6 points 9 months ago

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

[–] [email protected] 5 points 9 months ago (3 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.

load more comments (3 replies)
[–] [email protected] 5 points 9 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] 40 points 9 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.

[–] [email protected] 25 points 9 months ago* (last edited 9 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 9 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] 20 points 9 months ago (6 children)

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

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

Codeberg is very good, and non-profit.

load more comments (1 replies)
[–] [email protected] 21 points 9 months ago
[–] [email protected] 9 points 9 months ago
load more comments (2 replies)
[–] [email protected] 14 points 9 months ago* (last edited 9 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] 24 points 9 months ago

Codeberg.org is the ethical choice

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

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

[–] [email protected] 10 points 9 months ago* (last edited 9 months ago) (2 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 :)

load more comments (2 replies)
[–] [email protected] 13 points 9 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] 13 points 9 months ago* (last edited 9 months ago) (1 children)

I just checked, and unless I'm missing something, you're wrong? Tried https://github.com/snowplow/snowplow/wiki in private browser mode. Seems to work fine.. Discussions work too.

And the restricted code search is not a big deal. You can still see and download all the source code you want and search that way. What usecase do you have for code searching without login? Lemmy is restricted too without login (as well as literally everything). The funny thing is that the last person I saw make a huge deal of this on Lemmy/Reddit, didn't have a huge number of github commits over the years (they definitely had some, so they were active though, but even our newbies at work overtook them in months)

Creating a login is free too, and so is downloading source code. Github is a FREE service lol.. And you're whinging you need to create a free login? If you don't like Github, then don't use it lol. Absolutely nothing is preventing anyone migrating lol

load more comments (1 replies)
[–] [email protected] 13 points 9 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] 26 points 9 months ago (11 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 (11 replies)
load more comments (4 replies)
[–] [email protected] 11 points 9 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.

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

[–] [email protected] 8 points 9 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)
load more comments
view more: next ›