Skip to content

Provide AppStream validation #37

Open

Description

@cassidyjames

Much like the lint action, it would be handy to provide an AppStream data validation action so we can ensure things are valid before they're merged. Would avoid issues with malformed AppData, missing tags, etc.

Activity

  1. kgrubb commented on Apr 16, 2020

    @kgrubb
    Contributor

    Should this be its own action even though its super tiny/short? I'm thinking yes, but I'm not certain 😄

  2. decathorpe commented on Apr 16, 2020

    @decathorpe

    It would be great if appdata could be validated both with appstream and appstream-glib - even in the "relaxed" mode, the latter is stricter for some checks (and for some other checks, it's the other way round). Validating with both major implementations should cover most issues.

    (appstream is used by AppCenter and KDE, appstream-glib is used by GNOME / PackageKit - so basically everybody except Appcenter and KDE)

  3. kgrubb commented on Apr 16, 2020

    @kgrubb
    Contributor

    I added appstream-util validate-relax --nonet, which should cover appstream-glib I think? Where's the best place to take a look at the other validator?

  4. decathorpe commented on Apr 16, 2020

    @decathorpe

    @kgrubb I've left some feedback on your PR, including how to invoke the non-glib appstream validator CLI :)

  5. added theissue type on May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DesignWaiting for input from the UX teamPriority: WishlistNot a priority, but something that might be nice

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions