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
Convert xml to yml doesn't preserve artifacts information #267
Comments
|
The reason for that is that DEP-11 (the YAML representation) doesn't use artifacts, so they are not included since they aren't used by distributions to install software. |
|
Yes we use |
|
@ognarb You should really use libappstream directly, maybe via GObject-Introspection. AFAIK Ruby also supports that pretty well. But there isn't a compelling reason why there shouldn't be a YAML representation of release artifaczs (other than this being extra work). So, here you go ;-) |
|
Thanks for adding this feature :D and yeah we should use libappstream directly but probably not soon. The current system while not optimal still works fine for our use case and I don't have the time to rewrite it. |
Hi, I added artifacts information to the Krita AppStream file: https://invent.kde.org/kde/krita/-/merge_requests/295/diffs.
But when converting the XML AppStream file to YAML using
appstreamcli convert, this information is removed.The file is converted when building kde.org/applications, I didn't write the extractor but I guess the reason we convert the file is that it is easier to load a YAML file. This could be changed to load the XML file directly but I prefer not touching a working system without good reasons :-)
The text was updated successfully, but these errors were encountered: