From 4c6f12fa6f40d0768f1cc02c8c5ab8436518d6bc Mon Sep 17 00:00:00 2001 From: Florian Stadler Date: Mon, 9 Dec 2024 10:14:34 +0100 Subject: [PATCH] Add conflict resolution instructions to upstream tool (#1203) Add instructions for running `./upstream.sh check_in` after fixing conflicts during rebase. --- provider-ci/internal/pkg/templates/bridged-provider/upstream.sh | 2 +- provider-ci/test-providers/acme/upstream.sh | 2 +- provider-ci/test-providers/aws/upstream.sh | 2 +- provider-ci/test-providers/cloudflare/upstream.sh | 2 +- provider-ci/test-providers/docker/upstream.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/provider-ci/internal/pkg/templates/bridged-provider/upstream.sh b/provider-ci/internal/pkg/templates/bridged-provider/upstream.sh index 640b83632..ce90039c3 100755 --- a/provider-ci/internal/pkg/templates/bridged-provider/upstream.sh +++ b/provider-ci/internal/pkg/templates/bridged-provider/upstream.sh @@ -286,7 +286,7 @@ rebase() { interactive_flag="--interactive" fi if ! git rebase --onto "${onto}" ${interactive_flag}; then - echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory." + echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory. Once the rebase is complete, run '${original_exec} check_in' to write to commits back to patches." exit 1 fi cd .. diff --git a/provider-ci/test-providers/acme/upstream.sh b/provider-ci/test-providers/acme/upstream.sh index 640b83632..ce90039c3 100755 --- a/provider-ci/test-providers/acme/upstream.sh +++ b/provider-ci/test-providers/acme/upstream.sh @@ -286,7 +286,7 @@ rebase() { interactive_flag="--interactive" fi if ! git rebase --onto "${onto}" ${interactive_flag}; then - echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory." + echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory. Once the rebase is complete, run '${original_exec} check_in' to write to commits back to patches." exit 1 fi cd .. diff --git a/provider-ci/test-providers/aws/upstream.sh b/provider-ci/test-providers/aws/upstream.sh index 640b83632..ce90039c3 100755 --- a/provider-ci/test-providers/aws/upstream.sh +++ b/provider-ci/test-providers/aws/upstream.sh @@ -286,7 +286,7 @@ rebase() { interactive_flag="--interactive" fi if ! git rebase --onto "${onto}" ${interactive_flag}; then - echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory." + echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory. Once the rebase is complete, run '${original_exec} check_in' to write to commits back to patches." exit 1 fi cd .. diff --git a/provider-ci/test-providers/cloudflare/upstream.sh b/provider-ci/test-providers/cloudflare/upstream.sh index 640b83632..ce90039c3 100755 --- a/provider-ci/test-providers/cloudflare/upstream.sh +++ b/provider-ci/test-providers/cloudflare/upstream.sh @@ -286,7 +286,7 @@ rebase() { interactive_flag="--interactive" fi if ! git rebase --onto "${onto}" ${interactive_flag}; then - echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory." + echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory. Once the rebase is complete, run '${original_exec} check_in' to write to commits back to patches." exit 1 fi cd .. diff --git a/provider-ci/test-providers/docker/upstream.sh b/provider-ci/test-providers/docker/upstream.sh index 640b83632..ce90039c3 100755 --- a/provider-ci/test-providers/docker/upstream.sh +++ b/provider-ci/test-providers/docker/upstream.sh @@ -286,7 +286,7 @@ rebase() { interactive_flag="--interactive" fi if ! git rebase --onto "${onto}" ${interactive_flag}; then - echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory." + echo "Rebase failed. Please resolve the conflicts and run 'git rebase --continue' in the upstream directory. Once the rebase is complete, run '${original_exec} check_in' to write to commits back to patches." exit 1 fi cd ..