• seaQueue@lemmy.world
    link
    fedilink
    arrow-up
    58
    ·
    5 months ago

    It’s a picture of the people who submit zero value comment spelling fixes to the Linux kernel so they can claim “I’ve submitted X patches to the Linux kernel” for KPIs or resume building

    • tourist@lemmy.world
      link
      fedilink
      arrow-up
      44
      ·
      5 months ago

      “Hey Bob, you’ve worked on the Linux kernel before, can you handle this CPU scheduler problem we’re having? Shouldn’t take you too long. We need it done before lunch”

    • gravitas_deficiency@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      32
      ·
      edit-2
      5 months ago

      Hey man, I once had an engineering exec (who didn’t last very long) who decided engineers would be stack ranked by SLOC. You can imagine how easy that metric was to cheese, and you can also imagine exactly how that policy turned out.

      Give an engineer a stupid metric to meet, and they’ll find a stupid way to meet it for you, if only out of malicious compliance.

      • seaQueue@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        edit-2
        5 months ago

        I’d have a field day with that. Max line length 70 or 75, excessively verbose function and variable names, triple the normal amount of comments, extra whitespace wherever possible, tab width 8, etc. The possibilities are endless for that metric.

    • efstajas@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      edit-2
      5 months ago

      Honestly, I’ve worked with a few teams that use conventional commits, some even enforcing it through CI, and I don’t think I’ve ever thought “damn, I’m glad we’re doing this”. Granted, all the teams I’ve been on were working on user facing products with rolling release where main always = prod, and there was zero need for auto-generating changelogs, or analyzing the git history in any way. In my experience, trying to roughly follow 1 feature / change per PR and then just squash-merging PRs to main is really just … totally fine, if that’s what you’re doing.

      I guess what I’m trying to say is that while conv commits are neat and all, the overhead really isn’t really always worth it. If you’re developing an SDK or OSS package and you need changelogs, sure. Other than that, really, what’s the point?

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      5 months ago

      Any standard that wastes valuable space in the first line of the commit is a hard sell. I don’t see the point in including fix/feat/feat! just for the sake of “easy” semantic versioning because generally you know if the next release is going to be major or minor and patches are generally only only after specific bugs. Scanning the commits like this also puts way too much trust in people writing good commit messages which nobody ever seems to do.

      Also, I fucking hate standards that use generic names like this. It’s like they’re declaring themselves the correct choice. Like “git flow”.

      • mariusafa@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        You can always adapt to your how repo. But yeah, that’s the point. If you can trust people to make changes on a repo then you should be able to trust them in using some kind of commit structure.

        Generic names are probably used in order to crate a familiar, easy to remember, structurized commit format.

  • Eskuero@lemmy.fromshado.ws
    link
    fedilink
    arrow-up
    13
    ·
    5 months ago

    My ass who was sending patches to cyanogenmod gerrit ten years ago would never.

    device: msm8916-common: BoardConfig: Build libril from source

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    7
    ·
    edit-2
    5 months ago

    Sometimes I’m in awe at the effort people put into these memes. Well done 😄

    P.S Now make one about people who squash 100 commits into one without cleaning up the message and have a single commit with 1k added / 2k removed in it for the sake of “clean” history.

    Anti Commercial-AI license

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Yesssss, so true. Anytime people say they want history to be “clean” I insist they explain what they mean because more often than not they’re going to suggest something that makes the history way less useful.