Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gnome-software gnome-software
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 189
    • Issues 189
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnome-softwaregnome-software
  • Merge requests
  • !1269

flatpak: Allow per-operation interactive state

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Philip Withnall requested to merge pwithnall/gnome-software:1645-flatpak-interactivity into main Mar 04, 2022
  • Overview 3
  • Commits 5
  • Pipelines 1
  • Changes 14

To ensure multiple operations can happen in parallel on the plugin, each with a separate interactivity state, keep two FlatpakInstallation objects around for each GsFlatpak. One is interactive, the other is non-interactive.

Execute interactive operations on the interactive one, and vice-versa.

This is necessary because FlatpakInstallation doesn’t provide a per-method ‘interactive’ argument. It only has a single interactive state for the entire object. That can’t change without significant new API in libflatpak (or API breaks).

Based on work by Milan Crha.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #1645 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1645-flatpak-interactivity