And why?

  • sudoer777@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    23 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.

  • ExtremeDullard@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    24 days ago

    I use Github for 4 reasons:

    • Everybody else is on Github. Github is to repo hosting what Youtube is to video hosting. It’s sad but that’s how it is in this world of unchecked, extreme big tech monopolization. So I put my stuff up there because it’s just simpler to be found.
    • I use Github as a dumb git repo. I don’t use any of the extra social media garbage Microsoft tacked onto it. So I get free hosting and Microsoft pretty much gets no data on me - i.e. I’m a net loss to them.
    • You can use dumb repos as PPA and RPM sources, if you need to distribute Debian or Redhat packages. Microsoft never intented for repos to be used this way, but if I can abuse Microsoft services, I will six ways to Sunday.
    • Github lets you drop videos in your README.md. But here’s a trick: you can use the links to the video files anywhere. In other words, you can use Github to host videos that you can post on other forums - including here on Lemmy, or on Reddit if you’re still patronizing that cesspit for some reason. I find this a nice way to abuse Microsoft’s resources also, and I’m all for abusing Microsoft’s resources.

    TL;DR: I use Github not only because it’s the most prevalent git hosting service out there, but because I can abuse it and make Microsoft pay for the abuse without getting anything of value from me in return.

    • theshatterstone54@feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      24 days ago

      I’m actually continuously running github actions that I don’t need running, just because I can, and because it uses up their resources.

      That’s something I really like about Ublue: they use Github actions, so if you build a custom image, you’re using Github’s processing power for it. So, go do that. Make hundreds. Bleed Microsoft dry.

      • sping@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        24 days ago

        wasting energy to somehow stick it to the man?

        Exhibit 56845 why humanity is fucking doomed.

        • theshatterstone54@feddit.uk
          link
          fedilink
          arrow-up
          0
          ·
          24 days ago

          I actually forgot the /s. And I guess I wasn’t clear enough. This is less than a drop in the pool for them. An image build that takes them around 15 mins including setting up the VM for the build, takes me around the same time on a machine with a 6-core Ryzen 5 at 2.375GHz, with 8GB RAM. So because they’re running it on their high end hardware and it still takes that long, they aren’t allocating that many resources to the VM, meaning that it costs them basically nothing.

          TLDR: If any of this was a cost that had any significance to their bottom line, it would have been restricted and/or monetised.

          • sping@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            edit-2
            24 days ago

            It’s obviously trivial energy waste in the big picture, but it’s 100% waste if you don’t need it. Like turning on lights in empty rooms.

  • mlfh@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    24 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).

    • zelifcam@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 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
        0
        ·
        edit-2
        24 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.

    • PlexSheep@infosec.pub
      link
      fedilink
      arrow-up
      0
      ·
      23 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.

    • thirdBreakfast@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 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.

  • Luu Tuyen@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    22 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

    • Drew@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      24 days ago

      forgejo is a fork made by a nonprofit and deals with security issues much quicker

  • ElectronBadger@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    24 days ago

    Codeberg for all my projects, both private and public. Some are mirrored to Github. Also Codeberg Pages and its Woodpecker CI.

  • CHKMRK@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    24 days ago

    I’ve been selfhosting Gitea for years now and it’s great, but I also don’t really collaborate with anyone else so YMMV. Originally I wanted to go with GitLab utb it’s too resource intensive for my use case

  • ramenu@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    24 days ago

    Codeberg for public repositories, cgit (if that even counts) on my own server for private ones

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    24 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
        0
        ·
        23 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.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          23 days ago

          pipeline schedules

          Ah. Cron but from inside the garden. Okay.

          No need to talk about containers. Having worked security (and build/rel) they present no net value.