By ‘Git instances’ they mean Gogs instances that allow open registration. I know most of the community moved from Gogs to Gitea, and then to Forgejo, but thought this was still worth noting.

  • Lem453@lemmy.ca
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 day ago

    If i remember correctly on my gitea (now forgejo) the default is open registration which really shouldn’t be the case for projects that are targeted towards self hosters.

    My inital install was a long time ago so I don’t remember for sure

    • Jason2357@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      This absolutely. Anyone who actually wants open registration will be configuring their own SSO or whatever backend. The default should be safe for testing and/or hobbyists.

    • Encrypt-Keeper@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      24 hours ago

      Reading between the lines I feel like when you say “Targeted towards self hosters” what you mean is “John Q Hobbyist who doesn’t know any better”

      And in response to that I would contend that Gitea is not actually targeted at those folks, though they obviously use it. Gitea is FOSS but it’s still “targeted” at professionals.

    • Jade@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      Yeah in my project open registration is behind an option called yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse lol

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 hours ago

        Honestly, this is always more effective than a comment in the config because it can get removed. All it would take is a popular guide having the config with that option on and the comment gone.

          • klangcola@reddthat.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 day ago

            I just did it not long a ago. Gittea -> Forgejo10 -> Forgejo11 LTS, in Docker. Surprisingly quick, painless and smooth.

            (My only issue was not Forgejo, but MySQL. Because the hardware is ancient and Docker compose pulled down a new version of mysql8 at the same time as pulling forgejo. New version of mysql8 didnt support my CPU architecture. Easy fix was to change the label mysql8oraclelinux7 in Docker compose and pull that image. There is a issue with solutions in the MySQL Docker GitHub repo)

              • klangcola@reddthat.com
                link
                fedilink
                English
                arrow-up
                2
                ·
                16 hours ago

                To be honest I don’t remember why I set up gitea with MySQL instead of sqlite (or MariaDB), its quite a few years ago. And sqlite would probably be fine for my single-user instance

                • lambalicious@lemmy.sdf.org
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  19 hours ago

                  If MySQL is more robust than SQLite of all things, something is going seriously wrong.

                  Then again, it’s 2025. I no longer bet on what to expect from reality. Next someone points me to a mail indicating linux kernel will move its bookkeeping to MongoDB.

                  • JackbyDev@programming.dev
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    ·
                    17 hours ago

                    Depends how they define robust. MySQL has a myriad of features SLQite doesn’t have and won’t ever have. If they mean something like user configuration then SQLite is just out by default.

                    (Coming from a SQLite fan.)

      • youmaynotknow@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Doesn’t seem like Gitea has that issue, and just keep registrations disabled if possible and if your projects allow, avoid symlinking.