Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport 49e8bfce "system-helper: Fix deploys of local remotes" to 1.10.x #4344

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

smcv
Copy link
Collaborator

@smcv smcv commented Jul 20, 2021

Tested-by: Milan Crha

@smcv
Copy link
Collaborator Author

smcv commented Jul 20, 2021

A more minimal version of this would be to avoid the GMainLoop refactoring, and just backport 49e8bfc, which Milan Crha already verified on the GNOME issue.

For updates in remotes with a local (file:) uri we just do a deploy
with a LOCAL_PULL flag set and an empty arg_repo_path. However, our
arg_repo_path checking at some point seemed to stop properly handling
the case where it is empty. I got it to report "No such file" wich
broke the tests.

(cherry picked from commit 49e8bfc)

Fixes: flatpak#4339
@smcv smcv changed the title Backport #4183 to 1.10.x Backport 49e8bfce "system-helper: Fix deploys of local remotes" to 1.10.x Jul 20, 2021
@smcv
Copy link
Collaborator Author

smcv commented Jul 20, 2021

I've gone with the more minimal version. We can backport the rest of #4183 if it genuinely solves a problem, but I think it was more of a cleanup then a genuine fix.

@mcatanzaro
Copy link
Collaborator

I've gone with the more minimal version. We can backport the rest of #4183 if it genuinely solves a problem, but I think it was more of a cleanup then a genuine fix.

I've verified the issue is broken before and fixed by this downstream backport, which looks identical to your PR here. So this is probably good.

@smcv smcv merged commit c8b9069 into flatpak:flatpak-1.10.x Jul 20, 2021
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.

None yet

3 participants