Skip to content

Flathub validations #64

@GeorgesStavracas

Description

@GeorgesStavracas

Seems like Flathub requires quite a few undocumented extra validation steps:

  • Run appstream-util validate from a relatively new appstream-glib (or via Flatpak from Flathub)
  • The app-info directory in the build dir needs both app-info XML and 128x128 icons
  • Screenshots need to be mirrored to https://dl.flathub.org/repo/screenshots (flatpak-builder: Add 'mirror-screenshots-url' input #63)
  • Screenshots need to be committed to screenshots/$architecture (e.g. $ ostree commit --repo=repo --canonical-permissions --branch=screenshots/x86_64 builddir/screenshots)

I'm leaning towards either adding a flathub-validations boolean option to the flat-manager action, or adding a validations string array option. Not sure which one is better.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions