Alt text: an ad for Github Copilot when viewing files in a github repo

    • something_random_tho@lemmy.world
      link
      fedilink
      arrow-up
      41
      arrow-down
      1
      ·
      edit-2
      9 months ago

      Codeberg only allows open source licensed code. If you’re working on non-free software you could self host Codeberg’s underlying software, or SourceHut is a different but other good option too.

      • itslilith@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        9 months ago

        In what circumstances would you develop non-free code and still have the need to pick a provider? Don’t companies have regulations usually, so your have to use either their own hosted instance or GitHub enterprise?

        • CosmicTurtle@lemmy.world
          link
          fedilink
          English
          arrow-up
          16
          arrow-down
          1
          ·
          9 months ago

          I use GitHub private repos for my home configuration stuff. So it’s not open source since I’m the only one using it and I don’t want someone else to know how to attack my network.

          For certain configurations, self hosting doesn’t make sense. For people like me, who would rather spend his time doing the stuff I care about instead of maintaining the stuff I don’t care about, I’m okay giving Microsoft some “control” over my code for the convenience.

          That said, I am thinking about moving my FOSS code off of GitHub since that is an option. I’d have to see their CI/CD pipelines though.

          • QuazarOmega@lemy.lol
            link
            fedilink
            arrow-up
            11
            ·
            edit-2
            9 months ago

            Just FYI, you can keep personal repositories for configurations and whatnot on Codeberg, check out the FAQ: https://docs.codeberg.org/getting-started/faq/#can-i-host-personal%2C-private-repositories-that-i-do-not-intend-to-publish%3F

            I’d have to see their CI/CD pipelines though.

            Codeberg hasn’t deployed their Actions yet, but the software Gitea and Forgejo both have it, so I believe it will come some time in the near future (don’t know how near though, could probably ask them over on @Codeberg).

            EDIT: not completely true, actions have been ready for a while apparently, but you currently have to provide your own compute: https://docs.codeberg.org/ci/actions/
            Which isn’t ideal, though

            In the meantime you can either use Woodpecker or use another forge like Gitea hosted (has Actions already) or Gitlab with their CI/CD

            • lud@lemm.ee
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              9 months ago

              Doesn’t appear that you are allowed to host personal code projects though.

              • QuazarOmega@lemy.lol
                link
                fedilink
                arrow-up
                2
                ·
                9 months ago

                Of course not, that’s the point. I don’t know what their stance on little toy projects kept for yourself is if that’s what you’re asking

                • lud@lemm.ee
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  9 months ago

                  Yes, but you would have to publish them at all.

                  I wouldn’t mind publishing my projects except that they are of no use to anyone except me and the code is shit.

                  • chayleaf@lemmy.ml
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    9 months ago

                    no reason not to publish them as long as they aren’t infringing on any IP, I’ve published some very niche projects

        • ErwinLottemann@feddit.de
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          9 months ago

          i work for some people who don’t host their own gitlab/gitea/whatever and use the paid tier from github or gitlab. they could not use codeberg.

          • itslilith@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            7
            ·
            9 months ago

            That’s what I said, they use paid GitHub, so you as the worker don’t get the choice, you need to use whatever they do

            Meanwhile, if you start your own project, you need to choose a platform, but you also need to choose a license, so nothing is stopping you from using a free licence and picking Codeberg

            I struggle to see many cases where someone that cares about FOSS gets to choose between GitHub, Codeberg etc, but doesn’t get to choose the license of their project. As an employee you get neither, for your own projects you get both.

    • LarmyOfLone@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Do they require a phone number? I tried to sign up to gitlab (just to post bug reports!) but they required a phone number (which is linked to government ID).