summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDan Nicholson <dbn@endlessos.org>2020-12-17 14:07:08 -0700
committerDan Nicholson <dbn@endlessos.org>2020-12-17 14:07:08 -0700
commit4db2ba0eb1576cbf7bd5bfc0137af1073d007cd5 (patch)
treeffb76631c8ba6c660f4948167caf5338f1a65cda /man
parent5551c54c6e6eba8145b95bd3b28223f1941a9e8d (diff)
downloadostree-4db2ba0eb1576cbf7bd5bfc0137af1073d007cd5.tar.gz
pull: Allow disabling commit binding verification
In some cases such as backups or mirroring you may want to pull commits from one repo to another even if there commits that have incorrect bindings. Fixing the commits in the source repository to have correct bindings may not be feasible, so provide a pull option to disable verification. For Endless we have several repositories that predate collection IDs and ref bindings. Later these repositories gained collection IDs to support the features they provide and ref bindings as the ostree tooling was upgraded. These repositories contain released commits that were valid to the clients they were targeting at the time. Correcting the bindings is not really an option as it would mean invalidating the repository history.
Diffstat (limited to 'man')
-rw-r--r--man/ostree-pull-local.xml8
-rw-r--r--man/ostree-pull.xml8
2 files changed, 16 insertions, 0 deletions
diff --git a/man/ostree-pull-local.xml b/man/ostree-pull-local.xml
index 2bfb2b0f..8bbf36a9 100644
--- a/man/ostree-pull-local.xml
+++ b/man/ostree-pull-local.xml
@@ -90,6 +90,14 @@ Boston, MA 02111-1307, USA.
Do not trust source, verify checksums and don't hardlink into source.
</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><option>--disable-verify-bindings</option></term>
+
+ <listitem><para>
+ Disable verification of commit metadata bindings.
+ </para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>
diff --git a/man/ostree-pull.xml b/man/ostree-pull.xml
index 0606f690..593b2d27 100644
--- a/man/ostree-pull.xml
+++ b/man/ostree-pull.xml
@@ -137,6 +137,14 @@ Boston, MA 02111-1307, USA.
Specifies how many times each download should be retried upon error (default: 5)
</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><option>--disable-verify-bindings</option></term>
+
+ <listitem><para>
+ Disable verification of commit metadata bindings.
+ </para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>