Skip to content

feat(managers): add Flatpak package manager support#119

Open
Vishvadharman wants to merge 1 commit into
pie-314:devfrom
Vishvadharman:feature-flatpak-manager
Open

feat(managers): add Flatpak package manager support#119
Vishvadharman wants to merge 1 commit into
pie-314:devfrom
Vishvadharman:feature-flatpak-manager

Conversation

@Vishvadharman

Copy link
Copy Markdown

Description

Implemented Flatpak package manager support for TRX by adding a new FlatpakManager backend that implements the existing PackageManager trait.

Features

  • Added src/managers/flatpak.rs
  • Added Flatpak detection in get_available_managers()
  • Added Flatpak integration in get_system_manager()
  • Implemented package search using:
flatpak search <query>
  • Implemented installed package listing using:
flatpak list --app --columns=application,version
  • Implemented package installation using:
flatpak install -y <app-id>
  • Implemented package removal using:
flatpak uninstall -y <app-id>
  • Implemented update detection using:
flatpak remote-ls --updates
  • Implemented package updates using:
flatpak update -y <app-id>
  • Implemented full system upgrade using:
flatpak update -y
  • Implemented metadata refresh support
  • Added search result caching and details caching consistent with existing managers

Fixes #68

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Manual verification of Flatpak manager integration
  • cargo test

Commands executed:

cargo fmt
cargo check

Checklist

  • My code follows the Coding Guidelines.
  • I have performed a self-review of my own code.
  • I have NOT added useless AI-generated comments.
  • I have NOT deleted existing unrelated comments.
  • I have NOT modified files unrelated to this task.
  • I have included screenshots/recordings (for UI changes).
  • My changes generate no new warnings (clippy/fmt).
  • I have linked the issue I am working on.

Screenshots (if applicable)

N/A – backend package manager implementation.

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

@Vishvadharman is attempting to deploy a commit to the pie's projects Team on Vercel.

A member of the Team first needs to authorize it.

@pie-314

pie-314 commented Jun 5, 2026

Copy link
Copy Markdown
Owner

@Vishvadharman Screenshots/screen recording is applicable also you need to raise pr in dev branch

@Vishvadharman Vishvadharman changed the base branch from main to dev June 5, 2026 07:50
@Vishvadharman

Copy link
Copy Markdown
Author
3

@pie-314 Thanks for the review. I've updated the PR to target the dev branch and added build verification screenshots. Please let me know if any further changes are needed.

@pie-314

pie-314 commented Jun 6, 2026

Copy link
Copy Markdown
Owner

@Vishvadharman Your screenshot shows that, code compiles, it doesn't tell if flatpack is working. You have to upload SS or screen record.
Contribute responsibly.

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.

[Backend] Flatpak Package Manager Implementation

2 participants