• @mormund@feddit.org
    link
    fedilink
    262 months ago

    Can you use git without a forge? Sure. As long as you don’t give a hoot about the entry barrier. But for any open source project were you want to encourage contribution you better have a nice presence on a forge.

  • @mesamunefire@lemmy.world
    link
    fedilink
    English
    24
    edit-2
    2 months ago

    I worked at a place that just had a git on a sftp server and that was it. Worked well in a small team. Git is made for it.

    Having a separate issue tracker turned out to not be a big deal at all. Theres a lot of niceties github has, but it turns out you really dont need a whole bunch to make good software.

    Nowadays i would probably go with gitea or forgeo if I had to self host, but git by itself is perfectly fine.

  • @gsv@programming.dev
    link
    fedilink
    English
    82 months ago

    Appreciate the KISS perspective.

    For me, the project management features of a forge are extremely helpful. Setting milestones, assigning issues to them, defining timelines and regularly reiterating the planning has proven to accelerate our work as a team significantly. This experience refers to huge code bases (climate models) and medium to large team sizes, though. And probably also my bad memory 😵‍💫

    I suppose it’s always good, though, to evaluate how much management a code will actually need in the end, and what tools correspond to that need.

    • @thirdBreakfast@lemmy.world
      link
      fedilink
      English
      62 months ago

      Yep. Glad he’s got a system that works for him, but as a solo dev I love my Forgejo. I self host it, (so no Trust issues) and if you’ve hosted any other services before, the setup is a simple Docker compose - so I’m not sure I accept the Heavyweight argument either.

  • rhabarba
    link
    fedilink
    5
    edit-2
    2 months ago

    Why use Git at all then? I thought the one reason why everyone wants to use Git these days are the forges.

    • Did you read the article? The author shares their perspective.

      For me, Git is quite powerful on its own with version control, diffs, branches, merging, etc. Forges just add a UI for some of these things, and add an issue tracker/ discussion/etc. Forges also add a more modem ui for repo access though git does have its own webserver you can use. I use git without a forge for a number of my personal projects that I’m not sharing with others or not yet sharing

      • rhabarba
        link
        fedilink
        22 months ago

        Git is quite powerful on its own with version control, diffs, branches, merging, etc.

        All version control systems do that, hence my question.

        Git was conceived as a bazaar (because of its use for the Linux kernel), but most projects are more like cathedrals. In my opinion, Git is simply over-engineered for most projects. For projects that you don’t want to share with others, even CVS would probably suffice…

        • Well just speaking for myself, i use git without a forge for personal stuff because i was already familiar with git and it fits my needs. No need to learn another version control system for some basic projects i throw together

        • @mesamunefire@lemmy.world
          link
          fedilink
          English
          4
          edit-2
          2 months ago

          The biggest thing git does is one person can get one or many branches (AKA version control) on ANY machine. They all act like they are the source of truth. CVS/Mercurial/etc…all have the issue that they expect to be on one machine as the source of truth. And if that machine ever goes down…

          Before git (ya im old), I used a plethora of services like git. There were times back then when a server was down and the history…was just gone.

          • rhabarba
            link
            fedilink
            42 months ago

            Mercurial is decentralised, there is no single “source of truth”. (Not counting “upstream”, of course.)

            • @mesamunefire@lemmy.world
              link
              fedilink
              English
              22 months ago

              Huh interesting, maybe it was the way we used it 15-20+ years ago or maybe it changed. No clue. But yes you are correct.

              • rhabarba
                link
                fedilink
                52 months ago

                Both Mercurial and Git started around the same time as a replacement for BitKeeper - which also was decentralised.

    • @villainy@lemmy.world
      link
      fedilink
      42 months ago

      Git experience is highly transferrable. Unless you have some specific use case not supported by Git, why wouldn’t you use the one where the knowledge is most likely to carry over between projects/jobs?

      • rhabarba
        link
        fedilink
        12 months ago

        I am one of those weirdos who prefer the best tool for a job, not the most popular one. And Git is - for me and my projects with exactly one branch (“trunk”) and three or four other contributors, with me being the BDFL - the worst choice.

    • @HelloRoot@lemy.lol
      link
      fedilink
      English
      2
      edit-2
      2 months ago

      distributed, asynchronous collaboration and versioning.

      Or do you wanna send zipped up sourcefiles “project_dev_0.9.6.2_developername_featureID.zip” per email to a dozen colleagues who then have to manually merge it into their current WIP?

      • rhabarba
        link
        fedilink
        12 months ago

        There is a difference between “not using a VCS” and “using Git”.

        • @HelloRoot@lemy.lol
          link
          fedilink
          English
          5
          edit-2
          2 months ago

          Let me make it clear to you then.

          Why use Git at all then?

          For it’s VCS features.

          I thought the one reason why everyone wants to use Git these days are the forges.

          You thought wrong. Git is not wanted exclusively for the forges, but also for it’s VCS capabilities.

          • rhabarba
            link
            fedilink
            12 months ago

            Which VCS capabilities make Git stand out in comparison to all other DVCSs if you don’t need a web UI?

  • @pcouy@lemmy.pierre-couy.fr
    link
    fedilink
    41 month ago

    To anyone saying it’s dumb not to use a forge, have you heard of a little open source project called Linux ? It does not use a forge either

  • @Kissaki@programming.dev
    link
    fedilink
    English
    32 months ago

    Funny how this shows up as cross-posted to the same community when there’s been a post about it two months ago.

    It shouldn’t be labeled "cross-"post, but the linking to earlier discussion is certainly valuable and useful.

    I remembered this post.

  • @ulterno@programming.dev
    link
    fedilink
    English
    11 month ago

    I had been thinking of self-hosting my little repos and realised GitLab was too heavy for my taste.

    Just needed a code browser.

    A forum alongside with connections to the repo would be good, but again, gets heavy.