Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–4 unchanged (4 lines)
5declare -a args
6IFS='/:' read -ra args <<< "$1"
7
8version="${args[1]}"
9connection="${args[2]}"
10connection_setting="${args[3]}"
11group="${args[4]}"
12
13target="shippable/windows/group${group}/"
14
15stage="${S:-prod}"
16provider="${P:-default}"
17
…lines 18–80 unchanged (63 lines)
81 fi
82
83 # shellcheck disable=SC2086
84 ansible-test windows-integration --color -v --retry-on-error "${ci}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
85 --changed-all-target "${changed_all_target}" --changed-all-mode "${changed_all_mode}" \
86 --controller "docker:default,python=${py_version}" \
87 --target "remote:windows/${version},connection=${connection}+${connection_setting},provider=${provider}" \
88 --remote-terminate "${terminate}" --remote-stage "${stage}"
89done
90

After

…lines 1–4 unchanged (4 lines)
5declare -a args
6IFS='/:' read -ra args <<< "$1"
7
8version="${args[1]}"
9connection="${args[2]}"
10connection_setting="${args[3]}"
11powershell="${args[4]}"
12group="${args[5]}"
13
14target="shippable/windows/group${group}/"
15
16stage="${S:-prod}"
17provider="${P:-default}"
18
…lines 19–81 unchanged (63 lines)
82 fi
83
84 # shellcheck disable=SC2086
85 ansible-test windows-integration --color -v --retry-on-error "${ci}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
86 --changed-all-target "${changed_all_target}" --changed-all-mode "${changed_all_mode}" \
87 --controller "docker:default,python=${py_version}" \
88 --target "remote:windows/${version},connection=${connection}+${connection_setting},provider=${provider},powershell=${powershell}" \
89 --remote-terminate "${terminate}" --remote-stage "${stage}"
90done
91

Before

program
comment "#!/usr/bin/env bash"
command
command_name
word "set"
word "-o"
word "pipefail"
word "-eux"
declaration_command
declare "declare"
word "-a"
variable_name "args"
command
variable_assignment
variable_name "IFS"
= "="
raw_string "'/:'"
command_name
word "read"
word "-ra"
word "args"
herestring_redirect
<<< "<<<"
string
" "\""
simple_expansion
$ "$"
variable_name "1"
" "\""
variable_assignment
variable_name "version"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "1"
] "]"
} "}"
" "\""
variable_assignment
variable_name "connection"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "2"
] "]"
} "}"
" "\""
variable_assignment
variable_name "connection_setting"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "3"
] "]"
} "}"
" "\""
variable_assignment
variable_name "group"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "4"
] "]"
} "}"
" "\""
variable_assignment
variable_name "target"
= "="
string
" "\""
string_content "shippable/windows/group"
expansion
${ "${"
variable_name "group"
} "}"
string_content "/"
" "\""
variable_assignment
variable_name "stage"
= "="
string
" "\""
expansion
${ "${"
variable_name "S"
:- ":-"
word "prod"
} "}"
" "\""
variable_assignment
variable_name "provider"
= "="
string
" "\""
expansion
${ "${"
variable_name "P"
:- ":-"
word "default"
} "}"
" "\""
comment "# python versions to test in order"
command (+34 nodes collapsed)
comment "# python version to run full tests on while other versions r"...
variable_assignment (+25 nodes collapsed)
comment "# version to test when only testing a single version"
variable_assignment
variable_name "single_version"
= "="
number "2022"
comment "# shellcheck disable=SC2086"
list (+51 nodes collapsed)
redirected_statement
compound_statement
{ "{"
list
command
command_name
word "grep"
raw_string "' windows-integration: .* (targeted)$'"
word "/tmp/explain.txt"
|| "||"
command
command_name
word "true"
; ";"
} "}"
file_redirect
> ">"
word "/tmp/windows.txt"
if_statement (+114 nodes collapsed)
for_statement
for "for"
variable_name "py_version"
in "in"
string
" "\""
expansion
${ "${"
subscript
variable_name "python_versions"
[ "["
word "@"
] "]"
} "}"
" "\""
; ";"
do_group
do "do"
variable_assignment
variable_name "changed_all_target"
= "="
string
" "\""
string_content "all"
" "\""
variable_assignment
variable_name "changed_all_mode"
= "="
string
" "\""
string_content "default"
" "\""
if_statement (+147 nodes collapsed)
comment "# terminate remote instances on the final python version tes"...
if_statement (+46 nodes collapsed)
comment "# shellcheck disable=SC2086"
command
command_name
word "ansible-test"
word "windows-integration"
word "--color"
word "-v"
word "--retry-on-error"
string
" "\""
expansion
${ "${"
variable_name "ci"
} "}"
" "\""
expansion
${ "${"
variable_name "COVERAGE"
:+ ":+"
string
" "\""
simple_expansion
$ "$"
variable_name "COVERAGE"
" "\""
} "}"
expansion
${ "${"
variable_name "CHANGED"
:+ ":+"
string
" "\""
simple_expansion
$ "$"
variable_name "CHANGED"
" "\""
} "}"
expansion
${ "${"
variable_name "UNSTABLE"
:+ ":+"
string
" "\""
simple_expansion
$ "$"
variable_name "UNSTABLE"
" "\""
} "}"
word "--changed-all-target"
string
" "\""
expansion
${ "${"
variable_name "changed_all_target"
} "}"
" "\""
word "--changed-all-mode"
string
" "\""
expansion
${ "${"
variable_name "changed_all_mode"
} "}"
" "\""
word "--controller"
string
" "\""
string_content "docker:default,python="
expansion
${ "${"
variable_name "py_version"
} "}"
" "\""
word "--target"
string
" "\""
string_content "remote:windows/"
expansion
${ "${"
variable_name "version"
} "}"
string_content ",connection="
expansion
${ "${"
variable_name "connection"
} "}"
string_content "+"
expansion
${ "${"
variable_name "connection_setting"
} "}"
string_content ",provider="
expansion
${ "${"
variable_name "provider"
} "}"
" "\""
word "--remote-terminate"
string
" "\""
expansion
${ "${"
variable_name "terminate"
} "}"
" "\""
word "--remote-stage"
string
" "\""
expansion
${ "${"
variable_name "stage"
} "}"
" "\""
done "done"

After

program
comment "#!/usr/bin/env bash"
command
command_name
word "set"
word "-o"
word "pipefail"
word "-eux"
declaration_command
declare "declare"
word "-a"
variable_name "args"
command
variable_assignment
variable_name "IFS"
= "="
raw_string "'/:'"
command_name
word "read"
word "-ra"
word "args"
herestring_redirect
<<< "<<<"
string
" "\""
simple_expansion
$ "$"
variable_name "1"
" "\""
variable_assignment
variable_name "version"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "1"
] "]"
} "}"
" "\""
variable_assignment
variable_name "connection"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "2"
] "]"
} "}"
" "\""
variable_assignment
variable_name "connection_setting"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "3"
] "]"
} "}"
" "\""
variable_assignment
variable_name "powershell"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "4"
] "]"
} "}"
" "\""
variable_assignment
variable_name "group"
= "="
string
" "\""
expansion
${ "${"
subscript
variable_name "args"
[ "["
number "5"
] "]"
} "}"
" "\""
variable_assignment
variable_name "target"
= "="
string
" "\""
string_content "shippable/windows/group"
expansion
${ "${"
variable_name "group"
} "}"
string_content "/"
" "\""
variable_assignment
variable_name "stage"
= "="
string
" "\""
expansion
${ "${"
variable_name "S"
:- ":-"
word "prod"
} "}"
" "\""
variable_assignment
variable_name "provider"
= "="
string
" "\""
expansion
${ "${"
variable_name "P"
:- ":-"
word "default"
} "}"
" "\""
comment "# python versions to test in order"
command (+34 nodes collapsed)
comment "# python version to run full tests on while other versions r"...
variable_assignment (+25 nodes collapsed)
comment "# version to test when only testing a single version"
variable_assignment
variable_name "single_version"
= "="
number "2022"
comment "# shellcheck disable=SC2086"
list (+51 nodes collapsed)
redirected_statement
compound_statement
{ "{"
list
command
command_name
word "grep"
raw_string "' windows-integration: .* (targeted)$'"
word "/tmp/explain.txt"
|| "||"
command
command_name
word "true"
; ";"
} "}"
file_redirect
> ">"
word "/tmp/windows.txt"
if_statement (+114 nodes collapsed)
for_statement
for "for"
variable_name "py_version"
in "in"
string
" "\""
expansion
${ "${"
subscript
variable_name "python_versions"
[ "["
word "@"
] "]"
} "}"
" "\""
; ";"
do_group
do "do"
variable_assignment
variable_name "changed_all_target"
= "="
string
" "\""
string_content "all"
" "\""
variable_assignment
variable_name "changed_all_mode"
= "="
string
" "\""
string_content "default"
" "\""
if_statement (+147 nodes collapsed)
comment "# terminate remote instances on the final python version tes"...
if_statement (+46 nodes collapsed)
comment "# shellcheck disable=SC2086"
command
command_name
word "ansible-test"
word "windows-integration"
word "--color"
word "-v"
word "--retry-on-error"
string
" "\""
expansion
${ "${"
variable_name "ci"
} "}"
" "\""
expansion
${ "${"
variable_name "COVERAGE"
:+ ":+"
string
" "\""
simple_expansion
$ "$"
variable_name "COVERAGE"
" "\""
} "}"
expansion
${ "${"
variable_name "CHANGED"
:+ ":+"
string
" "\""
simple_expansion
$ "$"
variable_name "CHANGED"
" "\""
} "}"
expansion
${ "${"
variable_name "UNSTABLE"
:+ ":+"
string
" "\""
simple_expansion
$ "$"
variable_name "UNSTABLE"
" "\""
} "}"
word "--changed-all-target"
string
" "\""
expansion
${ "${"
variable_name "changed_all_target"
} "}"
" "\""
word "--changed-all-mode"
string
" "\""
expansion
${ "${"
variable_name "changed_all_mode"
} "}"
" "\""
word "--controller"
string
" "\""
string_content "docker:default,python="
expansion
${ "${"
variable_name "py_version"
} "}"
" "\""
word "--target"
string
" "\""
string_content "remote:windows/"
expansion
${ "${"
variable_name "version"
} "}"
string_content ",connection="
expansion
${ "${"
variable_name "connection"
} "}"
string_content "+"
expansion
${ "${"
variable_name "connection_setting"
} "}"
string_content ",provider="
expansion
${ "${"
variable_name "provider"
} "}"
string_content ",powershell="
expansion
${ "${"
variable_name "powershell"
} "}"
" "\""
word "--remote-terminate"
string
" "\""
expansion
${ "${"
variable_name "terminate"
} "}"
" "\""
word "--remote-stage"
string
" "\""
expansion
${ "${"
variable_name "stage"
} "}"
" "\""
done "done"