mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-10 05:18:30 +03:00
1d6347fe97
This commit disables searching on the local network for refs, unless explicitly requested by the user either by changing the value of the "core.repo-finders" config option, or by passing an OstreeRepoFinderAvahi to ostree_repo_find_remotes_async() / ostree_repo_finder_resolve_async(), or by specifying "lan" in the --finders option of the find-remotes command. The primary reason for this is that ostree_repo_find_remotes_async() takes about 40% longer to complete with the LAN finder enabled, and that API is used widely (e.g. in every flatpak operation). It's also probable that some users don't want ostree doing potentially unexpected traffic on the local network, even though everything pulled from a peer is GPG verified. Flathub will soon deploy collection IDs to everyone[1] so these code paths will soon see a lot more use and that's why this change is being made now. Endless is the only potential user of the LAN updates feature, and we can revert this patch on our fork of ostree. For it to be used outside Endless OS we will need to upstream eos-updater-avahi and eos-update-server into ostree. [1] https://github.com/flathub/flathub/issues/676 Closes: #1758 Approved by: cgwalters |
||
---|---|---|
.. | ||
ostree-admin-cleanup.xml | ||
ostree-admin-config-diff.xml | ||
ostree-admin-deploy.xml | ||
ostree-admin-init-fs.xml | ||
ostree-admin-instutil.xml | ||
ostree-admin-os-init.xml | ||
ostree-admin-pin.xml | ||
ostree-admin-set-origin.xml | ||
ostree-admin-status.xml | ||
ostree-admin-switch.xml | ||
ostree-admin-undeploy.xml | ||
ostree-admin-unlock.xml | ||
ostree-admin-upgrade.xml | ||
ostree-admin.xml | ||
ostree-cat.xml | ||
ostree-checkout.xml | ||
ostree-checksum.xml | ||
ostree-commit.xml | ||
ostree-config.xml | ||
ostree-create-usb.xml | ||
ostree-diff.xml | ||
ostree-export.xml | ||
ostree-find-remotes.xml | ||
ostree-fsck.xml | ||
ostree-gpg-sign.xml | ||
ostree-init.xml | ||
ostree-log.xml | ||
ostree-ls.xml | ||
ostree-prune.xml | ||
ostree-pull-local.xml | ||
ostree-pull.xml | ||
ostree-refs.xml | ||
ostree-remote.xml | ||
ostree-reset.xml | ||
ostree-rev-parse.xml | ||
ostree-show.xml | ||
ostree-static-delta.xml | ||
ostree-summary.xml | ||
ostree-trivial-httpd.xml | ||
ostree.repo-config.xml | ||
ostree.repo.xml | ||
ostree.xml | ||
rofiles-fuse.xml |