diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:32 +0000 |
commit | 4547b622d8d29df964fa2914213088b148c498fc (patch) | |
tree | 9fc6b25f3c3add6b745be9a2400a6e96140046e9 /src/tools/rust-installer | |
parent | Releasing progress-linux version 1.66.0+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-4547b622d8d29df964fa2914213088b148c498fc.tar.xz rustc-4547b622d8d29df964fa2914213088b148c498fc.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/tools/rust-installer/install-template.sh | 22 | ||||
-rw-r--r-- | src/tools/rust-installer/triagebot.toml | 3 |
2 files changed, 23 insertions, 2 deletions
diff --git a/src/tools/rust-installer/install-template.sh b/src/tools/rust-installer/install-template.sh index e68be8911..7790541a4 100644 --- a/src/tools/rust-installer/install-template.sh +++ b/src/tools/rust-installer/install-template.sh @@ -921,9 +921,27 @@ fi if [ -n "$CFG_WITHOUT" ]; then without_components="$(echo "$CFG_WITHOUT" | sed "s/,/ /g")" - for without_component in $without_components; do - components="$(echo "$components" | sed "s/$without_component//" | sed "s/$without_component//")" + + # This does **not** check that all components in without_components are + # actually present in the list of available components. + # + # Currently that's considered good as it makes it easier to be compatible + # with multiple Rust versions (which may change the exact list of + # components) when writing install scripts. + new_comp="" + for component in $components; do + found=false + for my_component in $without_components; do + if [ "$component" = "$my_component" ]; then + found=true + fi + done + if [ "$found" = false ]; then + # If we didn't find the component in without, then add it to new list. + new_comp="$new_comp $component" + fi done + components="$new_comp" fi if [ -z "$components" ]; then diff --git a/src/tools/rust-installer/triagebot.toml b/src/tools/rust-installer/triagebot.toml index fa0824ac5..493500449 100644 --- a/src/tools/rust-installer/triagebot.toml +++ b/src/tools/rust-installer/triagebot.toml @@ -1 +1,4 @@ [assign] + +[assign.owners] +"*" = ["@Mark-Simulacrum"] |