-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
What Happened?
With harvey 2.0.0, and with appstreamcli from https://github.com/ximion/appstream/releases/tag/v1.0.2 as packaged in Fedora (latest upstream release is 1.0.3), appstreamcli validate --no-net io.github.danirabbit.harvey.metainfo.xml fails due to three warnings.
Steps to Reproduce
appstreamcli validate --no-net --explain io.github.danirabbit.harvey.metainfo.xml
Expected Behavior
Since appstream validate fails (exits with nonzero status) when there are warnings, even without --strict, it would be nice if the metainfo file could validate without warnings.
This is not a serious issue for me in Fedora, because it’s appstream-util validate-relax --nonet that must pass in Fedora (which it does), and I can just ignore appstreamcli validate. However, I suppose there might exist distributions or app stores / software centers that do need appstreamcli validate to succeed.
OS Version
Other Linux
Software Version
Latest release (I have run all updates)
Log output (Optional)
+ appstreamcli validate --no-net --explain /builddir/build/BUILD/harvey-2.0.0-build/BUILDROOT//usr/share/metainfo/io.github.danirabbit.harvey.metainfo.xml
W: io.github.danirabbit.harvey:48: screenshot-no-unscaled-image
A screenshot must have at least one image that has a scaling factor of 1.
W: io.github.danirabbit.harvey:51: screenshot-invalid-env-style pantheon:dark
The `environment` property is set to an unrecognized graphical environment/style combination.
W: io.github.danirabbit.harvey:51: screenshot-no-unscaled-image
A screenshot must have at least one image that has a scaling factor of 1.
✘ Validation failed: warnings: 3, pedantic: 2Hardware Info (Optional)
No response