<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2735</bug_id>
          
          <creation_ts>2012-07-11 06:04:04 +0000</creation_ts>
          <short_desc>scripts/send-pull-request cc:ing everyone mentioned in a resubmitted patch</short_desc>
          <delta_ts>2012-08-13 20:53:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Zanussi">tom.zanussi</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22984</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-07-11 06:04:04 +0000</bug_when>
    <thetext>I just submitted a linux-yocto-3.0 kernel patchset to linux-yocto and was very unpleasantly surprised to see that the kernel devs mentioned in a resubmitted patch were automatically CC:ed on my Yocto e-mail cover letter as well as for the resubmitted patch:

https://lists.yoctoproject.org/pipermail/yocto/2012-July/010060.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23128</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-07-16 18:53:08 +0000</bug_when>
    <thetext>Which command did you use to send the patches? Did you use -a or -c?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23129</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-07-16 18:58:05 +0000</bug_when>
    <thetext>-a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23131</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-07-16 21:14:37 +0000</bug_when>
    <thetext>OK, so this is working as documented in the help text:

  -a           Send the cover letter to every recipient listed in Cc and
               Signed-off-by lines found in the cover letter and the patches.
	       This option implies -c.

At first I thought this was a repeat of the previous issue where patches being added to a recipe were being parsed and the CCs added - but it doesn&apos;t appear to be. The patch itself had these CC lines, so this is working as designed.

What behavior did you expect from -a?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23132</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-07-16 21:34:51 +0000</bug_when>
    <thetext>Ah, ok, yeah, my mistake, I&apos;ve just become used to always using -a without thinking about it or reading the help text.

Basically send-pull-request should just never be used for linux-yocto kernel patches, period.

Now I remember why I used to just do them manually...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23133</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-07-16 21:57:01 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Ah, ok, yeah, my mistake, I&apos;ve just become used to always using -a without
&gt; thinking about it or reading the help text.
&gt; 
&gt; Basically send-pull-request should just never be used for linux-yocto kernel
&gt; patches, period.
&gt; 
&gt; Now I remember why I used to just do them manually...

If you don&apos;t use -a -c then it will do the right thing and only send to the list specified via the -t on the command line. This is how I do it. Note that git send-email will embarass you in exactly the same way if using a similar option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23985</commentid>
    <comment_count>6</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-13 20:53:41 +0000</bug_when>
    <thetext>setting this to verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>