Skip to content

Add flatpak remote support#1348

Merged
Fizzadar merged 3 commits intopyinfra-dev:3.xfrom
Griffoen:Add-flatpak-remote-support
May 13, 2025
Merged

Add flatpak remote support#1348
Fizzadar merged 3 commits intopyinfra-dev:3.xfrom
Griffoen:Add-flatpak-remote-support

Conversation

@Griffoen
Copy link
Contributor

@Griffoen Griffoen commented Apr 28, 2025

When trying to automate the setup of a new fedora workstation install, the flatpak.packages operation failed since it did not handle the presence of multiple remotes to install from (flathub and fedora).

I have added the ability to set a remote to install from to the operation flatpak.packages

This resolves #1346

This is the first time I'm contributing on GitHub, so please tell me if there is anything I've missed.

Before pyinfra @local flatpak.packages org.libreoffice.LibreOffice -yvv failed,
But now with pyinfra @local flatpak.packages org.libreoffice.LibreOffice remote=flathub -yvv it installs properly.

(Note: This is the same pull request as before, it closed the old one since I renamed the branch)

Copy link
Member

@Fizzadar Fizzadar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Griffoen this is great, thank you for the PR (and congratulations on your first GitHub PR :))!

@Fizzadar Fizzadar merged commit 2b4fb98 into pyinfra-dev:3.x May 13, 2025
59 checks passed
@Griffoen Griffoen deleted the Add-flatpak-remote-support branch June 13, 2025 19:13
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.

flatpak.packages does not handle multiple remotes capable of providing a package

2 participants