• LalSalaamComrade@lemmy.ml
    link
    fedilink
    arrow-up
    41
    ·
    5 months ago

    I would recommend that you check Codeberg - it uses Forgejo. If you’re interested in self-hosting, you can also run your own Forgejo instance.

    • XNX@slrpnk.net
      link
      fedilink
      arrow-up
      5
      arrow-down
      3
      ·
      5 months ago

      I kinda hope they change the software to also be called codeberg. Its sich a good name and forgejo is so difficult to say and have people know how to spell it

  • floofloof@lemmy.ca
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    4
    ·
    5 months ago

    It is indeed surprising how a Microsoft-owned site has become the default home for open-source projects. Have people thought this through?

  • Turun@feddit.de
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    5 months ago
    1. You can use other forges, but they have the exact same issues as GitHub. You need to make an account, you need to accept terms of service and if they feel like it (or are forced by a court) they’ll ban you and your repository.

    2. git send-email exists. So it’s not like you absolutely can’t contribute to projects that are hosted on GitHub.

    At some point in the future gitlab will get federation, but that’s not a solution for now. It’ll take a while.

    • krolden@lemmy.ml
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      5 months ago

      Why does everyone shill gitlab as a github alternative. Theyre just another shitty corporate platform

      • Gamma@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        You can at least self host it, though performance isn’t as good as the alternatives

      • utopiah@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        I imagine because it’s more popular and (arguably) more feature complete than Gitea (which I use).

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      5 months ago

      At some point in the future gitlab will get federation, but that’s not a solution for now. It’ll take a while.

      Gitlab had more than a decade to implement federation and didn’t give 2 shits about it until one single dude (oelmeki?) decided to start implementing it. And even now, Gitlab hasn’t built a team around federation and only have that single, external contributor writing all the code, tests, etc. . The only thing they’re providing is “guidance”. It wouldn’t surprise me if oelmeki isn’t even getting paid.

      Gitlab feels like just another company happy to be #2 and not willing to do anything more to be better because most other alternatives are way behind. I bet if they were #1, they’d be just as bad as any other company that’s #1.

      Hopefully forgejo gets complete federation first and becomes real competition for gitlab. Gitlab doesn’t deserve #2.

      Anti Commercial AI thingy

      CC BY-NC-SA 4.0

      Inserted with a keystroke running this script on linux with X11

      #!/usr/bin/env nix-shell
      #!nix-shell -i bash --packages xautomation xclip
      
      sleep 0.2
      (echo '::: spoiler Anti Commercial AI thingy
      [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
      
      Inserted with a keystroke running this script on linux with X11
      ```bash'
      cat "$0"
      echo '```
      :::') | xclip -selection clipboard
      xte "keydown Control_L" "key V" "keyup Control_L"
      
      
    • Hucklebee@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      5 months ago

      Total noob here when it comes to all things git, but can’t you simply host git in a privately owned server? I thought I saw that when installing some packages on my Synology NAS.

      • Turun@feddit.de
        link
        fedilink
        arrow-up
        6
        ·
        5 months ago

        Yes, but how are you gonna accept pull requests? You need a frontend and a frontend needs an account.

        Of course, all of these alternative forges (gitea, forgejo, gitlab) can be self hosted on your own private server.

        • meteokr@community.adiquaints.moe
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          You need a frontend

          Yes, but the requirement of said frontend are very small.

          and a frontend needs an account.

          Not required at all actually. For example, mirror a github repo in gitea. You’ll see all the commits, their messages, and who made them. Yet that gitea instance isn’t accessible publicly. None of those people have an account, and none of them can login even if they could access the instance. A commit is just attached to a name, that is user configurable, and a lot less data minable than a “real” account.

          • Turun@feddit.de
            link
            fedilink
            arrow-up
            2
            ·
            5 months ago

            Would you call that open source? A read only gitea instance?

            If you want to get away from GitHub a mirror won’t cut it, it has to be the main dev platform.

            • meteokr@community.adiquaints.moe
              link
              fedilink
              arrow-up
              1
              ·
              5 months ago

              You missed the point of my example entirely. How can those commits exist, and those people exist in that instance if they don’t have accounts? I was refuting your statement that a frontend needs an account. By mirroring an existing repo, as an example, you could verify that my claim is correct. Git as platform is already decentralized and doesn’t require accounts. You could email someone your git diff’s and it will function the same.

              • Turun@feddit.de
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                5 months ago

                I feared as much, because the same could be said about your comment above.

                I already mentioned git send-email in my comment. But the ux of that is terrible. So if you want good UX you’re in account hell, having to create a new profile for every hosting site.

                You can have a nice, terms of service free but read only forge, or you have terms of service and account bullshit or you can have the dev experience of git send email. Choose one of the three and until we have federation they are all terrible in some aspect.

          • onlinepersona@programming.dev
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            5 months ago

            Not sure what you’re suggesting. Here… are you suggesting random write access to a port on a device you host? Anybody can push a branch to your selfhosted repo?

            Or are you talking about self-hosted forgejo, gitlab, etc.?

            Anti Commercial AI thingy

            CC BY-NC-SA 4.0

            Inserted with a keystroke running this script on linux with X11

            #!/usr/bin/env nix-shell
            #!nix-shell -i bash --packages xautomation xclip
            
            sleep 0.2
            (echo '::: spoiler Anti Commercial AI thingy
            [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
            
            Inserted with a keystroke running this script on linux with X11
            ```bash'
            cat "$0"
            echo '```
            :::') | xclip -selection clipboard
            xte "keydown Control_L" "key V" "keyup Control_L"
            
            
              • onlinepersona@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                5 months ago

                That’s not a pull request, but a merge request. Besides the point though. What I’m getting at is: isn’t that asking for trouble? Somebody could

                while true ; do
                  head /dev/urandom -c 100MB > file.txt
                  git add file.txt
                  git commit -m "new commit"
                  git push
                done
                

                and fill up your hard drive. Also, depending on the protocol, they could try fuzzing it. Or, pipe /dev/urandom into nc and blast your git port.

                And of course, the first problem is discoverability. Who’s going to find your random, unfederated, git service?

                It just doesn’t sound like a convincing solution, IMO.

                Anti Commercial-AI license

    • toastal@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Due to a generation being taught only Microsoft GitHub’s system, many forges have seen it imperative to copy all of those patterns—including all of the bad ones. Being a clone of MS GitHub isn’t a very compelling reason to be on another platform, but so few are looking to actually fix the issues Microsoft would be too big/slow to adapt to—e.g. the entire pull request model being so slow for getting it merges.

  • smileyhead@discuss.tchncs.de
    link
    fedilink
    arrow-up
    15
    ·
    5 months ago

    The fact GitHub is not open source on their servers is not really a problem for me, there are many open source platforms to host code. And for centralized platform I won’t be able to change anything myself anyway.
    My rant would be about having to run their proprietary code on my machine to use GitHub.

        • Scary le Poo@beehaw.org
          link
          fedilink
          arrow-up
          1
          arrow-down
          8
          ·
          edit-2
          5 months ago

          You are not required to visit the website to use GitHub.

          If you are complaining because all you know how to use is the website and GitHub desktop, then that’s a you problem and you need to get good. There is a git man page and it is excellent. I suggest you study up.

          • smileyhead@discuss.tchncs.de
            link
            fedilink
            arrow-up
            6
            ·
            5 months ago

            I know the Git part of the GitHub pretty well, trust me. But you still need to create an account and API keys somehow.

            However, GitHub is not as bad as some services, I use it anyway. Just wanted to laugh at the fact half of open source in on that platform.

            • Scary le Poo@beehaw.org
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              5 months ago

              So it isn’t necessary to have keys and an account on your preferred git server? What kind of insecure dumpster fire server are you committing code to???

              • smileyhead@discuss.tchncs.de
                link
                fedilink
                arrow-up
                3
                ·
                5 months ago

                Don’t know where this idea come from. You need to run GitHub’s proprietary app in order to create an account and do nessesary things. Meanwhile services like Codeberg have both server and client side open source and there are hosts like SourceHut that does not require running any additional code at all.

                • Scary le Poo@beehaw.org
                  link
                  fedilink
                  arrow-up
                  2
                  arrow-down
                  3
                  ·
                  5 months ago

                  What proprietary app do you need to run… The website? Are you seriously arguing that making an account on the website is equivalent to having to run an app on your machine?

                  You’re weird.

                  God, what a bullshit, bad faith argument. I’m sure you feel like you have the high ground, but seriously, you sound like an idiot.

    • devraza@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      Gitea supports migrating from a variety of sources, but I’m not sure about a bot that does everything in one click or so. You could probably make a simple script for that, though.

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        5 months ago

        Gitlab does have it. @[email protected] you can provide a personal access token to Gitlab and it’ll import your repos with all the issues and pull requests intact.

        Anti Commercial AI thingy

        CC BY-NC-SA 4.0

        Inserted with a keystroke running this script on linux with X11

        #!/usr/bin/env nix-shell
        #!nix-shell -i bash --packages xautomation xclip
        
        sleep 0.2
        (echo '::: spoiler Anti Commercial AI thingy
        [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
        
        Inserted with a keystroke running this script on linux with X11
        ```bash'
        cat "$0"
        echo '```
        :::') | xclip -selection clipboard
        xte "keydown Control_L" "key V" "keyup Control_L"
        
        
    • grepehu@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      I’ve migrated all my repos (not much, around 50 repos or so) to GitLab this January, GitLab has a built-in tool for that, it was as easy as a single click once I authenticated GitHub to allow that.

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        Gitlab.com has an even lower limit of 1GB, I think. But you can self-host it, that limit can be arbitrarily set.

        Anti Commercial AI thingy

        CC BY-NC-SA 4.0

        Inserted with a keystroke running this script on linux with X11

        #!/usr/bin/env nix-shell
        #!nix-shell -i bash --packages xautomation xclip
        
        sleep 0.2
        (echo '::: spoiler Anti Commercial AI thingy
        [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
        
        Inserted with a keystroke running this script on linux with X11
        ```bash'
        cat "$0"
        echo '```
        :::') | xclip -selection clipboard
        xte "keydown Control_L" "key V" "keyup Control_L"
        
        
  • Auzy@beehaw.org
    link
    fedilink
    arrow-up
    14
    arrow-down
    10
    ·
    edit-2
    5 months ago

    So tired of seeing these posts.

    Nobody worth listening to is complaining about creating an account on GitHub. Ubuntu brainstorm was a huge success and you had to create an account for that too

    It literally takes 30s.

    And github has a hugely comprehensive API that allows developers to easily move if that want to.

    If Microsoft Open sourced the backend, the reality is, nobody would look at the code, and everyone would still use GitHub because it’s reliable. Vs code is open source, and I’m willing to bet community contributions are limited

    And open sourcing the backend just means Oracle will take the code, and set up their own server for marginally cheaper and make GitHub worse… That’s what they did with red hat

    • utopiah@lemmy.ml
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      5 months ago

      What kind of shill is this, advocating for NOT open-sourcing the code?

      • Auzy@beehaw.org
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        edit-2
        5 months ago

        There is a massive GitHub API which you probably already aren’t using. And now you want them to release the source code which you also won’t look at?

        If they open source the code, what contributions would you make? How many contributions have you made to the Lemmy code? How many with vs code?

        How would it benefit open source projects given that GitHub hosting is free for open source? How would it benefit GitHub?

        Would you host your own GitHub repo when you can host it for free (which it will be for open source) on GitHub or other services anyway

        Some projects don’t really benefit from open source.

        If it’s a big thing, host your own using an open source project. Compete against GitHub.

        But calling me a shill isn’t really an effective argument. I have contributed to a few open source projects in the past and released some of my own.

        I don’t feel like forcing companies to open source their projects is the way. Open source needs to win on it’s own merits. And plenty of open source projects have (the Linux kernel as an example).

        Have you contributed anything to githubs competitors? That might be a place to start. Because at the moment, there aren’t any issues with GitHub that open sourcing would address. Microsoft don’t need the additional resources

        • utopiah@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 months ago

          So many ignorant assumptions (first and main one being that I and others aren’t interested, and actively using and contributing to FLOSS forges) it’s not even worth arguing. Blocked.

          • Auzy@beehaw.org
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            5 months ago

            There’s a reason GitHub is the largest service lol

            You need to sell services based on their advantages rather than the politics. The reality is, github allows projects to be very easily migrated to other services anyway.

            Using something because it’s open source isn’t helpful at all if it doesn’t work with your workflow easily

            Productivity is more important to the success of open source than anything else.

            I know this, because a project of mine died because we wasted too much time on infrastructure

            Developers don’t need access to the GitHub source to do their job, and there is no advantage to anyone.

            In fact, if they distribute the code, it simply reduces the incentive for Microsoft to improve it, and the only ones who will step are, are shit companies like Oracle

    • toastal@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Time isn’t the only thing you give up when creating accounts—there is the terms of service, data collection, and supporting a proprietary held by a US megocorporation service by participating on it which is not helping the change many would like to see. This also fails to mention that as a US service they must comply with US sanctions so a section of users couldn’t create accounts if they wanted.

  • toastal@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    5 months ago

    OP, if you want an arguably easier escape from MS GitHub, have you considered not using Git? The unfortunate current truth is these two are married to the point that a lot of new (& even experienced) folks think MS GitHub is Git & even if you start a project elsewhere, somebody will fork it onto the platform the the SEO bots will put their fork at the top of the ranks. You might be better off choosing a different DVCS all together as the interoperability will be much more difficult. That said, it wouldn’t just be to escape Microsoft, but also since there are a lot of interesting, less explored ideas in the space (like how learning functional or object-oriented code for the first time will broaden your perspective for tools & ideas you already know). Personally, I find the Patch Theory-based VCSs pretty compelling so it could be worth it to dig into Pijul or Darcs.

  • Michael Ten @lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    4
    ·
    5 months ago

    Gitlab or Gitea should integrate with Arweave and Fediverse. Fork if needed.

    Develop a decentralized Github alternative.

    Microsoft owns Github. It’s iron how popular Github is for open source.

    Limitless Peace