our version of lemmy is old enough that clients like mlem are starting to break due to API drift, so I’m finally upgrading us to the latest stable version of lemmy. this will involve a bit of downtime and potentially a number of breakages; keep an eye out for anything that doesn’t look right after the upgrade and let us know!

  • froztbyte
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 个月前

    for the viewers at home: you definitely don’t want to have to do this yourself

    (we’re going over the lemmy backend changelog and hooo boy)

      • froztbyte
        link
        fedilink
        English
        arrow-up
        11
        ·
        edit-2
        4 个月前

        an absolute clowncar of yolo development practices. here’s just a few of the notes (there’s a whole spreadsheet):

        scripts that used to be called x.sh (shebang /bin/sh) suddenly renamed x.bash in main (shebang still /bin/sh). most of them take cli args, have no safety nets (arg checks etc), and have side effects (file alterations, commits and tags generated, etc)

        there’s a RELEASES.md which afaict is/was not generated by anything ever in the repo. it’s also out of date, has been touched by 5 commits (one more if you include other branches), and is wrong

        the build and test process targets uses both a rust stable version (1.81) and nightly

        the container compose files fully switched out from the mainline postgres containers, to something called pgautoupgrade. I haven’t yet gotten to look to see what it is/does, or what magic footguns it might be. the inter-version migration testing appears to be fully reliant on this thing.

        the sum test action for migrations is “run sed over a target config, then spin it up”

        there appear to be some new config settings. they have comments about their usage. they appear to be important. I only caught them because I was looking at the 0.19.3..0.19.12 diff

        • froztbyte
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          4 个月前

          ah, cool. so, themes? the thing that almost every software out there makes as a lightweight pluggable?

          not lemmy, no. in lemmy you recompile your app to get 'em. (source)

          (edit: there’s a special kind of thinking that goes into writing code this manner. this is pluggable (see extra_themes_dir) but consider the thinking that goes into writing code like this. “some bits static”, with a maintenance burden and a recompile overhead. it’s just absolutely fucking dumb)

        • smiletolerantly
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          4 个月前

          LMAO, what the fuck. None of those make sense, what is the decision process there?

          Edit: thanks for sharing btw :D

          • froztbyte
            link
            fedilink
            English
            arrow-up
            7
            ·
            4 个月前

            what is the decision process there

            why think at all if you can just tread water and iterate 37 times instead?

            (I don’t really know what the thinking is, can only see the outcomes. but it’s some hella mediocre no-effort shit, punching through the problem)

        • flowerysong
          link
          fedilink
          English
          arrow-up
          5
          ·
          4 个月前

          scripts that used to be called x.sh (shebang /bin/sh) suddenly renamed x.bash in main (shebang still /bin/sh).

          That’s just…so completely ass-backwards it boggles the mind.

    • 0_o7@lemmy.dbzer0.comBanned
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      14
      ·
      4 个月前

      So you guys keep running old software till something breaks and are surprised new software that you haven’t kept yourself updated with, has breaking changes…?

      ohhh boyyyy

      • David GerardA
        link
        fedilink
        English
        arrow-up
        10
        ·
        edit-2
        4 个月前

        i’m not saying it’s always dbzer0, sometimes it’s programming.dev

      • froztbyte
        link
        fedilink
        English
        arrow-up
        9
        ·
        edit-2
        4 个月前

        thanks for your valuable and insightful contribution, I’m sure we would’ve been utterly at sea without it. simply marooned on the high seas of software, adrift and helpless. thank you, 0_o7, for your sage advice! you have saved us!

        wait, hang on. no. the other thing.

        e: see, the really great part about your comment is that I can instantly tell you have no fucking idea what you’re talking about, especially given history. but sure, go off. I’m sure you’re just so very good at what you do.

      • selfOPMA
        link
        fedilink
        English
        arrow-up
        8
        ·
        4 个月前

        it’s weird you’re not posting this from your own lemmy instance running a bleeding edge version — you know, one of the 1.0.0 versions that don’t fucking work

      • selfOPMA
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 个月前

        hey fucker, this trash is the new software you love? fuck you