Blame man/ostree-summary.xml

rpm-build 0fba15
 
rpm-build 0fba15
rpm-build 0fba15
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
rpm-build 0fba15
rpm-build 0fba15
rpm-build 0fba15
Copyright 2014 Colin Walters <walters@verbum.org>
rpm-build 0fba15
rpm-build 0fba15
SPDX-License-Identifier: LGPL-2.0+
rpm-build 0fba15
rpm-build 0fba15
This library is free software; you can redistribute it and/or
rpm-build 0fba15
modify it under the terms of the GNU Lesser General Public
rpm-build 0fba15
License as published by the Free Software Foundation; either
rpm-build 0fba15
version 2 of the License, or (at your option) any later version.
rpm-build 0fba15
rpm-build 0fba15
This library is distributed in the hope that it will be useful,
rpm-build 0fba15
but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 0fba15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rpm-build 0fba15
Lesser General Public License for more details.
rpm-build 0fba15
rpm-build 0fba15
You should have received a copy of the GNU Lesser General Public
rpm-build 0fba15
License along with this library; if not, write to the
rpm-build 0fba15
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
rpm-build 0fba15
Boston, MA 02111-1307, USA.
rpm-build 0fba15
-->
rpm-build 0fba15
rpm-build 0fba15
<refentry id="ostree">
rpm-build 0fba15
rpm-build 0fba15
    <refentryinfo>
rpm-build 0fba15
        <title>ostree summary</title>
rpm-build 0fba15
        <productname>OSTree</productname>
rpm-build 0fba15
rpm-build 0fba15
        <authorgroup>
rpm-build 0fba15
            <author>
rpm-build 0fba15
                <contrib>Developer</contrib>
rpm-build 0fba15
                <firstname>Colin</firstname>
rpm-build 0fba15
                <surname>Walters</surname>
rpm-build 0fba15
                <email>walters@verbum.org</email>
rpm-build 0fba15
            </author>
rpm-build 0fba15
        </authorgroup>
rpm-build 0fba15
    </refentryinfo>
rpm-build 0fba15
rpm-build 0fba15
    <refmeta>
rpm-build 0fba15
        <refentrytitle>ostree summary</refentrytitle>
rpm-build 0fba15
        <manvolnum>1</manvolnum>
rpm-build 0fba15
    </refmeta>
rpm-build 0fba15
rpm-build 0fba15
    <refnamediv>
rpm-build 0fba15
        <refname>ostree-summary</refname>
rpm-build 0fba15
        <refpurpose>Regenerate or view the summary metadata file</refpurpose>
rpm-build 0fba15
    </refnamediv>
rpm-build 0fba15
rpm-build 0fba15
    <refsynopsisdiv>
rpm-build 0fba15
            <cmdsynopsis>
rpm-build 0fba15
                <command>ostree summary</command> <arg choice="opt">--gpg-sign=KEYID</arg> <arg choice="opt">--gpg-homedir=HOMEDIR</arg> <arg choice="opt">--sign=KEYID</arg> <arg choice="opt">--sign-type=ENGINE</arg> <arg choice="req">--update</arg> <arg choice="opt" rep="repeat">--add-metadata=<replaceable>KEY</replaceable>=<replaceable>VALUE</replaceable></arg>
rpm-build 0fba15
            </cmdsynopsis>
rpm-build 0fba15
rpm-build 0fba15
            <cmdsynopsis>
rpm-build 0fba15
                <command>ostree summary</command> <group choice="req"><arg choice="plain">--view</arg><arg choice="plain">--raw</arg></group>
rpm-build 0fba15
            </cmdsynopsis>
rpm-build 0fba15
    </refsynopsisdiv>
rpm-build 0fba15
rpm-build 0fba15
    <refsect1>
rpm-build 0fba15
        <title>Description</title>
rpm-build 0fba15
rpm-build 0fba15
        <para>
rpm-build 0fba15
	  The <filename>summary</filename> file is an optional higher
rpm-build 0fba15
	  level form of repository metadata that describes the
rpm-build 0fba15
	  available branches.  It needs to be manually regenerated after
rpm-build 0fba15
	  a series of commits.  Among other things, this allows atomically
rpm-build 0fba15
	  updating multiple commits.
rpm-build 0fba15
        </para>
rpm-build 0fba15
    </refsect1>
rpm-build 0fba15
rpm-build 0fba15
    <refsect1>
rpm-build 0fba15
        <title>Options</title>
rpm-build 0fba15
rpm-build 0fba15
        <variablelist>
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--update</option>,<option>-u</option></term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                        Update the summary file. This option can be combined
rpm-build 0fba15
                        with <option>--add-metadata</option> to add metadata
rpm-build 0fba15
                        fields to the summary.
rpm-build 0fba15
                    </para>
rpm-build 0fba15
rpm-build 0fba15
                <para>If the repository has a collection ID configured, the
rpm-build 0fba15
                  <filename>ostree-metadata</filename> branch for that collection ID
rpm-build 0fba15
                  will also be updated with a new commit containing the given metadata,
rpm-build 0fba15
                  which will be signed if the summary file is signed.</para>
rpm-build 0fba15
rpm-build 0fba15
                </listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--add-metadata</option>,<option>-m</option>=KEY=VALUE</term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    Specify an additional metadata field to add to the summary.
rpm-build 0fba15
                    It must be in the format
rpm-build 0fba15
                    <command><replaceable>KEY</replaceable>=<replaceable>VALUE</replaceable></command>
rpm-build 0fba15
                    or as two separate arguments. The keys must be namespaced
rpm-build 0fba15
                    for your organisation or repository using a dot prefix. The
rpm-build 0fba15
                    values must be in GVariant text format. For example,
rpm-build 0fba15
                    <command>exampleos.end-of-life "@t 1445385600"</command>.
rpm-build 0fba15
                    This option can be used multiple times.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--view</option>,<option>-v</option></term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    View the contents of the summary file in a human readable format.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--raw</option></term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    View the raw bytes of the summary file.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--gpg-sign</option>=KEYID</term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    GPG Key ID to sign the summary with.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--gpg-homedir</option>=HOMEDIR</term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    GPG Homedir to use when looking for keyrings.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--sign-type</option>=ENGINE</term>
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    Use particular signature engine. Currently
rpm-build 0fba15
                    available <arg choice="plain">ed25519</arg> and <arg choice="plain">dummy</arg>
rpm-build 0fba15
                    signature types.
rpm-build 0fba15
rpm-build 0fba15
                    The default is <arg choice="plain">ed25519</arg>.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--sign</option>="KEY-ID"</term>
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                        There <literal>KEY-ID</literal> is:
rpm-build 0fba15
                        <variablelist>
rpm-build 0fba15
                            <varlistentry>
rpm-build 0fba15
                                <term><option>for ed25519:</option></term>
rpm-build 0fba15
                                <listitem><para>
rpm-build 0fba15
                                        <literal>base64</literal>-encoded secret key for commit signing.
rpm-build 0fba15
                                </para></listitem>
rpm-build 0fba15
                            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
                            <varlistentry>
rpm-build 0fba15
                                <term><option>for dummy:</option></term>
rpm-build 0fba15
                                <listitem><para>
rpm-build 0fba15
                                            ASCII-string used as secret key.
rpm-build 0fba15
                                </para></listitem>
rpm-build 0fba15
                            </varlistentry>
rpm-build 0fba15
                        </variablelist>
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
        </variablelist>
rpm-build 0fba15
    </refsect1>
rpm-build 0fba15
rpm-build 0fba15
    <refsect1>
rpm-build 0fba15
        <title>Examples</title>
rpm-build 0fba15
        <para><command>$ ostree summary -u</command></para>
rpm-build 0fba15
        <para><command>$ ostree summary -u -m key="'value'"</command></para>
rpm-build 0fba15
        <para><command>$ ostree summary -v</command></para>
rpm-build 0fba15
<programlisting>
rpm-build 0fba15
* ostree/1/1/0
rpm-build 0fba15
    Latest Commit (4.2 MB):
rpm-build 0fba15
      9828ab80f357459b4ab50f0629beab2ae3b67318fc3d161d10a89fae353afa90
rpm-build 0fba15
    Timestamp (ostree.commit.timestamp): 2017-11-21T01:41:10-08
rpm-build 0fba15
rpm-build 0fba15
Last-Modified (ostree.summary.last-modified): 2018-01-12T22:06:38-08
rpm-build 0fba15
</programlisting>
rpm-build 0fba15
    </refsect1>
rpm-build 0fba15
</refentry>