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: ``sudo dnf install fedora-appstream-metadata libappstream-glib``
# 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

  1. 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

How to test

  1. Validate the appstream metadata by running: appstream-util validate /usr/share/app-info/xmls/fedora.xml.gz
  2. 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

  1. The appstream metadata validation should show no errors.
  2. 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.