• wheezy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    21
    ·
    edit-2
    15 hours ago

    Am I the only one that is annoyed with version numbering in which 13.12 comes after 13.4?

    It creates a numerically out of order version increment that bothers me to a degree that it shouldn’t.

    13.04 and 13.12 would really make much more sense. If you need more than 100 versions, well, you probably should have hit a major release cycle or started with %03d format next time and just pad out x.99… until you go to x+1.

    • fruitycoder@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      9 hours ago

      Version “numbers” are actually period seprated lists of integers.

      Equally valid could be (13(12(0))).

      All i ask, as a humble admin please dont make breaking changes in the minor or patch colums.

      • wheezy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        28
        arrow-down
        4
        ·
        edit-2
        15 hours ago

        %YYYY.MM format is a separation between numbers. But still increments in a numerically ordered way. I’m not saying I don’t understand version numbers. I’m saying padding zeros makes it easier to read.

        It doesn’t really matter with a release cycle that has less than 10 version increments. Which is fine if you’re only ever gonna hit 13.9 in very rare cases.

        But if you constantly have x.yy version numbers. You should probably start with some zero padding. All I’m saying.

        13.1
        13.11
        13.12
        13.13
        13.2
        13.3
        

        Is ugly and annoys me.

        • lad@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          Have you seen formats that use unpadded seconds, minutes and hours? 11:4:7 is just beautiful time formatting 🥹 /s

        • flambonkscious@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          16
          arrow-down
          11
          ·
          14 hours ago

          But they’re integers not strings, so are sorted differently…

          I’m sorry if your head treats them as strings but that’s like, a you problem, man…

          • wheezy@lemmy.ml
            link
            fedilink
            English
            arrow-up
            22
            arrow-down
            1
            ·
            edit-2
            14 hours ago

            Welcome to the thread. It’s something that annoys me in which I asked if it annoyed anyone else. I’m not sure why you’re trying to explain away my annoyance with information I already know.

            Also, filenames are quite literally strings. That’s how the image binaries will be sorted. As filenames.

            release_1.1.bin
            release_1.10.bin
            release_1.2.bin
            

            And yes I’m aware of sort -V. I can still have an OCD annoyance with it. I swear to God if someone replies again telling me why I shouldn’t be annoyed.

            At this point I’m more annoyed with replies than I was version numbers.

            • Alberat@lemmy.world
              link
              fedilink
              arrow-up
              6
              ·
              edit-2
              11 hours ago

              for f in $(find /); do mv $f $(echo $f | sed ‘s/.([0-9])./.0\1./’; done

              ftfy

              edit: dont actually run that

                  • wheezy@lemmy.ml
                    link
                    fedilink
                    English
                    arrow-up
                    7
                    ·
                    14 hours ago

                    ls | sort -V now that I’ve cursed you.

                    But I’m running out of mental storage space for bash commands. I wish I could clear some space.

    • not_IO@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 hours ago

      i get that and it was my initial reaction too, but doing it differently would force a major update after versipn x.9 which makes no sense either

    • Kevin@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      14 hours ago

      This has always bugged me, too! I understand it. It isn’t inaccurate. I’ve probably done it myself in the past. But the way it looks bugs me.