https://bugs.kde.org/show_bug.cgi?id=416283
Bug ID: 416283 Summary: appstream uri alt ids Product: Discover Version: 5.17.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: discover Assignee: lei...@leinir.dk Reporter: sit...@kde.org CC: aleix...@kde.org Target Milestone: --- https://github.com/ximion/appstream/issues/183 saw the introduction of extra query arguments through which alternative (legacy) ids may be communicated. So `appstream:org.kde.krita?alt=krita.desktop` will allow modern systems to use the modern id while old systems can find it by alt id. AppStreamUtils::appstreamId seems to not yet implement this. I also want to note that when updating the logic you should take care to keep ignoring invalid inputs. e.g. `appstream:org.kde.krita?alt=krita.desktop&randomparam=yes` should ignore randomparam rather than stumble over it (this is to ensure future updates to the URI format will not break assumptions) -- You are receiving this mail because: You are watching all bug changes.