• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    26 minutes 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.

  • pcouy@lemmy.pierre-couy.fr
    link
    fedilink
    arrow-up
    3
    ·
    11 hours 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

  • mormund@feddit.org
    link
    fedilink
    arrow-up
    23
    arrow-down
    5
    ·
    1 day 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.

  • mesa@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    1 day 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.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      Did you not do code reviews? It’s the main thing I would miss. Being able to comment in-line, and manage iterations, is very valuable to me.

    • ugo@feddit.it
      link
      fedilink
      arrow-up
      13
      arrow-down
      6
      ·
      1 day ago

      you really dont need a whole bunch to make good software.

      Thank you. Louder for those in the back!

      Perfection is achieved not when there is nothing left to add, but when there is nothing left to take away

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        1 day ago

        You can’t use that to assert that your view about not having something is correct.

        IMO a bug tracker and PR review system are essentially and cannot be taken away. It would seem like most of the world agrees with me.

        • kixik@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          12 hours ago

          Others have already mentions gerrit, no need to review on the forge, and there’s as well gitweb. I imagine there exists many other solutions much better than the forge MR/PR. Particularly reviewing PRs on github is really messy for me. Depending on how complex the review might become I end up branching to the PR branch locally and checking the complex stuff locally without the forge.

          And there are many many bug trackers much better than the issue trackers. Bugzilla actually has kept improving, though I believe it might be too much for small projects, but there are many more.

          I do agree with the article writer that one really needs to create too many accounts already, GH from MS, Gitlab, sourcehut.org (I really like this one better, but still you need yet another account), codeberg, gitea, and some with different instances with different accounts each… It’s crazy, and now AI crawlers getting on them all, and also violating FLOSS licenses… Notice on distributed private repos it’s way harder for AI misbehavior and illegal behavior to do what it does in general.

        • ugo@feddit.it
          link
          fedilink
          arrow-up
          1
          arrow-down
          3
          ·
          edit-2
          24 hours ago

          3 things:

          1. I did not assert that “not having something is correct”
          2. You don’t need a forge for bug trackers and PR reviews (note: I also did not assert they are not needed or useful, either in my previous message or in this one)
          3. If something is required, it cannot be taken away without making the software less perfect. Perfect software is as small as possible and no smaller (note: I also don’t believe perfect software exists, but there’s some that gets as reasonably close as realistically possible)

          Please note also, that I responded to a very specific part that I quoted, namely the fact that you need reasonably little to make good software. Everything else is not an assertion on my part, but an assumption on yours.

  • gsv@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day 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
      arrow-up
      4
      ·
      24 hours 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.

  • Kissaki@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day 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.

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    6
    arrow-down
    6
    ·
    1 day ago

    Pretty dumb not to use a forge. Adds a huge barrier to contribution for little benefit. None of the reasons he gives make sense.

    Maybe a good option for projects that you don’t want anyone else to contribute to, but then why make them open source in the first place?

    Not using GitHub because it’s proprietary is an especially illogical stance. Virtually all websites are proprietary.

    • Markaos@discuss.tchncs.de
      link
      fedilink
      arrow-up
      8
      ·
      15 hours ago

      Maybe a good option for projects that you don’t want anyone else to contribute to, but then why make them open source in the first place?

      Because, at least to some people, open source is more about user freedom (to modify the software and share the modifications with anyone they wish) and less about collaboration.

      For example every time I publish some simple utility that I wrote for myself and decided could be useful for other people, I release it under a reasonable open source license and pretty much forget about it - I’m not going to be accepting merge requests, I don’t have time to maintain random tiny projects. If I ever need to use the utility for something it doesn’t quite do, I’ll check if any of the forks seem to have implemented it. If not, I’ll just implement it in my repo.

      The reason I’m publishing the code is because I know how much it sucks when you find some proprietary freeware utility that almost does what you need, but you can’t fix it for your usecase on account of it being proprietary for no reason (well, author’s choice is the reason, and I respect it, but it’s still annoying)

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        15 hours ago

        That’s a fair point. I don’t think that’s the case here because he talks about all the bad ways he prefers to receive contributions (email, patch files, git bundle etc.).

  • rhabarba@feddit.org
    link
    fedilink
    arrow-up
    6
    arrow-down
    13
    ·
    edit-2
    1 day ago

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

    • starshipwinepineapple@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      1 day ago

      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@feddit.org
        link
        fedilink
        arrow-up
        2
        arrow-down
        3
        ·
        1 day 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

        • mesa@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          1 day 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@feddit.org
            link
            fedilink
            arrow-up
            4
            arrow-down
            1
            ·
            1 day ago

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

            • mesa@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 day 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@feddit.org
                link
                fedilink
                arrow-up
                5
                arrow-down
                1
                ·
                1 day ago

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

    • villainy@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 day 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@feddit.org
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 day 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.

    • footfaults@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Why use Git at all then?

      Still need to version control the work. No editor’s undo buffer is a complete history of all changes

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      1 day 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?

        • HelloRoot@lemy.lol
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          1 day 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.