From a71d550860e68be2b177d9016fe0227f1a547269 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 23 Feb 2017 18:01:28 -0500 Subject: [PATCH] man/repo-config: Document mirrorlist We should get more strict about docs. Add some text about `contenturl` and mirrorlists. Closes: #709 Approved by: jlebon --- man/ostree.repo-config.xml | 40 ++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/man/ostree.repo-config.xml b/man/ostree.repo-config.xml index b4c276df..d187f89f 100644 --- a/man/ostree.repo-config.xml +++ b/man/ostree.repo-config.xml @@ -127,10 +127,16 @@ Boston, MA 02111-1307, USA. url - Must be present; declares URL for accessing - this remote. The only supported schemes are the moment are - file, http, and - https. + Must be present; declares URL for accessing metadata and + content for remote. See also contenturl. The + supported schemes are documented below. + + + + contenturl + Declares URL for accessing content (filez, static delta + parts). When specified, url is used just for + metadata: summary, static delta "superblocks". @@ -201,6 +207,32 @@ Boston, MA 02111-1307, USA. + + Repository url/contenturl + + Originally, OSTree had just a url option + for remotes. Since then, the contenturl + option was introduced. Both of these support + file, http, and + https schemes. + + + Additionally, both of these can be prefixed with the string + mirrorlist=, which instructs the client + that the target url is a "mirrorlist" format, which is + a plain text file of newline-separated URLs. Earlier + URLs will be given precedence. + + + Note that currently, the tls-ca-path and + tls-client-cert-path options apply to every HTTP + request, even when contenturl and/or + mirrorlist are in use. This may change in the future to + only apply to metadata (i.e. url, not + contenturl) fetches. + + + Per-remote GPG keyrings and verification