New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won’t allow hyphens in application ID #12
Comments
|
While AppStream historically allows hyphens in component-IDs, today we try to align the component-ID with other commonly used IDs for the application, like the AppID and D-Bus interface names. The latter is especially relevant because many new apps support being launched by D-Bus (see https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus ). I hope that clarifies things :-) |
|
Btw, your ID could be |
|
Thanks for taking your time with the detailed answer. It certainly does clarify things a lot. It is greatly appreciated There is one issue though, fyne (the ui toolkit that I used for creating the application) uses the application id in it's local storage of settings. The problem is that just moving over to |
|
You don't have to have your component-ID match all the other IDs - it's certainly nicer that way, but if doing so would result in breakage, it's better to have two separate IDs (ideally only temporarily). For AppStream, that ID is really only just an identification string that is used to make your app uniquely known to operating systems and software centers, and is used to associate extra data (like ratings and reviews) with it. It's not, unlike with D-Bus, used for any code generation and may differ from other IDs used in the app with the only drawback of then having in-app ID inconsistencies that may confuse the developer :-P |
|
Alright. Thank you for the response |
Hi there. Thank you for creating this great piece of software.
I was looking at using it for creating appstream metadata for my application called wormhole-gui. When I entered the unique identifier for it (com.github.jacalz.wormhole-gui), it complained about hyphens not being allowed.
I know that websites allow hyphens (https://wi-fi.org) and I couldn’t find any information about hyphens not being allowed for unique software identifiers (or appID). Is this something that is specific to the appstream specification or am I just missing something obvious here? I would greatly appreciate if someone could clear up the situation for me :)
The text was updated successfully, but these errors were encountered: