public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com, Daniel Vetter <daniel.vetter@ffwll.ch>,
	rodrigo.vivi@intel.com
Subject: [maintainer-tools PATCH 5/5] dim: update pull and test request recipients
Date: Fri,  8 Sep 2017 16:30:01 +0300	[thread overview]
Message-ID: <20170908133001.31224-5-jani.nikula@intel.com> (raw)
In-Reply-To: <20170908133001.31224-1-jani.nikula@intel.com>

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@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 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@gmail.com>"
-addr_intel_gfx_maintainer1="Daniel Vetter <daniel.vetter@ffwll.ch>"
-addr_intel_gfx_maintainer2="Jani Nikula <jani.nikula@linux.intel.com>"
-addr_intel_gfx="intel-gfx@lists.freedesktop.org"
-addr_dri_devel="dri-devel@lists.freedesktop.org"
-addr_intel_qa="\"Jari Tahvanainen\" <jari.tahvanainen@intel.com>"
+# 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@ffwll.ch>"
+	-c "Jani Nikula <jani.nikula@linux.intel.com>"
+	-c "Joonas Lahtinen <joonas.lahtinen@linux.intel.com>"
+	-c "Rodrigo Vivi <rodrigo.vivi@intel.com>"
+	-c "Sean Paul <seanpaul@chromium.org>"
+	-c "dri-devel@lists.freedesktop.org"
+	-c "intel-gfx@lists.freedesktop.org"
+	"Dave Airlie <airlied@gmail.com>"
+)
+
+# Recipients for drm-intel-testing updates.
+test_request_recipients=(
+	-c "Jani Nikula <jani.nikula@linux.intel.com>"
+	-c "Joonas Lahtinen <joonas.lahtinen@linux.intel.com>"
+	-c "Rodrigo Vivi <rodrigo.vivi@intel.com>"
+	-c "intel-gfx@lists.freedesktop.org"
+	"Jari Tahvanainen <jari.tahvanainen@intel.com>"
+)
 
 # 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2017-09-08 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 13:29 [maintainer-tools PATCH 1/5] dim: stop adding Daniel's signed-off-by to driver date updates Jani Nikula
2017-09-08 13:29 ` [maintainer-tools PATCH 2/5] dim: use git format-patch style for *** REMINDERS *** Jani Nikula
2017-09-08 13:29 ` [maintainer-tools PATCH 3/5] dim: remove defaults from pull mail hello/signature Jani Nikula
2017-09-08 23:52   ` Vivi, Rodrigo
2017-09-11  8:50     ` Jani Nikula
2017-09-08 13:30 ` [maintainer-tools PATCH 4/5] dim: reuse pull request signature for drm-intel-testing mails Jani Nikula
2017-09-08 13:30 ` Jani Nikula [this message]
2017-09-08 13:55   ` [maintainer-tools PATCH 5/5] dim: update pull and test request recipients Sean Paul
2017-09-11  8:48     ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170908133001.31224-5-jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox