From: Don Zickus <dzickus(a)redhat.com>
Remove cc lines from automatic configs
The kernel-webhook is smarter and knows who the right reviewers are.
The webhooks can also dynamically update them. Just remove the static
cc assisgnment in the nightly automated config generation.
Signed-off-by: Don Zickus <dzickus(a)redhat.com>
diff --git a/redhat/scripts/genspec/gen_config_patches.sh
b/redhat/scripts/genspec/gen_config_patches.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/genspec/gen_config_patches.sh
+++ b/redhat/scripts/genspec/gen_config_patches.sh
@@ -115,10 +115,6 @@ for f in "$config_bundles_dir"/*; do
# remove the pending option
rm redhat/configs/pending-rhel/generic/"$line"
done < "$f"
- if [ -n "$RHMAINTAINERS" ] && [ -f ./scripts/get_maintainer.pl ]
&& [ -f "$RHMAINTAINERS" ]; then
- echo "" >> "$tmpdir"/commit
- ./scripts/get_maintainer.pl --no-rolestats --mpath "$RHMAINTAINERS" --no-git
--no-git-fallback -f "$_f" | sed "s/^/Cc: /" >>
"$tmpdir"/commit
- fi
# We do a separate branch per config commit
if ! git checkout -b "configs/$(date +%F)/$_f"; then
printf "Unable to check out configs/%s/%s branch!\n" "$(date +%F)"
"$_f"
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2342