Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI/CD: Validate MetaInfo files #428

Open
DavidoTek opened this issue Jul 27, 2024 · 0 comments
Open

CI/CD: Validate MetaInfo files #428

DavidoTek opened this issue Jul 27, 2024 · 0 comments
Labels
ci/cd enhancement New feature or request

Comments

@DavidoTek
Copy link
Owner

Is your feature request related to a problem? Please describe.
When a new version is released, the MetaInfo file gets updated (e.g., #427).
If this file contains an error, the Flathub build will fail.

Describe the solution you'd like
Automatically validate the MetaInfo file using CI/CD using appstreamcli validate
See https://docs.flatpak.org/en/latest/conventions.html#metainfo-files

Describe alternatives you've considered
None, don't validate and hope nothing breaks.

Additional context
Should the validation be run on every commit? Can we check if the MetaInfo file was modified and only then run the validation?

@DavidoTek DavidoTek added enhancement New feature or request ci/cd labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant