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

Open Source

31365 readers
158 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
[–] GenderNeutralBro@lemmy.sdf.org 95 points 10 months ago (2 children)

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

[–] antrosapien@lemmy.ml 48 points 10 months ago

You gotta embrace first

[–] Auzy@beehaw.org 12 points 10 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

[–] clmbmb@lemmy.dbzer0.com 18 points 10 months ago

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

[–] scrubbles@poptalk.scrubbles.tech 82 points 10 months ago (5 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.

[–] d3Xt3r@lemmy.nz 149 points 10 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.

[–] scrubbles@poptalk.scrubbles.tech 54 points 10 months ago (3 children)

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

[–] moreeni@lemm.ee 18 points 10 months ago (1 children)

Changing the remote should be fairly trivial with enough bash skills

[–] scrubbles@poptalk.scrubbles.tech 6 points 10 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)
[–] MigratingtoLemmy@lemmy.world 21 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@lemmy.world 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

[–] SaladevX@lemmy.dbzer0.com 5 points 10 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.

[–] MigratingtoLemmy@lemmy.world 26 points 10 months ago (1 children)

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)
[–] Omega_Haxors@lemmy.ml 58 points 10 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)
[–] TootSweet@lemmy.world 47 points 10 months ago (5 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.)

[–] antrosapien@lemmy.ml 24 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@lemmy.world 14 points 10 months ago (3 children)

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

[–] bizdelnick@lemmy.ml 11 points 10 months ago* (last edited 10 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)
[–] toastal@lemmy.ml 8 points 10 months ago

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

load more comments (1 replies)
[–] linuxPIPEpower@discuss.tchncs.de 9 points 10 months ago (2 children)

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

load more comments (2 replies)
[–] akrot@lemmy.world 6 points 10 months ago

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

[–] CalcProgrammer1@lemmy.ml 5 points 10 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)
[–] jjlinux@lemmy.ml 40 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@lemmy.world 25 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.

[–] antrosapien@lemmy.ml 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

[–] mogoh@lemmy.ml 22 points 10 months ago (6 children)

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

[–] jlh@lemmy.jlh.name 40 points 10 months ago (1 children)

Codeberg is very good, and non-profit.

load more comments (1 replies)
[–] Blaze@discuss.online 22 points 10 months ago
[–] atomkarinca@lemmygrad.ml 16 points 10 months ago
[–] Slotos@feddit.nl 11 points 10 months ago
load more comments (2 replies)
[–] 96VXb9ktTjFnRi@feddit.nl 14 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?

[–] OddFed@feddit.de 24 points 10 months ago

Codeberg.org is the ethical choice

[–] antrosapien@lemmy.ml 20 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@lemmy.world 10 points 10 months ago* (last edited 10 months ago) (3 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 (3 replies)
[–] mozz@mbin.grits.dev 13 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"

[–] ISometimesAdmin@the.coolest.zone 27 points 10 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)
[–] Auzy@beehaw.org 13 points 10 months ago* (last edited 10 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)
[–] pastermil@sh.itjust.works 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.

[–] UnfortunateShort@lemmy.world 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@lemmy.world 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@lemmy.world 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)
load more comments
view more: next ›