mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-20 08:00:18 -04:00
We should not require a collection ID to be set for this to actually be optional. Doing so will make us require a network connection for flatpak installs and updates even in case we already have the requested ref available. A use-case that breaks is pulling a ref beforehand (e.g. using ostree pull, or flatpak with FLATPAK_INSTALL_FLAGS_NO_DEPLOY), and later deploying it explicitly at a time when network is not available anymore (e.g. during boot time), using FLATPAK_INSTALL_FLAGS_NO_PULL. This also means that creating a FlatpakRemoteState object for a disabled remote no longer causes an error as long as the summary is optional, so installing .flatpak bundles works again. Fixes https://github.com/flatpak/flatpak/issues/1636 Closes: #1637 Approved by: alexlarsson