MQTTX icon indicating copy to clipboard operation
MQTTX copied to clipboard

[Bug] flatpak update issue

Open tukusejssirs opened this issue 1 year ago • 3 comments

What did I do

I have updated my Flatpak apps (using flatpak update).

What happened

When I update my Flatpak apps, I get the following info messages:

Info: runtime org.freedesktop.Platform branch 21.08 is end-of-life, with reason:
   org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this runtime:
   com.emqx.MQTTX

Info: runtime org.freedesktop.Platform.GL.default branch 21.08 is end-of-life, with reason:
   org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this extension:
   com.emqx.MQTTX

Expected

MQTTX should auto-update its Flatpak dependencies when they become EOL’d.

Environment

  • OS: Fedora Workstation 38 (any Linux with Flatpak should have the same problem)
  • MQTTX v1.9.6

tukusejssirs avatar Oct 30 '23 11:10 tukusejssirs

It seems that this issue is due to the fact that mqttx 1.9.6 packaged as a flatpak is using outdated dependency libraries. We will test and resolve this issue in version 2.0. For now, you can install it using rpm or appimage, or wait for our flatpak version in 2.0.

ni00 avatar Nov 01 '23 02:11 ni00

Looks like somewhat has submitted a fix for this here https://github.com/flathub/com.emqx.MQTTX/pull/20

woodsb02 avatar Jan 16 '24 14:01 woodsb02

While it fixes this particular instance of the issue, however, it is not future-proof. The only proper fix I see is to add a build step that would check what is the latest org.freedesktop.Platform version, build the app against it, test if everything works as expected, commits the changes (the updated org.freedesktop.Platform version in the deps list) and only them publishes a new MQTTX version.

tukusejssirs avatar Jan 16 '24 14:01 tukusejssirs