And why?

  • Luu Tuyen@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 days ago

    I used GitLab for personal projects, and I use GitHub for contributing to other project

    GitLab is partially open source, GitLab can be self-hosted while GitHub does not

  • ⸻ Ban DHMO 🇦🇺 ⸻@aussie.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 days ago

    I used to self host Gitea, just private repos for university assignments and other personal projects that I was going to open source one day (I have a real problem with finishing things). Then a big storm hit where I live and the internet was out for 2 weeks (I could still use my phone if I stood in the right spot), over that time I was able to work locally but for when I was out and about I couldn’t collaborate on anything because I couldn’t access it so I begrudgingly moved to GitHub.

    At least with GitHub I get very reliable and fast hosting even if everything I write is being fed to AI. Their search is also amazing.

    I do plan, however on getting Forjego set up for private stuff again, because some stuff cannot be made public. When the day comes that I finish something and open source it, I’ll probably put it on Codeberg. Hopefully my project will be good enough that people are driven to join Codeberg to get involved.

    As for my GitHub account, I won’t be able to ditch that so I may continue to fix random bugs and typos I come across. I wouldn’t want to impose my beliefs on someone else’s project

  • SynopsisTantilize@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    I’m asking this because I’m self learning and new. Is there a place I can host my code? I’ve been build a pretty robust app in visual code Windows Forms C#. I don’t want to advertise or anything. I just want to have the code hosted as a backup

      • SynopsisTantilize@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        Thanks. I’ll fuck around today with it. Can I make it private? And should I be concerned about people taking my ideas and or code?

        • prenatal_confusion@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          If you use a service like GitHub you can make it private but be aware that the Info is still readable by the service provider. Not in a sense that they are gonna steal your idea (unless you invented a way to make good) but something like secrets passwords etc in your code.

          I’d go for Codeberg, it’s free as in free speech and beer and is an open source project based on gitea. They are working at a federation protocol to make coop doable but without the need for a centralized provider v

  • mlfh@lemmy.ml
    link
    fedilink
    arrow-up
    25
    ·
    5 days ago

    Forgejo, a Gitea fork used by Codeberg. I chose it because it’s got the right balance of features to weight for my small use case, it has FOSS spirit, and it’s got a lovely package maintainer for FreeBSD that makes deployment and maintenance easy peasy (thanks Stefan <3).

    • PlexSheep@infosec.pub
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      I do the same. Forgejo works really well, and I’m also absolutely stoked for forge fed some day.

      It also has things like CI/CD. It’s a really really good project and self hosting it is relatively painless. Even integrating it with my identity provider over oidc was no problem.

    • zelifcam@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 days ago

      I’ve been meaning to switch over from Gitea to Forgejo for ever. I’ll get it done tomorrow ;)

      • Foster Hangdaan@lemmy.fosterhangdaan.com
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        5 days ago

        Definitely best to get that done ASAP. Forgejo being a drop-in replacement for Gitea won’t be guaranteed ever since the hard fork:

        To continue living by that statement, a decision was made in early 2024 to become a hard fork. By doing so, Forgejo is no longer bound to Gitea, and can forge its own path going forward, allowing maintainers and contributors to reduce tech debt at a much higher pace, and implement changes - whether they’re new features or bug fixes - that would otherwise have a high risk of conflicting with changes made in Gitea.

    • thirdBreakfast@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      +1 for Forgejo. I started on Gogs, then gathered that there had been some drama with that and Gitea. Forgejo is FOSS, simple to get going, and comfortable to use if you’re coming from GitHub. It’s actively maintained, and communication with the project is great.

  • m4m4m4m4@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    5 days ago

    Codeberg. I host my web portfolio live there and even did a small contribution to kbin when it was alive. It’s great though now I’d want to look at forgejo.

  • sudoer777@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 days ago

    As much as I hate GitHub, for in-person projects involving multiple people I usually end up having no choice since they usually think GitHub is the most important programming tool ever and nothing I do is going to convince them to create an account on something that’s not GitHub.

    For personal stuff I use Forgejo and disable everything except the code view, so I have a quick way to show people stuff I’m doing (for career reasons).

    If I was doing a project with multiple people and actually got to chose the platform I would probably use Forgejo or Codeberg and make use of the project management features.

    Pijul looks interesting but the ecosystem is very lacking and it doesn’t integrate well with Guix which I base a lot of my workflows around, so until this improves switching to pijul creates more problems than it fixes. The only other VCS and frontend I’m familiar with is GitLab which I don’t use anymore self-hosted since Forgejo is more performant and the main version randomly deleted all my repos and changed all sorts of stuff.

    cgit also looks interesting, I might look into it.

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

      GitLab which I don’t use anymore self-hosted

      This. Gitlab swapped out the performant webeditor for a VCS clone that runs like a fucking dog all.the.time, and they’re in a phase where they just can’t control their memory consumption while they focus on whole-sale vendoring of shit projects inside the code – they’re actually considering bringing in pulp as if they can figure out 20 kind of artifact storage but RPMs are a special snowflake requiring the worst bloated pig of an add-on ever.

      I need gitlab to get better as I really like their CI specification and how not-fucking-YAML it is.

  • DasFaultier@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    ·
    5 days ago

    Gitlab at work, because, well, it’s there and it works just fine.

    Forgejo at home, because it’s far less resource hungry.

    In the end Git is a) a command line tool for b) distributed working, so it really doesn’t matter much which central web service you put in place, you can always get your local copy via git clone REPO.

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

    self-hosted gitlab.

    I love it. I can clone external repos on a schedule and build my projects based on my local cache. I’m even running some automation tasks like image deployments out of it too.

      • GreenKnight23@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        pipeline schedules. once a month I clone the remote repo into a local branch, and push it back to my repo with an automatic merge request assigned to me. review & merge kicks off build pipeline.

        I also use pipeline schedules to do my own ddns to route 53 using terraform. runs once every 15 minutes.

        also once a week I’ve got about 50 container images I cache locally that I build my own images from.

    • theherk@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      4 days ago

      Do you really use it or are you just adding an alternative to the conversation? It is an interesting concept (commutation) but not likely to supplant git.

      • xoggy@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        I use it for self hosting because all I need installed is sshd and the pijul package. Then I can set my server’s ;p as my remote. The “nest” web UI (the Pijul equvivalent to git tea) is in development and not open source yet, but you can use the hosted version at https://nest.pijul.com/ if you’re curious.

    • sudoer777@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 days ago

      I considered using pijul but everything in Nix/Guix is oriented around git as are the plugins for my text editor and CLI, and there aren’t good self-hosted web frontends that I can use to put pijul projects on my linkedin profile or whatever. I want to switch to it but the ecosystem surrounding it needs to actually exist first.

      • xoggy@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        This is actually why I prefer using pijul. I don’t want to commit my secrets to a git repo and nix will refuse to build because I’m pulling in files that aren’t tracked. Simple solution is to not make the flake directory a git repo and it won’t complain. That’s my solution at least. I also prefer using git (and therefore pijul) via cli rather than as a text editor integration so my experience differs.

        • sudoer777@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 days ago

          I use git primarily via cli also, the text editor integration (with helix) highlights information such as what lines haven’t been committed and makes it easier to access other files in the repo, the fish integration tells me if there’s files that haven’t been committed or commits that haven’t been pushed without having to run git status

          • xoggy@programming.dev
            link
            fedilink
            arrow-up
            2
            ·
            3 days ago

            I do use helix but haven’t taken advantage of the git integration. Maybe I’m unaware of its power. For fish, I defined my own fish_prompt function with an indicator if there are uncommitted changes. It’s just running git status under the hood. I have a TODO in that function to run a pijul diff in the directory if git status returns nothing…

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        Thought this was abandoned?

        We can’t answer this question as written. Only you can confirm what you were thinking.

      • xoggy@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        The 1.0 is in beta. There has been a lot of refactoring to get it to this point. I would say there’s still many quality-of-life features missing that would stop me from using it in a professional setting but for hobby projects it’s meeting my needs (and gets better with each new beta build). They only have a few project backers but the main developer has been working very steadily on it.

  • ryannathans@aussie.zone
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    5 days ago

    Gitlab

    Open source

    Free ultimate for open source organisations, we get a lot of free pipeline minutes without having to run our own servers for devops. Allows us to focus on development