Blame man/ostree-prune.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 Anne LoVerso <anne.loverso@students.olin.edu>
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 prune</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 prune</refentrytitle>
rpm-build 0fba15
        <manvolnum>1</manvolnum>
rpm-build 0fba15
    </refmeta>
rpm-build 0fba15
rpm-build 0fba15
    <refnamediv>
rpm-build 0fba15
        <refname>ostree-prune</refname>
rpm-build 0fba15
        <refpurpose>Search for unreachable objects</refpurpose>
rpm-build 0fba15
    </refnamediv>
rpm-build 0fba15
rpm-build 0fba15
    <refsynopsisdiv>
rpm-build 0fba15
            <cmdsynopsis>
rpm-build 0fba15
                <command>ostree prune</command> <arg choice="opt" rep="repeat">OPTIONS</arg>
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
            This searches for unreachable objects in the current repository.  If unreachable objects are found, the command delete them to free space.  If the <option>--no-prune</option> option is invoked, the command will just print unreachable objects and recommend deleting them.
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>--no-prune</option></term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    Only display unreachable objects; don't delete.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--refs-only</option></term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    Only compute reachability via refs.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--delete-commit</option>=COMMIT</term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    Specify a COMMIT to delete.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--keep-younger-than</option>=DATE</term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
		  All commits older than DATE will be
rpm-build 0fba15
                  pruned.  The format of DATE is the same as that
rpm-build 0fba15
                  accepted by GNU <literal>date</literal> utility - for more information
rpm-build 0fba15
                  see <literal>info date</literal>.
rpm-build 0fba15
		</para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--depth</option>=DEPTH</term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                    Only traverse DEPTH (integer) parents for each commit (default: -1=infinite).
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
rpm-build 0fba15
            <varlistentry>
rpm-build 0fba15
                <term><option>--static-deltas-only</option>=DEPTH</term>
rpm-build 0fba15
rpm-build 0fba15
                <listitem><para>
rpm-build 0fba15
                  This option may currently <emphasis>only</emphasis> be used in combination with
rpm-build 0fba15
                  <option>--delete-commit</option>.  Previous versions of ostree silently accepted
rpm-build 0fba15
                  the option without that, and ignored it.  However, there are desired use
rpm-build 0fba15
                  cases for pruning just static deltas (while retaining the commits), and it's
rpm-build 0fba15
                  likely at some point this option will be supported for use cases outside of just
rpm-build 0fba15
                  <option>--delete-commit</option>.
rpm-build 0fba15
                </para></listitem>
rpm-build 0fba15
            </varlistentry>
rpm-build 0fba15
        </variablelist>
rpm-build 0fba15
    </refsect1>
rpm-build 0fba15
rpm-build 0fba15
rpm-build 0fba15
    <refsect1>
rpm-build 0fba15
        <title>Example</title>
rpm-build 0fba15
        <para><command>$ ostree prune</command></para>
rpm-build 0fba15
<programlisting>
rpm-build 0fba15
        Total objects: 25627
rpm-build 0fba15
        No unreachable objects
rpm-build 0fba15
</programlisting>
rpm-build 0fba15
    </refsect1>
rpm-build 0fba15
</refentry>