• lemmydividebyzero@reddthat.com
    link
    fedilink
    English
    arrow-up
    54
    ·
    edit-2
    4 days ago

    We need something like Forgejo, but decentralized and federated, like Lemmy. I don’t want to create a new account for every Forgejo instance, just to be able to report a bug…

    Edit: Added “and federated”

    • hoppolito@mander.xyz
      link
      fedilink
      English
      arrow-up
      45
      ·
      5 days ago

      Forgejo is in fact working on being decentralized, just like the underlying git structure is. There are some first federation things in there, but the full implementation is still pretty far out.

      • endofline@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

        Git is decentralized itself… You don’t even need forgejo to host your changes

    • ftbd@feddit.org
      link
      fedilink
      English
      arrow-up
      27
      ·
      5 days ago

      Git is already decentralized, nothing is stopping you from adding multiple remotes to your repo.

        • lemmydividebyzero@reddthat.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 days ago

          Yeah, that was my point in the first comment… But not only that…

          The development with multiple people is decentralized, yes…

          But even, if I add 3 remotes to my repo (1 to GitHub, 1 to Forgejo instance A and 1 to Forgejo instance B), guess what happens, if you don’t have an account on each of these… Try pushing code or making a pull request and see how it fails, because you are not authenticated…

          • xigoi@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            4 days ago

            SourceHut encourages an e-mail–based workflow that does not require anyone but the repository owner to have an account. In fact, that’s how Git originally worked before GitHub enshittified it.

        • xigoi@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 days ago

          How would decentralization work for an issue tracker? The issues have to be stored somewhere.

    • kaidezee@lemmy.ml
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      4 days ago

      You know, git initially was that kind of thing where people would send diff commits on mailing lists. Git is perfectly decentralized already. And there’s no need for federation.

      Forgejo is already decentralized too. You could host your own instance right now, if you’d want.

    • karthie@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      5 days ago

      if you are looking for decentralised vcs you can try radicle, I tried a while ago pretty good. FYI Forgejo supports mastodon login

      • lemmydividebyzero@reddthat.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 days ago

        FYI Forgejo supports mastodon login

        That’s interesting. Did not even know, Mastodon supported doing something like this…

        There is still a difference: There is no profile in the end. I might create 2 bug reports, bit they won’t be linked to each other.

    • LemonBreezes@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 days ago

      I think that’s bad (for my personal use) because if I accidentally commit a secret key, how do I claw it back? Basically, how would I claw anything back if it’s on a blockchain aka on thousands/millions of computers already (you can’t).

      • 🇨🇦 holdstrong@lemm.ee
        link
        fedilink
        English
        arrow-up
        11
        ·
        4 days ago

        If you push a secret key you should definitely generate a new one. Way to many bots out there that scan new commits for exactly that reason

        • LemonBreezes@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 days ago

          Yeah it’s not an insurmountable problem but it has happened to me where I push some commits and I realize “oh lemme remove this code because it leaks a little info about me personally” etc

        • tehfishman@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 days ago

          Yeah please just rotate the secret if that happens. Doesn’t matter what platform it is, this is true of GitHub as well. Secrets that are accidentally published are no longer secret.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 days ago

        that’s already a concern. what if someone just cloned your repo? there’s also plenty of people that mirror public repos to their personal forgejo server. forgejo makes it very easy.

        the only solution to mitigate such a mistake is to
        1) invalidate the token
        2) remove the commit

        In that order.

      • JuxtaposedJaguar@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        You can make commits on your system without pushing them to the remote server, and that’s the default behavior.

      • lemmydividebyzero@reddthat.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 days ago

        I did not mean decentralized hosting of the projects (e.g. your project will be on all instances).

        I meant decentralized account usage (e.g. you can use your example.com forgejo account to create an issue on otherexample.org)… Just like Lemmy… I could use my reddthat.com lemmy account to create a post on your instance lemmy.world without having to register there.

    • Elrecoal19@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      Wouldn’t it be the other way around, having someone centralized so with one account you can report bugs in any public project?