• zaphod@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    7 months ago

    The idea of “self-hosting” git is so incredibly weird to me. Somehow GitHub managed to convince everyone that Git requires some kind of backend service. Meanwhile, I just push private code to bare repositories on my NAS via SSH.

    • vzq@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      Bare repos with multiple users are a bit of a hassle because of file permissions. It works, and works well, as long as you set things up right and have clear processes. But god help you if you don’t.

      I find that with multiple users the safest way is to set up/use a service. Plus you get a lot of extra features like issue tracking and stuff.

      • zaphod@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        7 months ago

        Agreed, which is why you’ll find in a subsequent comment I allow for the fact that in a multi-user scenario, a support service on top of Git makes real sense.

        Given this post is joking about being ashamed of their code, I can only surmise that, like I’m betting most self-hosters, they’re not dealing with a multi-user use case.

        Well, that or they want to limit their shame to their close friends and colleagues…

    • azertyfun@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      You’re completely missing the point. Even Gitea (much simpler than GitHub, nevermind GitLab) is much more than a git backend. It’s viewable in a browser, renders markdown, has integrated CI functionality, and so on.

      Even for my meager self-host use-case, being able to view markdown docs in the browser is useful from time to time, even on my phone.

      As for the things I use (a self-hosted) GitLab instance at work for… that doesn’t even scratch the surface.

      • Ook the Librarian@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 months ago

        Do you honestly think they’re “completely missing the point”? Read the meme. There’s no mention of gitea. Self-hosting git is nothing to wiggle your tie over. Maybe setting up the things you are talking about are, but git?