Skip to content
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

metainfo improvements needed #242

Closed
okias opened this issue Apr 26, 2020 · 2 comments · Fixed by #244
Closed

metainfo improvements needed #242

okias opened this issue Apr 26, 2020 · 2 comments · Fixed by #244

Comments

@okias
Copy link
Contributor

okias commented Apr 26, 2020

$ appstream-util validate-strict srain.appdata.xml   
srain.appdata.xml: FAILED:
• tag-missing           : <translation> not specified
• tag-missing           : <update_contact> is not present
• style-invalid         : <image> has vertical padding [https://srain.im/assets/images/cover.png]
• style-invalid         : <image> has horizontal padding [https://srain.im/assets/images/cover.png]
• aspect-ratio-invalid  : <screenshot> aspect ratio not 16:9 [https://srain.im/assets/images/cover.png]
• style-invalid         : <caption> is too short [Main UI];shortest allowed is 10 chars
• style-invalid         : <image> has vertical padding [https://doc.srain.im/en/latest/_images/srain-startup.png]
• style-invalid         : <image> has horizontal padding [https://doc.srain.im/en/latest/_images/srain-startup.png]
• aspect-ratio-invalid  : <screenshot> aspect ratio not 16:9 [https://doc.srain.im/en/latest/_images/srain-startup.png]
• style-invalid         : <caption> is too short [Login UI];shortest allowed is 10 chars
• style-invalid         : <image> has vertical padding [https://doc.srain.im/en/latest/_images/srain-search-channel.png]
• style-invalid         : <image> has horizontal padding [https://doc.srain.im/en/latest/_images/srain-search-channel.png]
• aspect-ratio-invalid  : <screenshot> aspect ratio not 16:9 [https://doc.srain.im/en/latest/_images/srain-search-channel.png]
• style-invalid         : <summary> cannot end in '.' [Modern IRC client written in GTK.]
• translations-required  : <name> has no translations
• translations-required  : <summary> has no translations
• translations-required  : <description> has no translations
Validation of files failed
@SilverRainZ
Copy link
Member

:'( These rules are quite strict.

@SilverRainZ
Copy link
Member

#244 fixes some issues of them, but not all.

I am not sure how to fix a "translations-required" error.
Some "style-invalid" errors about image are quite old fashioned IMO so I won't fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants