From e7e6215ae3531534fc6b2d1cf5fe871a9137197f Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 30 Mar 2014 19:32:50 -0400 Subject: [PATCH] doc: Add ostree.repo and ostree.repo-config manual pages In particular I wanted to document gpg-verify. --- doc/Makefile.am | 4 +- doc/ostree.repo-config.xml | 123 +++++++++++++++++++++++++++++++++++++ doc/ostree.repo.xml | 94 ++++++++++++++++++++++++++++ 3 files changed, 220 insertions(+), 1 deletion(-) create mode 100644 doc/ostree.repo-config.xml create mode 100644 doc/ostree.repo.xml diff --git a/doc/Makefile.am b/doc/Makefile.am index edb04843..40fa5620 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -108,7 +108,7 @@ include $(top_srcdir)/gtk-doc.make man1_MANS = if ENABLE_GTK_DOC -man1_MANS += ostree.1 +man1_MANS += ostree.1 ostree.repo.5 ostree.repo-config.5 XSLTPROC_FLAGS = \ --nonet \ @@ -123,6 +123,8 @@ XSLTPROC_MAN = \ .xml.1: $(AM_V_GEN) $(XSLTPROC_MAN) $< +.xml.5: + $(AM_V_GEN) $(XSLTPROC_MAN) $< endif # ENABLE_GTK_DOC diff --git a/doc/ostree.repo-config.xml b/doc/ostree.repo-config.xml new file mode 100644 index 00000000..07244d03 --- /dev/null +++ b/doc/ostree.repo-config.xml @@ -0,0 +1,123 @@ + + + + + + + + + ostree.repo-config + OSTree + + + + Developer + Colin + Walters + walters@verbum.org + + + + + + ostree.repo-config + 5 + + + + ostree.repo-config + OSTree repository configuration + + + + Description + + + The config file in an OSTree + repository is a "keyfile" in the XDG + Desktop Entry Specification format. It has + several global flags, as well as zero or more remote + entries which describe how to access remote + repositories. + + + + See ostree.repo5 for more information + about OSTree repositories. + + + + + [core] Section Options + + + Repository-global options. The following entries are defined: + + + + + mode + One of bare or archive-z2. + + + + repo_version + Currently, this must be set to 1. + + + + + + [remote "name"] Section Options + + + Describes a remote repository location. + + + + + url + Must be present; declares URL for accessing + this remote. The only supported schemes are the moment are + file, http, and + https. + + + + gpg-verify + A boolean value, defaults to true. + Controls whether or not OSTree will require commits to be + signed by a known GPG key. For more information, see the + ostree1 + manual under GPG. + + + + + + + See Also + + ostree1, ostree.repo5 + + + diff --git a/doc/ostree.repo.xml b/doc/ostree.repo.xml new file mode 100644 index 00000000..eb9e3292 --- /dev/null +++ b/doc/ostree.repo.xml @@ -0,0 +1,94 @@ + + + + + + + + + ostree.repo + OSTree + + + + Developer + Colin + Walters + walters@verbum.org + + + + + + ostree.repo + 5 + + + + ostree.repo + OSTree repository configuration and layout + + + + Description + + + An OSTree repository is structurally similar to a + git repository; it is a content-addressed object + store containing filesystem trees. However, unlike + git, ostree is designed to store operating system + binaries. It records the Unix uid and gid, + permissions, as well as extended attributes. + + + + A repository can be in one of two modes; + bare, which is designed as a hard + link source for operating system checkouts, and + archive-z2, which is designed for + static HTTP servers. + + + + There is a system repository located at + /ostree/repo. If no repository + is specified, the ostree as well + as many API calls will use it by default. + + + + + Components of a repository + + + The only user-editable component is the + config file. For more + information, see ostree.repo-config5. + + + + + See Also + + ostree1, ostree.repo-config1 + + +