all 5 comments

sorted by: hot top controversial new old
[–] 20 points 9 months ago (2 children)

I wish more would use self hosted solutions like Forgejo (or a gitweb if they don't need a complex system) and simply mirror their projects on codeberg and github for the exposure.

Gentoo apparently do it that way already:
https://gitweb.gentoo.org/repo/gentoo.git/
https://codeberg.org/gentoo/gentoo (mirror)
https://github.com/gentoo/gentoo (mirror)

  • source
  • hideshow 2 child comments
  • [–] 15 points 9 months ago

    please everyone get the fuck off shithub kthnks

  • source
  • [–] 8 points 9 months ago

    If only there was some other choice

  • source
  • 26 comments in c/opensource@lemmy.ml view that post
    [–] 67 points 9 months ago (6 children)

    Github has really turned to shit. Almost every time I try to search for something I get the too many requests error even if it's the first time I've visited the site in a week.

    It would be nice if people could self host something like Forgejo, but the damn AI crawlers will just hammer your server until it crashes. The crawlers are really hard to block without relying on another big tech company like Cloudflare.

  • source
  • hideshow 6 child comments
  • [–] 13 points 9 months ago (5 children)

    It's hard to host anything public without relying on something like cloudflare.

    But, what makes you say it's "ai crawlers" rather than conventional botnets and so on? Very few organisations have the resources to train large ai models, but the resources needed to run a botnet or something are much lower.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 12 points 9 months ago

    The botnets usually try to login to SSH and pages like phpmyadmin & wp-admin looking for something they can infect rather than scraping every single page on a website frequently. Unless you do something to become the target of a DDoS attack or don't secure your server, they usually aren't much more than a source of log spam.

  • source
  • parent
  • [–] 2 points 9 months ago (2 children)

    Because the 1000 requests/10 minutes on my server are done by AmazonBot, mostly. Followed by ASNs from Huawei, Azure and the like.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 9 months ago

    AmazonBot follows robots.txt. I don't so what Huawei and Azure ASNs have to do with it - that sounds like those requests simply come from inside a Huawei and an Azure network, respectively, but could otherwise be anything.

  • source
  • parent
  • [–] 53 points 9 months ago (10 children)

    We really need something like https://forgefed.org/ !

    Running all our own forgejo instance is well and good but this the strengh of github is not in it's feature but rather it's because it offer the largest platform. Using a federation protocol would allow users to contribute without needing one account per instances.

  • source
  • hideshow 10 child comments
  • [–] 24 points 9 months ago (2 children)

    To be honest, I'm starting to drink the Sourcehut coolaid here. We have a distributed method of interacting with repositories: Email.

    Don't get me wrong, the current user experience of email-based patches and discussion isn't great because it's too easy to send a badly formatted patch. But if we invested time in making email patches easier to use (e.g. sending them through a web ui for people who prefer github style PRs) then we could skip all the architectural pains of solutions like forgefed.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 13 points 9 months ago (1 child)

    I don't know if email is a good solution. Having contributed to the linux kernel ( in 2010ish ) may have distorted my perception of the gitmail workflow but it doesn't seems very accesible and i can't possibly see a change allowing this to be usable by semi-technical users.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 7 points 9 months ago

    The change would be using Gitmail as the plumbing, and normalising the creation of user-friendly porcelain on top.

    E.g. suppose there is a repo foo/bar hosted by a forgejo instance at myinstance.org/foo/bar. Sending an email to foo.bar@myinstance.org (or similar) could automatically create a PR and, conversely, opening a PR could send a patch series to the foo/bar mailing list.

  • source
  • parent
  • [–] 6 points 9 months ago (2 children)

    one of my things with the federation is I would like a login to be able to be used with different things. log into peertube with lemmy credentials and such.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 9 months ago (1 child)

    This is already somewhat possible if your instance support an OIDC solution, you could create one account and use it as login everywhere as long as it's host by the same people.

    For example I use authentik to create accounts and with OIDC my users can login to jellyfin, nextcloud, vaultwarden, forgejo, ...

    But that would mean putting all your eggs in one instance.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 9 months ago

    the egg basket thing is not much of an issue for me. I think having to remake an account is something that is just going to be reality with the federation. Backing up settings is the biggest thing to me to make that a bit less painful.

  • source
  • parent
  • [–] 1 point 9 months ago (2 children)

    Yep yep yep. I have forgejo accounts on so many instances (including on my own, 2-person instance which hosts all my personal shit). I'd love to be able to jump into discussions and open PRs on other people's forges without needing a new account.

    Forgejo in particular is just a fantastic forge. It's surprisingly feature-rich, and so, so fast compared to GitHub, even on very lowspecced hardware. I honestly think that if federation is properly implemented, then in the long run, GitHub will become obsolete for FOSS projects.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 9 months ago (1 child)

    Sadly github will continue to exist due to being where contributors are and being easy to find. I hope projects mirrors to forgejo as much as possible noneless.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 9 months ago

    That's what I'm not so sure about though. Forgejo/codeberg/... projects are already not hard to find through search engines. Add a federated in-forgejo search and you'd be set there.

    And currently the problem indeed is that a forgejo project is on instance X, and you, as a developer only have accounts on Y and Z. But through federation, that would stop mattering, so I don't get the "it's where contributors are": as long as contributors have a single forgejo account anywhere, we'd be good.

  • source
  • parent
  • [–] 19 points 9 months ago

    Monocultures are almost always bad.

  • source
  • [–] 25 points 9 months ago (1 child)

    It is really easy to mirror git repos though, which makes this less of an issue than most other monopolies

  • source
  • hideshow 1 child comment
  • [–] 10 points 9 months ago

    See it as a mirror and not full issue tracking.

  • source
  • [–] 8 points 9 months ago*

    I hate when I see github links. I have to open them in a private window because they wrecked my account by requiring 2fa and later claiming that there was something wrong with my email address. Worthless site.

    Not to mention, MicroShaft being in charge of github is like the fox being in charge of the chicken coop.

  • source
  • [–] 5 points 9 months ago
    [–] 3 points 9 months ago

    Deleted. Thanks for the reminder!

  • source
  • 17 comments in c/programming@programming.dev view that post
    [–] 38 points 9 months ago (2 children)

    https://forgejo.org/

    Would be nice to see federated PRs. Git is distributed after all!

  • source
  • hideshow 2 child comments
  • [–] 20 points 9 months ago

    I know the solution. Starting this year, students will be forced to contribute to a project they use, care about or, at the very least, truly want to use in the long term. Not one they found randomly on Github.

    And they're still going to find things on GitHub. Because so many things are on GitHub.

    They're blaming the students for the popularity of GitHub. If they want students to not use GitHub then just make that a requirement.

  • source
  • [–] 32 points 9 months ago (8 children)

    PSA: GitHub does not have a monopoly, you are free to host your stuff elsewhere (or yourself)

  • source
  • hideshow 8 child comments
  • [+] 6 points 9 months ago (6 children)
  • [–] 6 points 9 months ago (5 children)

    Relatively minor for source code forges.

    The reasons everyone uses GitHub:

    • Free, even for private repos. No ads.
    • Free CI - this is huge. Nobody else does this because it costs Microsoft around $100m/year to provide.
    • It's quite good.

    If anyone can ever compete with that then I doubt network effects will keep people there.

  • source
  • parent
  • hideshow 5 child comments
  • [+] 9 points 9 months ago (4 children)
  • [–] 2 points 9 months ago (3 children)

    They're clearly not going to be able to afford $100m/year in free CI.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 9 months ago (2 children)

    Which is one of the reasons behind github's network effect.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 9 months ago* (last edited 9 months ago)

    Yes, and for most of us it's easy to do so, but I'm not going to explain a noob how to add new repositories. I mean, I did, and I will do in the future, but it's not my favorite task to do.


    I realized my comment was a bit ambiguous. I meant repositories like for Maven, NPM, or package managers. Having stuff on GitHub makes it a lot easier.

  • source
  • parent
  • [–] 13 points 9 months ago (3 children)

    Terrible title. The article is about the risks of everyone using GitHub. That doesn't mean GitHub is destroying the open source ecosystem. In fact it's the complete opposite - GitHub massively helps the open source ecosystem. That's why everyone uses it in the first place!

  • source
  • hideshow 3 child comments
  • 3 comments in c/vcs@programming.dev view that post
    [–] 8 points 10 months ago (1 child)

    Thats why we need federated solutions like forgejo to become mainstream.

  • source
  • hideshow 1 child comment
  • [–] 7 points 10 months ago* (last edited 10 months ago)

    About time we started referring to github as Microsoft Github. It may help people realise which basket they are putting their eggs into.

  • source