2014-06-17 23:24:08 +04:00
<?xml version='1.0'?> <!-- * - nxml - * -->
< !DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<!--
Copyright 2014 Anne LoVerso <anne.loverso @ s t u d e n t s . o l i n . e d u >
2018-01-30 22:26:26 +03:00
SPDX-License-Identifier: LGPL-2.0+
2014-06-17 23:24:08 +04:00
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
2021-12-07 04:20:55 +03:00
License along with this library. If not, see <https: / / w w w . g n u . o r g / l i c e n s e s /> .
2014-06-17 23:24:08 +04:00
-->
<refentry id= "ostree" >
<refentryinfo >
<title > ostree remote</title>
<productname > OSTree</productname>
<authorgroup >
<author >
<contrib > Developer</contrib>
<firstname > Colin</firstname>
<surname > Walters</surname>
<email > walters@verbum.org</email>
</author>
</authorgroup>
</refentryinfo>
<refmeta >
<refentrytitle > ostree remote</refentrytitle>
<manvolnum > 1</manvolnum>
</refmeta>
<refnamediv >
<refname > ostree-remote</refname>
<refpurpose > Control remote repository configuration</refpurpose>
</refnamediv>
<refsynopsisdiv >
<cmdsynopsis >
2014-12-16 18:41:34 +03:00
<command > ostree remote add</command> <arg choice= "opt" rep= "repeat" > OPTIONS</arg> <arg choice= "req" > NAME</arg> <arg choice= "req" > URL</arg> <arg choice= "opt" rep= "repeat" > BRANCH</arg>
2014-11-11 05:28:43 +03:00
</cmdsynopsis>
<cmdsynopsis >
2014-11-29 20:15:21 +03:00
<command > ostree remote delete</command> <arg choice= "req" > NAME</arg>
2014-11-11 05:28:43 +03:00
</cmdsynopsis>
<cmdsynopsis >
2014-11-29 20:15:21 +03:00
<command > ostree remote show-url</command> <arg choice= "req" > NAME</arg>
2014-06-17 23:24:08 +04:00
</cmdsynopsis>
2014-12-16 18:41:34 +03:00
<cmdsynopsis >
<command > ostree remote list</command> <arg choice= "opt" rep= "repeat" > OPTIONS</arg> <arg choice= "req" > NAME</arg>
</cmdsynopsis>
2015-05-01 16:09:42 +03:00
<cmdsynopsis >
<command > ostree remote gpg-import</command> <arg choice= "opt" rep= "repeat" > OPTIONS</arg> <arg choice= "req" > NAME</arg> <arg choice= "opt" rep= "repeat" > KEY-ID</arg>
</cmdsynopsis>
2019-08-13 19:10:50 +03:00
<cmdsynopsis >
2021-08-23 20:09:24 +03:00
<command > ostree remote gpg-list-keys</command> <arg choice= "req" > NAME</arg>
2019-08-13 19:10:50 +03:00
</cmdsynopsis>
2015-06-07 22:20:14 +03:00
<cmdsynopsis >
<command > ostree remote refs</command> <arg choice= "req" > NAME</arg>
</cmdsynopsis>
2015-12-17 02:55:28 +03:00
<cmdsynopsis >
<command > ostree remote summary</command> <arg choice= "opt" rep= "repeat" > OPTIONS</arg> <arg choice= "req" > NAME</arg>
</cmdsynopsis>
2016-10-17 23:47:58 +03:00
<cmdsynopsis >
<command > ostree remote add-cookie</command>
<arg choice= "req" > NAME</arg>
<arg choice= "req" > DOMAIN</arg>
<arg choice= "req" > PATH</arg>
<arg choice= "req" > COOKIE_NAME</arg>
<arg choice= "req" > VALUE</arg>
</cmdsynopsis>
<cmdsynopsis >
<command > ostree remote delete-cookie</command>
<arg choice= "req" > NAME</arg>
<arg choice= "req" > DOMAIN</arg>
<arg choice= "req" > PATH</arg>
<arg choice= "req" > COOKIE_NAME</arg>
<arg choice= "req" > VALUE</arg>
</cmdsynopsis>
<cmdsynopsis >
<command > ostree remote list-cookies</command> <arg choice= "req" > NAME</arg>
</cmdsynopsis>
2014-06-17 23:24:08 +04:00
</refsynopsisdiv>
<refsect1 >
<title > Description</title>
<para >
2016-10-01 18:07:08 +03:00
Changes remote repository configurations. The NAME refers to the name of the remote.
2014-06-17 23:24:08 +04:00
</para>
2017-08-10 16:05:15 +03:00
<para >
The <literal > BRANCH</literal> arguments to the
<command > add</command> subcommand specifies the configured branches
for the remote. See the <literal > branches</literal> section in
<citerefentry > <refentrytitle > ostree.repo-config</refentrytitle> <manvolnum > 5</manvolnum> </citerefentry>
for more information.
</para>
2015-05-01 16:09:42 +03:00
<para >
2019-08-13 19:10:50 +03:00
The <command > gpg-import</command> subcommand can associate GPG
keys to a specific remote repository for use when pulling signed
commits from that repository (if GPG verification is enabled). The
2021-08-23 20:09:24 +03:00
<command > gpg-list-keys</command> subcommand can be used to see the
2019-08-13 19:10:50 +03:00
GPG keys currently associated with a remote repository.
2015-05-01 16:09:42 +03:00
</para>
<para >
The GPG keys to import may be in binary OpenPGP format or ASCII armored. The optional <arg > KEY-ID</arg> list can restrict which keys are imported from a keyring file or input stream. All keys are imported if this list is omitted. If neither <option > --keyring</option> nor <option > --stdin</option> options are given, then keys are imported from the user's personal GPG keyring.
</para>
2016-10-17 23:47:58 +03:00
<para >
The various cookie related command allow management of a remote specific cookie jar.
</para>
2014-06-17 23:24:08 +04:00
</refsect1>
<refsect1 >
2014-12-16 18:41:34 +03:00
<title > 'Add' Options</title>
2014-06-17 23:24:08 +04:00
<variablelist >
<varlistentry >
<term > <option > --set</option> ="KEY=VALUE"</term>
<listitem > <para >
Set config option KEY=VALUE for remote.
</para> </listitem>
</varlistentry>
2017-09-12 23:20:46 +03:00
<varlistentry >
<term > <option > --if-not-exists</option> </term>
<listitem > <para >
Do nothing if the provided remote exists.
</para> </listitem>
</varlistentry>
2017-09-13 01:05:08 +03:00
<varlistentry >
<term > <option > --force</option> </term>
<listitem > <para >
Replace the provided remote if it exists.
</para> </listitem>
</varlistentry>
2014-06-17 23:24:08 +04:00
<varlistentry >
<term > <option > --no-gpg-verify</option> </term>
<listitem > <para >
Disable GPG verification.
</para> </listitem>
</varlistentry>
2015-05-09 16:50:24 +03:00
<varlistentry >
<term > <option > --gpg-import</option> =FILE</term>
<listitem > <para >
Import one or more GPG keys from a file.
</para> <para >
Equivalent to
<command > ostree remote gpg-import --keyring=FILE</command> .
</para> </listitem>
</varlistentry>
2017-06-07 16:50:51 +03:00
<varlistentry >
<term > <option > --collection-id</option> =COLLECTION-ID</term>
<listitem > <para >
Set the collection ID for the remote to a value provided by
the repository owner, which allows refs from this remote to be
shared peer to peer.
</para> </listitem>
</varlistentry>
2014-06-17 23:24:08 +04:00
</variablelist>
</refsect1>
2014-12-16 18:41:34 +03:00
<refsect1 >
<title > 'List' Options</title>
<variablelist >
<varlistentry >
<term > <option > -u, --show-urls</option> </term>
<listitem > <para >
Show remote URLs in list
</para> </listitem>
</varlistentry>
</variablelist>
</refsect1>
2015-05-01 16:09:42 +03:00
<refsect1 >
<title > 'GPG-Import' Options</title>
<variablelist >
<varlistentry >
<term > <option > -k, --keyring</option> =FILE</term>
<listitem > <para >
Import one or more keys from a file.
</para> <para >
This option may be repeated to import from multiple files,
but may not be used in combination with
<option > --stdin</option> .
</para> </listitem>
</varlistentry>
<varlistentry >
<term > <option > --stdin</option> </term>
<listitem > <para >
Import one or more keys from standard input.
</para> <para >
This option may not be used in combination with
<option > --keyring</option> .
</para> </listitem>
</varlistentry>
</variablelist>
</refsect1>
2015-12-17 02:55:28 +03:00
<refsect1 >
<title > 'Summary' Options</title>
<variablelist >
<varlistentry >
<term > <option > --raw</option> </term>
<listitem > <para >
Show raw variant data
</para> </listitem>
</varlistentry>
</variablelist>
</refsect1>
2014-06-17 23:24:08 +04:00
<refsect1 >
<title > Example</title>
<para > <command > $ ostree remote show-url local</command> </para>
2014-11-29 20:15:21 +03:00
<programlisting >
2014-06-17 23:24:08 +04:00
http://192.168.122.1/repo
2014-11-29 20:15:21 +03:00
</programlisting>
2014-06-17 23:24:08 +04:00
</refsect1>
</refentry>