• merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    yet another reason to back flatpaks and distro-agnostic software packaging. We cant afford to use dozens of build systems to maintain dozens of functionally-identical application repositories

    • TheFunkyPickle@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 hours ago

      I will back flatpaks when they stop feeling so sandboxed. I understand that is the point, but on Mint it don’t get any specific popuo requests and instead have to sit in flatseal and manually give access. .deb 4 lyfe

      • merthyr1831@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        the sandbox is the point! but yes there’s still shortcomings with the sandbox/portal implementation, but if snaps can find a way to improve the end user experience despite containerising (most) apps, then so can flatpak.

        It’s similar to how we’re at that awkward cusp of Wayland being the one and only display protocol for Linux, but we’re still living with the awkward pitfalls and caveats that come with managing such a wide-ranging FOSS project.

        • TheFunkyPickle@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          I am definitely not against flatpaks, but I still use system packages when possible. I find too many weird issues with flatpaks when I need them to do more than be a standalone application (see Steam). Flatpaks feel like a walled garden more than a sandbox. Just give me more UI prompts for what you want to access as opposed to needing an entirely separate program (Flatseal).

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      11 hours ago

      We have this guy saying we cannot build all the Alpine packages once to share with all Alpine users. Unsustainable!

      On the other hand, we have the Gentoo crowd advocating for rebuilding everything from source for every single machine.

      In the middle, we have CachyOS building the same x86-64 packages multiple times for machines with tiny differences in the CPU flags they support.

      The problem is distribution more than building anyway I would think. You could probably create enough infrastructure to support building Alpine for everybody on the free tier of Oracle Cloud. But you are not going to have enough bandwidth for everybody to download it from there.

      But Flatpak does not solve the bandwidth problem any better (it just moves the problem to somebody else).

      Then again, there are probably more Apline bits being downloaded from Docker Hub than anywhere else.

      Even though I was joking above, I kind of mean it. The article says they have two CI/CD “servers” and one dev box. This is 2025. Those can all be containers or virtual machines. I am not even joking that the free tier of Oracle Cloud ( or wherever ) would do it. To quote the web, “you can run a 4-core, 24GB machine with a 200GB disk 24/7 and it should not cost you anything. Or you can split those limits into 2 or 4 machines if you want.”

      For distribution, why not Torrent? Look for somebody to provide “high-performance” servers for downloads I guess but, in the meantime, you really do not need any infrastructure these days just to distribute things like ISO images to people.

      • merthyr1831@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        There are other costs, too. Someone has to spend a LOT of time maintaining their repos: testing and reviewing each package, responding to bugs caused by each packaging format’s choice of dependencies, and doing this for multiple branches of supported distro version! Thats a lot of man hours that could still be used for app distribution, but combined could help make even more robust and secure applications than before.

        And, if we’re honest, except for a few outliers like Nix, Gentoo, and a few others, there’s little functional difference to each package format, which simply came to exist to fill the same need before Linux was big enough to establish a “standard”.


        Aaaanyway

        I do think we could have package formats leveraging torrenting more though. It could make updates a bit harder to distribute quickly in theory but nothing fundamentally out of the realm of possibilities. Many distros even use torrents as their primary form of ISO distribution.

    • chaoticnumber@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      22 hours ago

      This is such a superficial take.

      Flatpaks have their use-case. Alpine has its use-case as a small footprint distro, focused on security. Using flatpaks would nuke that ethos.

      Furthermore, they need those servers to build their core and base system packages. There is no distro out there that uses flatpaks or appimages for their CORE.

      Any distro needs to build their toolchain, libs and core. Flatpaks are irrelevant to this discussion.

      At the risk of repteating myself, flatpaks are irrelevant to Alpine because its a small footprint distro, used alot in container base images, containers use their own packaging!

      Furthermore, flatpaks are literal bloat, compared to alpines’ apk packages which focus on security and minimalism.

      Edit: Flatpak literally uses alpine to build its packages. No alpine, no flatpaks. Period

      Flatpaks have their use. This is not that. Check your ignorance.

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        12 hours ago

        /s This was a Snap trap and you walked right into it!! You are right, Flatpaks are great bit you cannot use them for everything. We all need to switch to Snaps so we can build our base packages in them!

    • harsh3466@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      I’m a fan of flatpaks, so this isn’t to negate your argument. Just pointing out that Flathub is also using Equinix.

      Source

      Interlude: Equinix Metal née Packet has been sponsoring our heavy-lifting servers doing actual building for the past 5 years. Unfortunately, they are shutting down, meaning we need to move out by the end of April 2025.

    • ubergeek@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Pretty sure flatpak uses alpine as a bootstrap… Flatpak, after all, brings along an entire distro to run an app.