Make it easier to add/remove people as needed. Add Joonas, Rodrigo and Sean as new recipients for pull requests. Replace Daniel with Joonas and Rodrigo as test request recipients. Perhaps we'll want to make the list branch specific in the future, but get the low hanging fruit first. Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> Cc: Sean Paul <seanpaul@xxxxxxxxxxxx> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> --- dim | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/dim b/dim index 96baffde5524..b177b9b28242 100755 --- a/dim +++ b/dim @@ -83,13 +83,27 @@ drm_tip_ssh=ssh://git.freedesktop.org/git/drm-tip drm_upstream_git=git://people.freedesktop.org/~airlied/linux linux_upstream_git=git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -# email aliases -addr_drm_maintainer="Dave Airlie <airlied@xxxxxxxxx>" -addr_intel_gfx_maintainer1="Daniel Vetter <daniel.vetter@xxxxxxxx>" -addr_intel_gfx_maintainer2="Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx>" -addr_intel_gfx="intel-gfx@xxxxxxxxxxxxxxxxxxxxx" -addr_dri_devel="dri-devel@xxxxxxxxxxxxxxxxxxxxx" -addr_intel_qa="\"Jari Tahvanainen\" <jari.tahvanainen@xxxxxxxxx>" +# Recipients for all dim based pull requests. +# Add To: lines to the end, Cc: lines in the beginning with -c. +pull_request_recipients=( + -c "Daniel Vetter <daniel.vetter@xxxxxxxx>" + -c "Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx>" + -c "Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>" + -c "Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>" + -c "Sean Paul <seanpaul@xxxxxxxxxxxx>" + -c "dri-devel@xxxxxxxxxxxxxxxxxxxxx" + -c "intel-gfx@xxxxxxxxxxxxxxxxxxxxx" + "Dave Airlie <airlied@xxxxxxxxx>" +) + +# Recipients for drm-intel-testing updates. +test_request_recipients=( + -c "Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx>" + -c "Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>" + -c "Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>" + -c "intel-gfx@xxxxxxxxxxxxxxxxxxxxx" + "Jari Tahvanainen <jari.tahvanainen@xxxxxxxxx>" +) # integration configuration integration_config=nightly.conf @@ -1557,11 +1571,7 @@ function dim_update_next_continue prep_pull_mail_signature >> $req_file $DRY $DIM_MUA -s "Updated drm-intel-testing" \ - -i $req_file \ - -c "$addr_intel_gfx" \ - -c "$addr_intel_gfx_maintainer1" \ - -c "$addr_intel_gfx_maintainer2" \ - "$addr_intel_qa" + -i $req_file "${test_request_recipients[@]}" } function dim_tag_next @@ -1652,12 +1662,7 @@ function dim_pull_request git request-pull $upstream $git_url $tag >> $req_file $DRY $DIM_MUA -s "[PULL] $branch" \ - -i $req_file \ - -c "$addr_intel_gfx" \ - -c "$addr_dri_devel" \ - -c "$addr_intel_gfx_maintainer1" \ - -c "$addr_intel_gfx_maintainer2" \ - "$addr_drm_maintainer" + -i $req_file "${pull_request_recipients[@]}" } function dim_pull_request_next -- 2.11.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx