Repository navigation
Background checks - #2367
Closed
matthiasclasen wants to merge 3 commits into
Closed
Background checks#2367matthiasclasen wants to merge 3 commits into
matthiasclasen wants to merge 3 commits into
Conversation
Collaborator
Author
|
See #2370 for the missing system-helper flags |
matthiasclasen
force-pushed
the
background-checks
branch
3 times, most recently
from
December 2, 2018 01:05
f4c46e9 to
0ab75eb
Compare
This comment has been minimized.
This comment has been minimized.
matthiasclasen
force-pushed
the
background-checks
branch
2 times, most recently
from
December 3, 2018 19:32
f10e419 to
befc42d
Compare
|
☔ The latest upstream changes (presumably #2386) made this pull request unmergeable. Please resolve the merge conflicts. |
Add a new 'no-interaction' flag to all system-helper methods that have flags, and don't allow polkit user interaction if it is set. This will let tools like GNOME Software do automatic updates in the background without interrupting the user with dialogs. For methods that don't have flags, we always allow user interaction.
Allow to mark a FlatpakDir as no-interaction, which will get passed to the system helper to prevent it from presenting polkit dialogs. We make this a property on the object since the alternative would require plumbing the flag through tons of API all over the code.
Allow to mark a FlatpakInstallation as no-interaction, which will get passed to the system helper to prevent it from presenting polkit dialogs. We make this a property on the object, since not all relevant methods have flags that would let us pass this information.
matthiasclasen
force-pushed
the
background-checks
branch
from
December 5, 2018 03:23
befc42d to
5672e09
Compare
Member
|
Looks good to me. |
|
📌 Commit 5672e09 has been approved by |
rh-atomic-bot
pushed a commit
that referenced
this pull request
Dec 5, 2018
Allow to mark a FlatpakDir as no-interaction, which will get passed to the system helper to prevent it from presenting polkit dialogs. We make this a property on the object since the alternative would require plumbing the flag through tons of API all over the code. Closes: #2367 Approved by: alexlarsson
rh-atomic-bot
pushed a commit
that referenced
this pull request
Dec 5, 2018
Allow to mark a FlatpakInstallation as no-interaction, which will get passed to the system helper to prevent it from presenting polkit dialogs. We make this a property on the object, since not all relevant methods have flags that would let us pass this information. Closes: #2367 Approved by: alexlarsson
|
☀️ Test successful - status-papr |
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.
Clamp down on polkit dialogs, and make system-helper things work on the console by adding a fallback authentication agent.