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
Appstream does no handle <component type="shell-extension"> #199
Comments
|
@StefanBruens This is a bug in appstream-glib for implementing a non-standard extensions. What asglib thinks is its own component type should actually be a component of type "addon" extending the So I am inclined to just close the issue. |
No, we're shipping this in RHEL 7 and so I have to support it at least for the next 10 years... I agree it should be an addon to org.gnome.Shell, but that fallback code isn't written either in the generator or the client tools. On a more general note, isn't this supposed to be XML? It doesn't feel very extensible if every unknown tag value or attr is being flagged as a warning... |
|
@hughsie For the general note: This is AppStream and I want it to be validated strictly. It's XML, so you can add new tags if you want to, but making completely invalid components will always yield a warning - otherwise stuff will go missing in software centers without us knowing what happened, or even that there is stuff missing.
That being said, when validating metadata (not just loading it), even unknown tags (that aren't prefixed with a different XML namespace or |
|
For the RHEL case: Don't you only need to maintain an older series for RHEL, so any new releases can make changes? Otherwise, software development would not move forward because every new version still has to support the featureset that any older version had in RHEL once. |
libappstream-glib defines some additional component types, see
https://github.com/hughsie/appstream-glib/blob/master/libappstream-glib/as-app.h#L319
This causes some errors when appstream(cli) encounters such entries:
** (appstreamcli:9324): DEBUG: 03:54:39.820: WARNING: Ignored component 'launch-new-instance_gnome-shell-extensions.gcampax.github.com': The component is invalid.The text was updated successfully, but these errors were encountered: