Skip to content

Introduce ComponentStore - #2457

Merged
leolost2605 merged 1 commit into
mainfrom
leolost/introduce-component-store
Nov 17, 2026
Merged

leolost2605 merged 1 commit into
mainfrom
leolost/introduce-component-store

Conversation

@leolost2605

Copy link
Copy Markdown
Member

This is basically a code shuffle. It moves the component map and the component listmodel to a separate class ComponentStore. This is motivated by two things:

  • Reduce the scope of the FlatpakBackend. I want to move it more towards only handling jobs etc. and less managing packages.
  • Things like getting packages for an author etc. can be optimized with the components. Stuff like this doesn't require anything from flatpakbackend so IMO it makes more sense and would be a lot cleaner to have it in a separate class.

@leolost2605
leolost2605 requested a review from a team November 16, 2026 13:00
This is basically a code shuffle. It moves the component map
and the component listmodel to a separate class `ComponentStore`.
This is motivated by two things:
- Reduce the scope of the FlatpakBackend. I want to move it more
towards only handling jobs etc. and less managing packages.
- Things like getting packages for an author etc. can be optimized
with the components. Stuff like this doesn't require anything
from flatpakbackend so IMO it makes more sense and would be a lot
cleaner to have it in a separate class.
@leolost2605
leolost2605 force-pushed the leolost/introduce-component-store branch from e49ec93 to 4718b52 Compare November 17, 2026 07:10
@leolost2605
leolost2605 merged commit 4241077 into main Nov 17, 2026
4 checks passed
@leolost2605
leolost2605 deleted the leolost/introduce-component-store branch November 17, 2026 07:14
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.

2 participants