• darthsundhaft@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    I once asked on LQ why on earth we somehow still can’t just settle on one fucking packaging format.

    That was literally the point of AppImage and then Canonical/Red Hat decided they needed to do Snaps and Flatpak. It makes no fucking sense to have all 3 of these things when the whole point was that there would be ONE fucking format that could be run on any distro. That was the whole point.

    Couldn’t even do that right. FFS

    • MonkderVierte@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      They all have advantages and disadvantages in certain conditions. While others are around for two decades already and got a new wrapper around the existing one all 10 years or so.

  • nyan@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    Just give the source away. Don’t package it at all (or at most, do so for your own distro). If your software is good enough, others will do the packaging for you. You’ll have to field a few inquiries, maybe, until someone steps up, but if you’ve got a canned response already written those don’t take long to handle.

    This dev’s problems are twofold: first, he’s in too much of a hurry to get this thing out everywhere, instead of waiting for others to take the burden off him. Second, he wrote his code in Rust, which is difficult to package correctly in a self-contained manner because it tries to force you into using its own language-specific dependency system. He picked up a footgun and shot himself with it, in other words, and is now hopping around cursing.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Just give the source away. Don’t package it at all (or at most, do so for your own distro). If your software is good enough, others will do the packaging for you.

      As someone who’s developed and shipped software you may know, who’s worked in rel/eng, OS security, escalations (we research the fix for the sploit and build the artifact for the update pipeline; everyone calls it something else) before being just an admin to manage hordes of machines; with the knowledge gained in every post I’ve ever held, let me say:

      THIS. ABSOLUTELY THIS.

      If you are a great coder but suck at packaging or hate it, then don’t. You’d produce something sub-par anyway.

      Let the knowledgeable enthusiastic obsessively-detailed people do it for you and you’ll be happier and so will they.

    • Skullgrid@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      3 days ago

      He picked up a footgun and shot himself with it,

      But I thought rust was 100% safe and the best? /s

      • nyan@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        There’s nothing wrong with the language that I’m aware of, but some aspects of the ecosystem seem to have not been thought out with Linux packaging in mind, let’s say.

  • notabot@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    No automatic updates for .deb / .rpm

    The author seems to have completely missed the point that they can just publish their own repositories to allow users on both of these platforms to update. It would also mean they could avoid the problems they’re having building source packages.

    Their complaints about supporting instalations with older libc versions are also addressable by just building against the oldest libc they wish to support.

    • Eldritch@piefed.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      I know right? This is literally what flat pack was meant to address. Just package has push it and let any system use it. So it is a little more complicated and another step on top of everything.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 days ago

        This is literally what flat pack was meant to address. Just package has push it and let any system use it. So it is a little more complicated and another step on top of everything.

        Flatpak is absolutely terrible. As a second repository, it breaks source of truth, doesn’t share dependency or SBOM data with the system and at worst begs for dependency hell.

        At best it’s XKCD 927.

    • DevDave@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      i guess the problem with that is having to maintain the repository setup. they’re basically web servers with signed files.

      That does solve one problem at the cost of a bunch of other potential problems.

      • woelkchen@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        I don’t see the problem. For years I’ve used the public Open Build Service instance at openSUSE to package and publish software for openSUSE and Fedora (never cared for Debian/Ubuntu because I packaged the software only for my own use but it’s possible).

      • notabot@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 days ago

        You can put the repositories on pretty much any static hosting. I haven’t tried it, but I’m pretty sure that, with a bit of fiddling, you could even put them on a github pages site.

        Both distros have good tooling for maintaining repositories, and I’d say it’s probably easier than getting your package into the official repos and keeping it updated there, especially on distros like Debian which favour stability over having the latest versions of packages.

        No distribution system is going to be entirely friction free for the author, but I’ve not encountered any significant issues hosting deb or rpm repos.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 days ago

          I’m pretty sure that, with a bit of fiddling, you could even put them on a github pages site.

          Harbottle does this. It’s very well-done.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 days ago

        that defeats the purpose of a package manager

        I suspect you’re confusing the package manager with the supply chain. This should always be separate, lest we get some systemd-like spongiform blob with no ability to swap out and improve parts without discarding the whole.

        Unless you’re Lennart, it’s a bad idea.