<div dir="ltr"><div>Hi Ben,</div><div><br></div><div>I tried to solve the issue in the following way:</div><div><br></div><div>The name (and all translated names) of kid3-qt is now "Kid3-qt" and no longer "Kid3" as the KDE app. So there are no longer double entries. I also added a paragraph to explain the differences between kid3 and kid3-qt.</div><div><br></div><div>I mentioned that the kid3-qt link to Discover did not work because the part of the id was kid3_qt instead of kid3-qt because otherwise appstreamcli complains about the hyphen. So I thought "let it complain, I go back to the hyphen", but then the CI will fail, the information about the hyphen has become a warning in later versions of appstreamcli. So I used the latest version (via <span style="color:rgb(0,0,0);font-family:monospace">flatpak run org.freedesktop.appstream.cli</span>) and read the documentation:</div><div><br></div><div><a href="https://www.freedesktop.org/software/appstream/docs/chap-Validation.html">https://www.freedesktop.org/software/appstream/docs/chap-Validation.html</a>: The section about cid-rdns-contains-hyphen says that "hyphens are only allowed in the last segment of a component ID". And the Appstream Metadata Quickstart docs (<a href="https://freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-contents">https://freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-contents</a>) say about the "id" that "if your application's .desktop file is named org.example.FooBar.desktop, a good component-id would be org.example.FooBar.". So I followed this advice and removed the .desktop suffix from the id leaving the ids for the two Kid3 packages as "org.kde.kid3" and "org.kde.kid3-qt". The hyphen is now in the "last segment" and passes the appstream validation. Problem solved.<br></div><div><br></div><div>But I rejoiced too soon (but I was not really surprised since most KDE applications seem to use ids ending with ".desktop", so I expected removing it would mean trouble)! Now neither the Discover links for kid3 nor for kid3-qt work, which actually makes it worse than before. It seems that following the guidelines and stripping the ".desktop" from the id leads to invalid links. Or do I have to add something? The docs <a href="https://freedesktop.org/software/appstream/docs/chap-Metadata.html">https://freedesktop.org/software/appstream/docs/chap-Metadata.html</a> mention a <replaces><id>OLDID</id></replaces> tag which should be added when an id is renamed. Would that help or what would you suggest?<br></div><div><br></div><div>Best regards,</div><div>Urs</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>