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.
This commit is contained in:
1 parent
5551c54c6e
commit
4db2ba0eb1
8 files changed
+51
-11
No files matched your search
@@ -849,6 +849,7 @@ _ostree_pull_local() {
|
||||
--gpg-verify-summary
|
||||
--require-static-deltas
|
||||
--untrusted
|
||||
--disable-verify-bindings
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
@@ -904,6 +905,7 @@ _ostree_pull() {
|
||||
--untrusted
|
||||
--bareuseronly-files
|
||||
--dry-run
|
||||
--disable-verify-bindings
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
|
||||
Reference in new issue
Block a user