From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This test case ensures that the fedora-appstream-metadata package provides correct and valid metadata for the software applications available in Fedora. The metadata is essential for app centers like GNOME Software to show accurate and comprehensive information about available software to the users. | |description=This test case ensures that the fedora-appstream-metadata package provides correct and valid metadata for the software applications available in Fedora. The metadata is essential for app centers like GNOME Software to show accurate and comprehensive information about available software to the users. | ||
|setup= | |setup= | ||
# Ensure `fedora-appstream-metadata` and `appstream-util` packages are installed. If not, install them with the command: | # Ensure `fedora-appstream-metadata` and `appstream-util` packages are installed. If not, install them with the command: `sudo dnf install fedora-appstream-metadata libappstream-glib` | ||
|actions= | |actions= | ||
# Validate the appstream metadata by running: `appstream-util validate /usr/share/app-info/xmls/fedora.xml.gz` | # Validate the appstream metadata by running: `appstream-util validate /usr/share/app-info/xmls/fedora.xml.gz` |
Revision as of 13:22, 20 September 2023
Description
This test case ensures that the fedora-appstream-metadata package provides correct and valid metadata for the software applications available in Fedora. The metadata is essential for app centers like GNOME Software to show accurate and comprehensive information about available software to the users.
Setup
- Ensure
fedora-appstream-metadata
andappstream-util
packages are installed. If not, install them with the command:sudo dnf install fedora-appstream-metadata libappstream-glib
How to test
- Validate the appstream metadata by running:
appstream-util validate /usr/share/app-info/xmls/fedora.xml.gz
- Open an application center (like GNOME Software) and browse through a few applications to see if the metadata (like application description, screenshots, etc.) appear correctly.
Expected Results
- The appstream metadata validation should show no errors.
- In the application center, the metadata for applications should appear correctly without any missing information or graphics.
Optional
Optionally, compare the metadata for a few popular applications with their official website or repository information to ensure accuracy.