<?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>145307</bug_id>
          
          <creation_ts>2015-05-22 04:54:32 -0700</creation_ts>
          <short_desc>EWS provides misleading information for not applyable patches</short_desc>
          <delta_ts>2015-06-01 10:13:54 -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></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="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1096849</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-05-22 04:54:32 -0700</bug_when>
    <thetext>style checker says the following:
Total errors found: 0 in 0 files
If any of these errors are false positives, please file a bug against check-webkit-style.

----

and other bubbles are green, because they didn&apos;t apply anything

for example:
https://bugs.webkit.org/show_bug.cgi?id=145247
https://bugs.webkit.org/show_bug.cgi?id=126433
https://bugs.webkit.org/show_bug.cgi?id=138332
https://bugs.webkit.org/show_bug.cgi?id=126022
https://bugs.webkit.org/show_bug.cgi?id=70610</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096857</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-05-22 07:58:09 -0700</bug_when>
    <thetext>That would be a very recent regression. What changed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096918</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-05-22 12:22:16 -0700</bug_when>
    <thetext>This just worked correctly in &lt;https://webkit-queues.appspot.com/patch/253595&gt; - windows bubble is red.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096920</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-05-22 12:29:20 -0700</bug_when>
    <thetext>Style checker is clearly wrong, but how did you determine that other bubbles in &lt;https://bugs.webkit.org/show_bug.cgi?id=145247&gt; are green for a wrong reason?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098480</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-01 05:19:07 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Style checker is clearly wrong, but how did you determine that other bubbles
&gt; in &lt;https://bugs.webkit.org/show_bug.cgi?id=145247&gt; are green for a wrong
&gt; reason?

The problem is that webkit-patch tries to apply the patch, but there is no
appliable diff in the patch. In this case the green GTK/Mac/EFL bubbles
mean that the trunk is buildable, nothing else. It is very misleading.

I think the best fix would be to make svn-apply not to return 0 in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098481</commentid>
    <comment_count>5</comment_count>
      <attachid>253994</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-01 05:40:52 -0700</bug_when>
    <thetext>Created attachment 253994
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098507</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-06-01 09:27:23 -0700</bug_when>
    <thetext>To summarize, this happens when a patch tries to update non-existent files. When a patch doesn&apos;t apply to existent files, we already get the correct behavior.

Given that, I suspect that a more targeted fix is possible. However, adding a catch-all like this is fine too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098523</commentid>
    <comment_count>7</comment_count>
      <attachid>253994</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-06-01 10:13:49 -0700</bug_when>
    <thetext>Comment on attachment 253994
Patch

Clearing flags on attachment: 253994

Committed r185062: &lt;http://trac.webkit.org/changeset/185062&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098524</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-06-01 10:13:54 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>253994</attachid>
            <date>2015-06-01 05:40:52 -0700</date>
            <delta_ts>2015-06-01 10:13:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-145307-20150601054034.patch</filename>
            <type>text/plain</type>
            <size>1217</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTg1MDU3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggMGQ4YTMxNzlkZWU3YThiNmU1OWFhNWM0NThlNjQ2YTA2
MzljMjNiYS4uZjI3MGU1MzFlODMyODY0M2ViZjJjMTFiMzQ0NTFhZDlhNDEwYjk1NiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE0
IEBACiAy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