-
Notifications
You must be signed in to change notification settings - Fork 103
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
Please document news-to-appdata script #437
Comments
Hi! |
Ok, I see. I'm working on a too long and verbose NEWS file. It's time to simplify it. |
Can you help me with the sed script to copy the output of appstream-util in the right place of the appdata file? (i.e. before the last line I don't know how to use appstream-util stdout within the sed command. Here's what I tried:
where STDOUT should be replaced by appstream-util stdout. Or do you know better ways? |
If you have any Honest question: Is there a reason why you can't use |
The only reason is that appstreamcli is not available in Freedesktop SDK 21.08, so I have to build appstream and all its dependencies within my application manifest. Probably I'd better fo this. And maybe ask Freedesktop to include appstreamcli. |
Wait, I've just realized there's a freedesktop appstream.cli extension! |
Jup, but including it in the SDK directly is also probably a good idea (but I'll leave that call to the Flatpak people, I don't have enough experience with building runtimes yet to say that this is a good idea for sure ^^) |
I suspect it is a good idea. How can I access appstreamcli otherwise? (when building a flatpak app) |
I'm trying to use the
appstream-util news-to-appdata
script present in the 21.08 Freedesktop SDK flatpak package, but I can't find any information about the syntax to be used. I'm using it within an application flatpak manifest, because upstream devs could not add the script in their build system.I tried this (taken from appstreamcli) but it didn't work:
Here's the short error message:
The text was updated successfully, but these errors were encountered: