Another “Differences in Linux” question :)

I often wonder, what exactly is the difference between this services?

I understand, that:

  • github.com is a company, where as gitlab and forgejo are (softwares)?
  • They all “manage/wrap/interface with” git?

Questions:

  • what software does github.com use?
  • whats the difference between them (pros/cons)?
  • what about self-hosting? Possibilities/Preferences?

As always, thanks beforehand :)

  • shirro@aussie.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    In my opinion Github in its current incarnation mainly exists to steal the IP of programmers and lock it up in proprietary AI services controlled by Microsoft. It dominates for the same reason Facebook or Youtube dominate. It is the only platform normies know and it benefits from massive network effects. It is US owned and operated which is becoming an issue for lots of people. Github is a proprietary closed source platform. I believe it was originally mostly written in Ruby but they have likely replaced all the performance bottlenecks using other languages. In my opinion their site is a usability nightmare.

    Forejo is a fork of Gitea by Codeberg, a community run non-profit from Germany (still a liberal democracy under the rule of law) and hosted in Europe. They provide free hosting for open source projects or it is easy to self host. Gitea is a fork of Gogs and remains active. All those forks are written in the Go language and it requires a single exe, a config file and an sql database to run making it very easy to self host even without containers.

    Gitlab is a service like Github or Codeberg that can also be self hosted but it is written in Ruby, a slow and inefficient interpreted language, which like Javascript or Python has lots of crazy fragile run time dependencies. The open source project was originally a work of Dutch and Ukrainian programmers and it was a Dutch company but they took VC money and IPOed and I don’t know that I would assume it is European controlled. Some open source projects like Gnome moved there as it was the main alternative to Github. Can’t recommend vs Gitea/Foejo for self hosting.

    For single developers, small groups, arguably all you really need is git and email if you don’t need or want all the extra fluff. That can work even for large projects like the Linux kernel. Sites like github tend to serve as single points of contact for lots of projects. It is their front page, issue tracker, everything which is one hell of a dependency on another company. It has Facebook-ized the code ecosystem. I think it also sort of serves as a linkedn for some people.

  • Patch@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    Git is the underlying code management and version control system. It can be used directly, and also forms the backend to a number of other systems.

    Code “forges” are platforms which integrate a version control system (like git), a code repository (a file server), and front end utilities.

    Some git forges are open source, others are proprietary. Certainly with the open source ones, but also with the proprietary ones in some cases, you can either self-host or use a hosted service.

    GitHub is a proprietary forge, and GitHub.com is the company’s fully hosted service. They’re now owned by Microsoft.

    Gitlab is an open source forge. Gitlab.com offers a hosted service, but many projects self-host.

    Forgejo is a fork of Gitea which is a fork of Gogs. These are all also open source. As far as I know, neither Forgejo nor Gogs offer a hosted version, but Gitea does.

    A few other notable forges include GNU Savannah (open source), Bitbucket (proprietary), Sourceforge (proprietary), Launchpad (open source), Allura (open source).

    At the end of the day, they all do the same thing. They have different feature lists (especially around some of the project management and user interaction side), different user interfaces (some are shinier and more modern, others more minimalist), and different communities and support models. You choose that one that works best for your needs.

    GitHub is probably the most feature-rich (and/or bloated) of them. GitLab is competing in the same space, and self-hosted GitLab seems to be something of a sweet spot for many projects that want a premium experience without needing to use a proprietary Microsoft product. I don’t have much experience with Forgejo or Gitea. The rest tend to exist in their niches.