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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>64127</bug_id>
          
          <creation_ts>2011-07-07 14:33:37 -0700</creation_ts>
          <short_desc>Committer for r90588 is commit-queue@webkit.org, but should have been abarth@webkit.org</short_desc>
          <delta_ts>2011-07-08 08:22:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://trac.webkit.org/changeset/90588</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>wsiegrist</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>433707</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 14:33:37 -0700</bug_when>
    <thetext>The set up:

1) sheriffbot was running locally as abarth on one of his machines, due to EC2 connectivity issues
2) ojan requested a rollout of r90581, resulting in bug 64124
3) The patch attached to bug 64124 said that abarth was the author (see (1))
4) The commit-queue committed the patch as http://trac.webkit.org/changeset/90588

The bug:

The committer listed in Subversion history for r90588 is commit-queue@webkit.org. But since Adam Barth is a committer, and he is the author of the patch, he should be listed as the committer instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433708</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 14:35:55 -0700</bug_when>
    <thetext>Here&apos;s how this is supposed to work:

1) When the commit-queue commits the patch, it runs commit-log-editor to generate the commit message. (This happens in the bowels of webkitpy.)
2) commit-log-editor, upon seeing that the patch author (abarth@webkit.org) and committer (commit-queue@webkit.org) are not the same, inserts a &quot;Patch by Adam Barth &lt;abarth@webkit.org&gt;&quot; line into the commit message
3) When the commit occurs, a script on svn.webkit.org scans the commit message, sees the &quot;Patch by&quot; line, removes it, and sets abarth@webkit.org as the committer for that change.

Something went wrong in this sequence. We already have confirmation from Bill Siegrist that the original commit message did not include the &quot;Patch by&quot; line. So the bug is not with (3). It might be with (1) or (2). Most likely (2).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433712</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 14:45:40 -0700</bug_when>
    <thetext>Adam Barth discovered the following:

http://queues.webkit.org/results/8995536

Failed to determine email address for ChangeLog.
Either:
  set CHANGE_LOG_EMAIL_ADDRESS in your environment
  OR pass --email= on the command line
  OR set EMAIL_ADDRESS in your environment
  OR git users can set &apos;git config user.email&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433714</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 14:48:38 -0700</bug_when>
    <thetext>In theory, that error case will cause commit-log-editor to exit: http://trac.webkit.org/browser/trunk/Tools/Scripts/VCSUtils.pm?rev=90439#L1773

I wonder how we&apos;re ending up with any commit message at all in that case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433715</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 14:49:48 -0700</bug_when>
    <thetext>Whoops, comment 2 and comment 3 were actually about the attachment 100028, not about the patch this bug is about. Please disregard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433718</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 14:52:22 -0700</bug_when>
    <thetext>But the fact that the commit queue was able to land the patch in question means the machine that landed it must have one of those environment variables set, or the user.email config variable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433722</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 15:02:41 -0700</bug_when>
    <thetext>The machine that landed the patch in question was ec2-cq-01. Adam Barth just discovered that it had its user.email variable set to commit-queue@webkit.org. So that explains how it was able to land the patch without commit-log-editor failing. But it still doesn&apos;t explain why there wasn&apos;t a &quot;Patch by&quot; line in the commit message!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433723</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 15:04:45 -0700</bug_when>
    <thetext>Ah, here&apos;s the answer:

http://trac.webkit.org/browser/trunk/Tools/Scripts/commit-log-editor?rev=90439#L182

The &quot;Patch by&quot; line is only added if the patch contains &quot;Reviewed by&quot; or &quot;Rubber-stamped by&quot;! Rollout patches do not contain those words.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433733</commentid>
    <comment_count>8</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 15:17:13 -0700</bug_when>
    <thetext>We just need to decide where to insert &quot;Patch by&quot; when there&apos;s no &quot;Reviewed by&quot; line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433737</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-07 15:25:15 -0700</bug_when>
    <thetext>I&apos;ll look into this tomorrow. Other people should feel free to take a crack at it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>434044</commentid>
    <comment_count>10</comment_count>
      <attachid>100117</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-08 07:30:32 -0700</bug_when>
    <thetext>Created attachment 100117
Ensure commit-log-editor adds a &quot;Patch by&quot; line when the author and committer are different</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>434059</commentid>
    <comment_count>11</comment_count>
      <attachid>100117</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-08 08:22:47 -0700</bug_when>
    <thetext>Comment on attachment 100117
Ensure commit-log-editor adds a &quot;Patch by&quot; line when the author and committer are different

Clearing flags on attachment: 100117

Committed r90632: &lt;http://trac.webkit.org/changeset/90632&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>434060</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-08 08:22:52 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>100117</attachid>
            <date>2011-07-08 07:30:32 -0700</date>
            <delta_ts>2011-07-08 08:22:47 -0700</delta_ts>
            <desc>Ensure commit-log-editor adds a &quot;Patch by&quot; line when the author and committer are different</desc>
            <filename>bug-64127-20110708103029.patch</filename>
            <type>text/plain</type>
            <size>4220</size>
            <attacher name="Adam Roben (:aroben)">aroben</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTA1ODQKZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBi
L1Rvb2xzL0NoYW5nZUxvZwppbmRleCA5MWY1ZTEyYTFjZmUzMzQ1NWJjZWIxN2E0MThkNjA1NzRi
N2E0ZjM3Li40YTdmMWY2YjUxZWM0NjMwYzAyODY5ODQ5MWY0NzE5Mjc4NDkyZjg3IDEwMDY0NAot
LS0gYS9Ub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TG9u
Z2VzdENvbW1vblByZWZpeEVuZGluZ0luRG91YmxlTmV3bGluZShcJSk7CiBzdWIgaXNDb21taXRM
b2dFZGl0b3IoJCk7CiAKQEAgLTI1MCwxMyArMjUxLDE5IEBAIHN1YiBjcmVhdGVDb21taXRNZXNz
YWdlKEApCiAgICAgICAgICAgICAgICAgICAgIG5leHQ7CiAgICAgICAgICAgICAgICAgfQogCi0g
ICAgICAgICAgICAgICAgaWYgKCRsaW5lID1+IG0vXlJldmlld2VkIGJ5IC4qLyB8fCAkbGluZSA9
fiBtL15SdWJiZXJbIFwtXT9zdGFtcGVkIGJ5IC4qLykgewotICAgICAgICAgICAgICAgICAgICAj
IEluc2VydCB0aGUgIlBhdGNoIGJ5IiBsaW5lIGp1c3QgYWJvdmUgdGhlICJSZXZpZXdlZCBieSIg
bGluZSwgaWYgbmVlZGVkLgotICAgICAgICAgICAgICAgICAgICBteSAkY29tbWl0dGVyRW1haWwg
PSBjaGFuZ2VMb2dFbWFpbEFkZHJlc3MoKTsKLSAgICAgICAgICAgICAgICAgICAgbXkgJGF1dGhv
ckFuZENvbW1pdHRlckFyZVNhbWVQZXJzb24gPSAkZW1haWwgZXEgJGNvbW1pdHRlckVtYWlsOwot
ICAgICAgICAgICAgICAgICAgICBpZiAoISRhdXRob3JBbmRDb21taXR0ZXJBcmVTYW1lUGVyc29u
KSB7Ci0gICAgICAgICAgICAgICAgICAgICAgICAkY29udGVudHMgLj0gIlBhdGNoIGJ5ICRhdXRo
b3IgPCRlbWFpbD4gb24gJGRhdGVcbiI7CisgICAgICAgICAgICAgICAgaWYgKCRoYXNBdXRob3JJ
bmZvVG9Xcml0ZSkgeworICAgICAgICAgICAgICAgICAgICBteSAkaXNSZXZpZXdlZEJ5TGluZSA9
ICRsaW5lID1+IG0vXig/OlJldmlld2VkfFJ1YmJlclsgXC1dP3N0YW1wZWQpIGJ5LzsKKyAgICAg
ICAgICAgICAgICAgICAgbXkgJGlzTW9kaWZpZWRGaWxlTGluZSA9ICRsaW5lID1+IG0vXlwqIC4q
Oi87CisKKyAgICAgICAgICAgICAgICAgICAgIyBJbnNlcnQgdGhlIGF1dGhvcnNoaXAgbGluZSBp
ZiBuZWVkZWQganVzdCBhYm92ZSB0aGUgIlJldmlld2VkIGJ5IiBsaW5lIG9yIHRoZQorICAgICAg
ICAgICAgICAgICAgICAjIGZpcnN0IG1vZGlmaWVkIGZpbGUgKHdoaWNoZXZlciBjb21lcyBmaXJz
dCkuCisgICAgICAgICAgICAgICAgICAgIGlmICgkaXNSZXZpZXdlZEJ5TGluZSB8fCAkaXNNb2Rp
ZmllZEZpbGVMaW5lKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAkaGFzQXV0aG9ySW5mb1Rv
V3JpdGUgPSAwOworICAgICAgICAgICAgICAgICAgICAgICAgbXkgJGF1dGhvcnNoaXBTdHJpbmcg
PSBwYXRjaEF1dGhvcnNoaXBTdHJpbmcoJGF1dGhvciwgJGVtYWlsLCAkZGF0ZSk7CisgICAgICAg
ICAgICAgICAgICAgICAgICBpZiAoJGF1dGhvcnNoaXBTdHJpbmcpIHsKKyAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAkY29udGVudHMgLj0gIiRhdXRob3JzaGlwU3RyaW5nXG4iOworICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICRjb250ZW50cyAuPSAiXG4iIGlmICRpc01vZGlmaWVkRmls
ZUxpbmU7CisgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgIH0K
ICAgICAgICAgICAgICAgICB9CiAKQEAgLTI2Nyw2ICsyNzQsMTMgQEAgc3ViIGNyZWF0ZUNvbW1p
dE1lc3NhZ2UoQCkKICAgICAgICAgICAgICAgICAkYmxhbmtMaW5lcyAuPSAkXzsKICAgICAgICAg
ICAgIH0KICAgICAgICAgfQorICAgICAgICBpZiAoJGhhc0F1dGhvckluZm9Ub1dyaXRlKSB7Cisg
ICAgICAgICAgICAjIFdlIGRpZG4ndCBmaW5kI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