How inaciops/fedora-store works
Fedora Store is a GTK4/libadwaita desktop package browser and installer. The main workflow is: a user explores package sources, reviews package details and an operation plan, then applies the change with system authorization; the interface reflects the resulting state. The README also documents installed-package and update views, local RPM installation, background operation, and application updates. The application is largely orchestrated in app.py, with repo.py integrating package tools and remote catalogs and catalog.py defining the package model. Source excerpts are partial, so some subsystem links rely on README statements rather than inspected implementation details.
Main entry points: app.py Application UI · repo.py DNF queries and plans · __main__.py App entry point · catalog.py Package model
Components 21
Desktop interface
- App entry point
fedora_store/__main__.py - Application UI
fedora_store/app.py - Navigation and settings
fedora_store/app.py
Package workflows
- Explore catalog
fedora_store/app.py - Package model
fedora_store/catalog.py - Installed and updates
fedora_store/app.py - Transaction review
fedora_store/app.py - Local RPM workflow
fedora_store/app.py
Sources and system
- DNF queries and plans
fedora_store/repo.py - Privileged operations
fedora_store/repo.py - COPR discovery
fedora_store/repo.py - Flatpak catalog
fedora_store/repo.py - Terra source
fedora_store/app.py - DNF system
- Polkit authorization
- Copr API
- Flathub
Background features
- Tray and autostart
fedora_store/app.py - App release updates
fedora_store/app.py - Release service
Other components
- User
Connections 20
- User → App entry point: launches
README.md - App entry point → Application UI: starts
fedora_store/__main__.py - User → Application UI: uses
README.md - Application UI → Package model: uses model
fedora_store/app.py - Application UI → DNF queries and plans: loads package data
fedora_store/app.py - Explore catalog → COPR discovery: searches
fedora_store/app.py - COPR discovery → Copr API: queries
fedora_store/repo.py - Explore catalog → Flatpak catalog: loads catalog
fedora_store/app.py - Flatpak catalog → Flathub: fetches metadata
fedora_store/repo.py - Navigation and settings → Terra source: enables source
fedora_store/app.py - Installed and updates → DNF queries and plans: checks packages
fedora_store/app.py - Transaction review → DNF queries and plans: previews transaction
README.md - Transaction review → Privileged operations: applies operation
README.md - Local RPM workflow → DNF queries and plans: installs RPM
README.md - Privileged operations → DNF system: runs commands
fedora_store/repo.py - Privileged operations → Polkit authorization: requests authorization
README.md - Application UI → Tray and autostart: supports
README.md - Tray and autostart → User: notifies updates
README.md - Application UI → App release updates: checks releases
fedora_store/app.py - App release updates → Release service: fetches release