Skip to content

Fix concurrent access to repository

Frederic Danis requested to merge wip/fdanis/7258-fix-app-upload into main

Build fails when installing runtime while a runtime or an app is pushed to the repository. We can't use rsync to upload a runtime or an app.

This download commits from the repository before build, it should be fully downloaded so we can't use --commit-metadata-only of ostree pull.
Then build result is uploaded using ostree-push instead of rsync.
The repository is then updated using flatpak build-update-repo.

Signed-off-by: Frédéric Danis frederic.danis@collabora.com

Edited by Frederic Danis

Merge request reports