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

appstream: Require that appstream IDs match $FLATPAK_ID #348

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

bbhtt
Copy link
Contributor

@bbhtt bbhtt commented Mar 27, 2024

For historical reasons flatpak-builder passes ``$FLATPAK_ID.desktop` as a valid component ID to appstreamcli. This mismatch creates issues like the one described in flatpak/flatpak#5752 and flathub/flathub#4222

So require that both match and avoid new submissions leaking in with a mismatch.

@bbhtt
Copy link
Contributor Author

bbhtt commented Mar 27, 2024

This is a breaking change, we need to put exceptions for everything listed in flathub/flathub#4222 (comment)

@bbhtt bbhtt force-pushed the require-matching-apstream-cid branch from 52331c6 to 65f73ac Compare March 28, 2024 04:18
@bbhtt bbhtt added the exceptions Request to add exceptions label Mar 28, 2024
@bbhtt
Copy link
Contributor Author

bbhtt commented Mar 28, 2024

Should be ready now

@bbhtt bbhtt removed the exceptions Request to add exceptions label Mar 28, 2024
@bbhtt bbhtt force-pushed the require-matching-apstream-cid branch 4 times, most recently from 2f01776 to e27f8d7 Compare April 1, 2024 12:51
For historical reasons flatpak-builder passes ``$FLATPAK_ID.desktop`
as a valid component ID to appstreamcli. This mismatch creates issues
like the one described in flatpak/flatpak#5752
and flathub/flathub#4222

So require that both match and avoid new submissions leaking in with a
mismatch.
for apps that predated this rule

Add appstream-id-mismatch-flatpak-id to known exceptions in validator.py
@bbhtt bbhtt force-pushed the require-matching-apstream-cid branch from e27f8d7 to 80f026d Compare April 5, 2024 00:58
@bbhtt bbhtt merged commit 5511403 into flathub-infra:master Apr 5, 2024
2 checks passed
@bbhtt bbhtt deleted the require-matching-apstream-cid branch April 5, 2024 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant