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
Use of the url tag #296
Comments
|
You can pass The |
Ok, it woud be nice to have it documented here. I'll keep this issue open for this, if you agree. Thanks for the hint about I thought that the lines created by news-to-metainfo would have been syntactically correct or at least an error or warning would have been printed. Wrong assumption: I'll make sure to validate the final metainfo file. |
I think the specification is pretty much clear here already - all the tags listed are parents of the
This should only slow down the validation by the amount it takes for the lines to print to stdout... Can you measure the performance difference?
The generated lines should always be correct, anything else would be a bug. But the problematic lines are not in the NEWS file, as far as I can see, but were already in the metainfo file - see https://github.com/frescobaldi/frescobaldi/blob/master/linux/org.frescobaldi.Frescobaldi.metainfo.xml.in#L110 |
|
Well, a lot of reading is required to understand which tags are allowed and where. If the url tag was presented only within the release tag, it would have been clear that it's allowed only there. A quick reader - like me - would read just the url tag explanation and think it could be used everywhere. But I understand it's a complicate matter... I've tested again the performance with --explain switch and this time I cannot see substantial differences. So please ignore it. Finally, the problems were definitely in the NEWS file. I fixed them and made a patch by manually editing the NEWS file, then run appstreamcli news-to-metainfo. |
|
Actually, |
|
You are right. I fixed the multiple levels of bullet points, but Frescobaldi author somehow reintroduced them in a later commit, see history here. I'll try to rearrange the Makefiles to avoid these errors. However, I think that any URL is passed over to metainfo by |
|
I'm able to produce bad metainfo using NEWS: Run: Outputs:
|
Can you please help me to debug the errors in this metainfo file?
org.frescobaldi.Frescobaldi.appdata.xml.txt
The file is generated with
appstreamcli news-to-metainfo, see here.I'm currently building a new flatpak and I see these errors in the generated file:
I don't understand the errors about ul items.
And why is the url tag invalid? I read the spec and I thought I could use it. What I'm missing?
Thanks in advance
The text was updated successfully, but these errors were encountered: