Repository navigation
Fix uninstall unused versions - #3093
Closed
alexlarsson wants to merge 2 commits into
Closed
alexlarsson wants to merge 2 commits into
alexlarsson wants to merge 2 commits into
Conversation
This puts the checksum autoptr in the inner scope of the loop where it gets assigned to avoid leaking all but the last iteration value.
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs. The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related). Fixes #3004
Contributor
|
Would be nice if find_local_related and find_remote_related could share more code, but maybe that's a challenge for another time. |
Contributor
|
📌 Commit 41abcdf has been approved by |
|
⚡ Test exempted: pull fully rebased and already tested. |
rh-atomic-bot
pushed a commit
that referenced
this pull request
Sep 10, 2019
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs. The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related). Fixes #3004 Closes: #3093 Approved by: mwleeds
alexlarsson
added a commit
to alexlarsson/flatpak
that referenced
this pull request
Sep 18, 2019
This puts the checksum autoptr in the inner scope of the loop where it gets assigned to avoid leaking all but the last iteration value. Closes: flatpak#3093 Approved by: mwleeds (cherry picked from commit ca72dd5)
alexlarsson
added a commit
to alexlarsson/flatpak
that referenced
this pull request
Sep 18, 2019
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs. The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related). Fixes flatpak#3004 Closes: flatpak#3093 Approved by: mwleed (manually cherry-picked from commit e4b1d16)
rh-atomic-bot
pushed a commit
that referenced
this pull request
Sep 18, 2019
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs. The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related). Fixes #3004 Closes: #3093 Approved by: mwleed (manually cherry-picked from commit e4b1d16) Closes: #3111 Approved by: alexlarsson
alexlarsson
added a commit
that referenced
this pull request
Sep 18, 2019
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs. The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related). Fixes #3004 Closes: #3093 Approved by: mwleed (manually cherry-picked from commit e4b1d16)
alexlarsson
added a commit
to alexlarsson/flatpak
that referenced
this pull request
Sep 19, 2019
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs. The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related). Fixes flatpak#3004 Closes: flatpak#3093 Approved by: mwleed (manually cherry-picked from commit aa7b62a)
rh-atomic-bot
pushed a commit
that referenced
this pull request
Sep 19, 2019
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs. The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related). Fixes #3004 Closes: #3093 Approved by: mwleed (manually cherry-picked from commit aa7b62a) Closes: #3115 Approved by: alexlarsson
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handle 'versions' key when finding local related ref
We were only handling the old single-value 'version' key, even though we handled the 'versions' key when finding remote related refs.
The result of this was that some extensions, such as the 19.08 opengl default one was installed by default (as it was found as remote related) yet still removed with --unused (as it was not locally related).
Fixes #3004