-
Notifications
You must be signed in to change notification settings - Fork 148
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
Only checks for developer_name
which is now deprecated and replaced by developer
(only since AppStream 1.0)
#274
Comments
Please use Can't allow just the |
Yes, we likely also want to support pre-appstream 1.0 systems for a while so there is no rush. I raised this issue so that we have a trace. |
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ], "warnings": [ "appstream-screenshot-missing-caption" ] } ``` See: flathub/org.kde.gwenview#123 See: flathub-infra/flatpak-builder-lint#274 See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: flathub/org.kde.dolphin#207 See: flathub-infra/flatpak-builder-lint#274 See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: - flathub/org.kde.kdevelop#171 - flathub-infra/flatpak-builder-lint#274 - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: - flathub/org.kde.kdenlive#329 - flathub-infra/flatpak-builder-lint#274 - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: - flathub/org.kde.kdenlive#329 - flathub-infra/flatpak-builder-lint#274 - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name - https://mail.kde.org/pipermail/kde-devel/2024-February/002400.html
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: - flathub/org.kde.kdenlive#329 - flathub-infra/flatpak-builder-lint#274 - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name - https://mail.kde.org/pipermail/kde-devel/2024-February/002400.html (cherry picked from commit 7c6b5fb)
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: - flathub/org.kde.kdenlive#329 - flathub-infra/flatpak-builder-lint#274 - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name - https://mail.kde.org/pipermail/kde-devel/2024-February/002400.html
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: - flathub/org.kde.kdenlive#329 - flathub-infra/flatpak-builder-lint#274 - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name - https://mail.kde.org/pipermail/kde-devel/2024-February/002400.html
Solved by 7bcac8e I should work now if either tag is present. But I'm switching the recommendation to the latest spec supported |
I'm not sure we can do that yet. Have you verified that older appstream accept the new developer tag? |
That's just the recommendation, you can use either one and it's going to be fine. By older appstream do you mean appstream-glib or older versions of appstreamcli? If it's the former, it will not show an error on validation, it ignores the new tag. |
Looks like "older" appstreamcli 0.16.1 (the version shipped in Fedora 39 right now for me), emits a harmless warning "unknown-tag-developer" on Flathub uses appstreamcli 1.0.1 with a few unreleased patches. So everything should work fine there. I guess if your upstream CI still has to use older appstream (be it as-glib or appstreamcli), continue using So from the linter's or Flathub's perspective the issue in the title is solved. |
Is there a chance older CI could update to AppStream 0.16.4, potentially? That would also resolve it without introducing any breaking changes. |
Let's close this. I see it is being discussed and resolved on the KDE side https://invent.kde.org/packaging/flatpak-kde-applications/-/issues/5 The original issue in the title is solved anyways. |
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: - flathub/org.kde.kdenlive#329 - flathub-infra/flatpak-builder-lint#274 - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer - https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name
Since AppStream 1.0 release (https://github.com/ximion/appstream/blob/edb25f166d43df9a489c26ef78548bb37b730981/NEWS#L76), the
developer_name
tag is now deprecated and replaced bydeveloper
.The linter currently only checks for the
developer_name
tag:flatpak-builder-lint/flatpak_builder_lint/appstream.py
Line 39 in 7105a96
The text was updated successfully, but these errors were encountered: