You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/terra/appstream.mdx
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,6 +185,20 @@ Source1: %appid.metainfo.xml # This specifies your metainfo.xml file as a sour
185
185
186
186
---
187
187
188
+
## Validating Your metainfo.xml File
189
+
190
+
To validate your `metainfo.xml` file, install `appstream`, then run `appstreamcli validate NAME.metainfo.xml`.
191
+
Errors and warnings should be corrected to the best of your ability. In rare cases, errors are fine to have, such as `E: com.github.neohtop:6: metainfo-invalid-icon-type local`.
192
+
`infos` can be ignored or corrected at your discretion.
193
+
194
+
Here is an example of the output of running `appstreamcli validate` on a proper metainfo.xml file:
[^1]: libraries are also supported, see Freedesktop docs for tag provides: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-provides
0 commit comments