ostree/man
Matthew Leeds 1d6347fe97 lib/repo-pull: Disable LAN updates by default
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
2018-10-21 19:11:43 +00:00
..
ostree-admin-cleanup.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-config-diff.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-deploy.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-init-fs.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-instutil.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-os-init.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-pin.xml sysroot: Add concept of deployment "pinning" 📌 2018-02-26 19:06:59 +00:00
ostree-admin-set-origin.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-status.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-switch.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-undeploy.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-unlock.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-upgrade.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin.xml admin: Fix list of subcommands in help and manpage 2018-06-12 14:36:24 +00:00
ostree-cat.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-checkout.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-checksum.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-commit.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-config.xml man/config: Keep cmdsynopsis for GROUP.KEY version 2018-08-21 10:36:12 +00:00
ostree-create-usb.xml man/create-usb: Don't recommend summary updates 2018-10-02 15:49:42 +00:00
ostree-diff.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-export.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-find-remotes.xml Make P2P API public (no longer experimental) 2018-06-04 19:20:10 +00:00
ostree-fsck.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-gpg-sign.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-init.xml man/ostree-init: Briefly describe various modes 2018-04-30 17:58:38 +00:00
ostree-log.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-ls.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-prune.xml docs/prune: Document that --static-deltas-only isn't that useful 2018-03-06 14:02:32 +00:00
ostree-pull-local.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-pull.xml ostree/pull: Add network-retries command line option 2018-07-05 17:59:09 +00:00
ostree-refs.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-remote.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-reset.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-rev-parse.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-show.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-static-delta.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-summary.xml Make P2P API public (no longer experimental) 2018-06-04 19:20:10 +00:00
ostree-trivial-httpd.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree.repo-config.xml lib/repo-pull: Disable LAN updates by default 2018-10-21 19:11:43 +00:00
ostree.repo.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree.xml Make P2P API public (no longer experimental) 2018-06-04 19:20:10 +00:00
rofiles-fuse.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00