<?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>176680</bug_id>
          
          <creation_ts>2017-09-10 19:51:32 -0700</creation_ts>
          <short_desc>webkitbot should recognize commands even when colon is omitted</short_desc>
          <delta_ts>2017-09-27 12:36:46 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>176752</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>beidson</cc>
    
    <cc>buildbot</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>glenn</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1347340</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-09-10 19:51:32 -0700</bug_when>
    <thetext>Right now, webkitbot doesn&apos;t recognize a command when : is omitted as in:
webkitbot rollout r999999 introduced a build failure

Fix this, and also enhance &quot;hi!&quot; command so that it can respond with &quot;hi!&quot; even when the bot name is omitted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1347341</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-09-10 19:51:44 -0700</bug_when>
    <thetext>&lt;rdar://problem/29933898&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1347342</commentid>
    <comment_count>2</comment_count>
      <attachid>320414</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-09-10 19:54:41 -0700</bug_when>
    <thetext>Created attachment 320414
Fixe the bug

Actually, let&apos;s do &quot;hi!&quot; enhancement in a aspirate patch since the bug fix is one liner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1347415</commentid>
    <comment_count>3</comment_count>
      <attachid>320414</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2017-09-11 09:20:11 -0700</bug_when>
    <thetext>Comment on attachment 320414
Fixe the bug

View in context: https://bugs.webkit.org/attachment.cgi?id=320414&amp;action=review

&gt; Tools/Scripts/webkitpy/common/net/irc/ircbot.py:92
&gt;              request = request.split(&apos;:&apos;, 1)
&gt;          elif vocative_separator == &apos;,&apos;:
&gt;              request = request.split(&apos;,&apos;, 1)
&gt; +        elif vocative_separator == &apos; &apos;:
&gt; +            request = request.split(&apos; &apos;, 1)

We could simplify this code by using an array and the &quot;in&quot; operator</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1347416</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2017-09-11 09:22:00 -0700</bug_when>
    <thetext>(In reply to Daniel Bates from comment #3)
&gt; Comment on attachment 320414 [details]
&gt; Fixe the bug
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=320414&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/webkitpy/common/net/irc/ircbot.py:92
&gt; &gt;              request = request.split(&apos;:&apos;, 1)
&gt; &gt;          elif vocative_separator == &apos;,&apos;:
&gt; &gt;              request = request.split(&apos;,&apos;, 1)
&gt; &gt; +        elif vocative_separator == &apos; &apos;:
&gt; &gt; +            request = request.split(&apos; &apos;, 1)
&gt; 
&gt; We could simplify this code by using an array and the &quot;in&quot; operator

This is not necessary to do in this patch. Feel free to commit as-is/mark cq+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1347523</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-09-11 11:55:31 -0700</bug_when>
    <thetext>(In reply to Daniel Bates from comment #3)
&gt; Comment on attachment 320414 [details]
&gt; Fixe the bug
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=320414&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/webkitpy/common/net/irc/ircbot.py:92
&gt; &gt;              request = request.split(&apos;:&apos;, 1)
&gt; &gt;          elif vocative_separator == &apos;,&apos;:
&gt; &gt;              request = request.split(&apos;,&apos;, 1)
&gt; &gt; +        elif vocative_separator == &apos; &apos;:
&gt; &gt; +            request = request.split(&apos; &apos;, 1)
&gt; 
&gt; We could simplify this code by using an array and the &quot;in&quot; operator

That&apos;s a good point, let&apos;s do that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1347714</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-09-11 16:28:27 -0700</bug_when>
    <thetext>Committed r221892: &lt;http://trac.webkit.org/changeset/221892&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1347721</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-09-11 16:32:08 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 176752</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1353526</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-09-27 12:36:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/34693601&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>320414</attachid>
            <date>2017-09-10 19:54:41 -0700</date>
            <delta_ts>2017-09-11 17:21:20 -0700</delta_ts>
            <desc>Fixe the bug</desc>
            <filename>fix176680.patch</filename>
            <type>text/plain</type>
            <size>1294</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIyMTg0MikKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE3IEBACisyMDE3LTA5LTEwICBSeW9zdWtlIE5pd2EgIDxybml3YUB3ZWJraXQub3JnPgor
CisgICAgICAgIHdlYmtpdGJvdCBzaG91bGQgcmVjb2duaXplIGNvbW1hbmRzIGV2ZW4gd2hlbiBj
b2xvbiBpcyBvbWl0dGVkCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD0xNzY2ODAKKyAgICAgICAgPHJkYXI6Ly9wcm9ibGVtLzI5OTMzODk4PgorCisgICAg
ICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFJlY29nbml6ZSB0aGUg
SVJDIGNvbW1hbmQgZXZlbiB3aGVuIDogYW5kICwgd2VyZSBub3QgcHJlc2VudC4KKyAgICAgICAg
VW5mb3J0dW5hdGVseSwgdGhlcmUgaXMgbm8gdW5pdCB0ZXN0IGZvciB0aGlzIGNvZGUgYXQgdGhl
IG1vbWVudC4KKworICAgICAgICAqIFNjcmlwdHMvd2Via2l0cHkvY29tbW9uL25ldC9pcmMvaXJj
Ym90LnB5OgorICAgICAgICAoSVJDQm90Lm9uX3B1Ym1zZyk6CisKIDIwMTctMDktMTAgIE15bGVz
IEMuIE1heGZpZWxkICA8bW1heGZpZWxkQGFwcGxlLmNvbT4KIAogICAgICAgICBXU0wgc2hvdWxk
IHN1cHBvcnQgd2hpbGUgbG9vcHMKSW5kZXg6IFRvb2xzL1NjcmlwdHMvd2Via2l0cHkvY29tbW9u
L25ldC9pcmMvaXJjYm90LnB5Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFRvb2xzL1NjcmlwdHMvd2Via2l0cHkv
Y29tbW9uL25ldC9pcmMvaXJjYm90LnB5CShyZXZpc2lvbiAyMjE2NjQpCisrKyBUb29scy9TY3Jp
cHRzL3dlYmtpdHB5L2NvbW1vbi9uZXQvaXJjL2lyY2JvdC5weQkod29ya2luZyBjb3B5KQpAQCAt
ODgsNiArODgsOCBAQAogICAgICAgICAgICAgcmVxdWVzdCA9IHJlcXVlc3Quc3BsaXQoJzonLCAx
KQogICAgICAgICBlbGlmIHZvY2F0aXZlX3NlcGFyYXRvciA9PSAnLCc6CiAgICAgICAgICAgICBy
ZXF1ZXN0ID0gcmVxdWVzdC5zcGxpdCgnLCcsIDEpCisgICAgICAgIGVsaWYgdm9jYXRpdmVfc2Vw
YXJhdG9yID09ICcgJzoKKyAgICAgICAgICAgIHJlcXVlc3QgPSByZXF1ZXN0LnNwbGl0KCcgJywg
MSkKICAgICAgICAgZWxzZToKICAgICAgICAgICAgIHJldHVybgogCg==
</data>
<flag name="review"
          id="340510"
          type_id="1"
          status="+"
          setter="dbates"
    />
          </attachment>
      

    </bug>

</bugzilla>