Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: "poky@yoctoproject.org" <poky@yoctoproject.org>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [poky] RFC: create-pull-request / send-pull-request updates
Date: Wed, 11 May 2011 11:06:09 -0700	[thread overview]
Message-ID: <4DCAD011.6060302@linux.intel.com> (raw)
In-Reply-To: <C5BC5F51-14C1-45A6-91DE-9A48DDD565CC@dominion.thruhere.net>

On 05/11/2011 09:22 AM, Koen Kooi wrote:
> 
> Op 11 mei 2011, om 18:15 heeft Darren Hart het volgende geschreven:
> 
>> Between myself and others, there are several outstanding proposals
>> to modify the pull-request scripts. Patches have been sent, but
>> nothing has been merged due to a lack of consensus. I thought I
>> would summarize what I see to be the current weaknesses of the
>> scripts and my proposal to address them. I would like your feedback
>> to ensure we have tools that meet the needs of a broad user base.
>> Once we agree, I'll be happy to write up the patches or help review
>> those written by others.
>> 
>> 1) send-pull-request is too aggressive with the auto-cc feature
>> (Khem Raj)
>> 
>> One of the reasons I wrote these scripts was out of frustration
>> with git-send-email which allowed for a cover letter, but didn't
>> include all the collected addresses on it. The current script sends
>> every message to all the collected addresses. Khem (and others)
>> have found this behavior to be sub-optimal, if not down right
>> annoying.
>> 
>> I propose it be modified to only use the addresses local to each 
>> patch for the patches and all the collected addresses only for the 
>> cover letter.
>> 
>> a) Do people agree with this policy? If not, and people prefer the 
>> cover-letter only be sent to the recipients specified on the 
>> command line, then this script doesn't add any real value over 'git
>> request-pull' and 'git send-email', and users can easily wrap those
>> on their own.
> 
> Correct me if I'm wrong, but the current script pick up address from
> the patches inside the patches as well. The CC: list should only
> contain the "OE" people involved, not random kernel hackers
> mentioning in the patches.


There are two modes here. One is where you are adding your own changes,
in this case it makes sense to harvest CC's from the patches. The other
is when you are pulling in patches from other sources where the authors
don't want to be receiving email. In the latter case, the user must be
responsible to not use the -a option (auto cc). This is a fairly unique
situation, you have to be pulling from a parallel environment. Kernel to
kernel, layer to layer. But if I am adding a patch to a recipe, the CC's
in that patch shouldn't get picked up because they will be part of the
diff (prefaced with "+ ") and not in the commit message.

Am I missing a use case?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



  reply	other threads:[~2011-05-11 18:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 16:15 RFC: create-pull-request / send-pull-request updates Darren Hart
2011-05-11 16:22 ` [poky] " Koen Kooi
2011-05-11 18:06   ` Darren Hart [this message]
2011-05-11 17:01 ` Khem Raj
2011-05-11 17:40   ` Richard Purdie
2011-05-11 18:24     ` Darren Hart
2011-05-12  2:43     ` Khem Raj
2011-05-11 18:35 ` Tom Rini
2011-05-12  0:49 ` Otavio Salvador

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=4DCAD011.6060302@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=poky@yoctoproject.org \
    /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