-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove --app by flatpak check if already installed (ansible-collectio… #6289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Could you please add a changelog fragment? Thanks.
Is done. |
This comment was marked as outdated.
This comment was marked as outdated.
changelogs/fragments/6289-bugfix-flatpak-check-if-already-installed.yml
Outdated
Show resolved
Hide resolved
…alled.yml Co-authored-by: Felix Fontein <[email protected]>
Looks formally OK to me (I have no flatpak experience). If nobody objects, I'll merge this in a week or so. |
Same here: no flatpack experience to judge that call you're making, but looks good from the ansible perspective. It would be nice to have integration tests for this. |
Have I to do this test and if yes, how? (Sry for this question, but its my first contribute) |
@Svenum not a Have To(TM) for this PR, but it would be a nice addition. It's totally OK if you prefer to defer that to a future PR. About "How?", a quick primer: There are two types of tests you can write as a module developer: unit-tests and integration-tests. Unit tests are found in the Integration tests are found in the |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #6371 🤖 @patchback |
#6289) * Remove --app by flatpak check if already installed (#6265) * Add Changelogfragment * Fix syntax * Update changelogs/fragments/6289-bugfix-flatpak-check-if-already-installed.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 6e0bc4f)
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6372 🤖 @patchback |
#6289) * Remove --app by flatpak check if already installed (#6265) * Add Changelogfragment * Fix syntax * Update changelogs/fragments/6289-bugfix-flatpak-check-if-already-installed.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 6e0bc4f)
…if already installed (ansible-collectio… (#6371) Remove --app by flatpak check if already installed (ansible-collectio… (#6289) * Remove --app by flatpak check if already installed (#6265) * Add Changelogfragment * Fix syntax * Update changelogs/fragments/6289-bugfix-flatpak-check-if-already-installed.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 6e0bc4f) Co-authored-by: Svenum <[email protected]>
…if already installed (ansible-collectio… (#6372) Remove --app by flatpak check if already installed (ansible-collectio… (#6289) * Remove --app by flatpak check if already installed (#6265) * Add Changelogfragment * Fix syntax * Update changelogs/fragments/6289-bugfix-flatpak-check-if-already-installed.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 6e0bc4f) Co-authored-by: Svenum <[email protected]>
SUMMARY
Currently, when installing a Flatpak, the command "flatpak list --[user|system] --app" is used to test whether the package is already installed or not. But since not every package is an app, packages like "org.gtk.Gtk3theme.Matcha-dark-sea" or "org.kde.KStyle.Adwaita" are not listed and are therefore not considered as installed.
Removing the "--app" option fix this.
Fixes #6265
ISSUE TYPE
COMPONENT NAME
flatpak module
ADDITIONAL INFORMATION