<?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>55468</bug_id>
          
          <creation_ts>2011-03-01 07:37:08 -0800</creation_ts>
          <short_desc>New .png files added by commit-queue bots are not marked as binary</short_desc>
          <delta_ts>2013-02-28 15:50:35 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          <dependson>107724</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>alancutter</cc>
    
    <cc>cbiesinger</cc>
    
    <cc>eric</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>359882</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-01 07:37:08 -0800</bug_when>
    <thetext>Whenever the commit-queue commits a patch that adds new .png files, the .pngs aren&apos;t marked as binary. The effect of this most noticeable to me is that the webkit-changes email generated for these patches includes a bunch of PNG-as-ASCII junk which significantly bloats the email.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359883</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-01 07:38:09 -0800</bug_when>
    <thetext>One way to fix this would be to turn on Subversion auto-props on the commit-queue bots. To do that, you just need to uncomment the following lines in ~/.subversion/config

enable-auto-props = yes

...and later...

*.png = svn:mime-type=image/png</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359885</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-01 07:38:42 -0800</bug_when>
    <thetext>Note that auto-props are respected even when committing via git-svn.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359957</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-03-01 09:45:01 -0800</bug_when>
    <thetext>Very easy to do.  (Especially if there is a svn config command to do that.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359960</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-03-01 09:48:04 -0800</bug_when>
    <thetext>I suspect we should create the perfect config file for the commit-queue, and then copy it into the svn repository.  Then the commit bots can either install it automatically, or use --config-dir.

It doesn&apos;t appear that svn has a &quot;config&quot; command like git does for editing its config files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359961</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-03-01 09:49:14 -0800</bug_when>
    <thetext>Basically if someone tells me exactly what commands to run on the bots, I&apos;m happy to make that happen.  Even better would be pointing towards the exact desired config file, which I&apos;m happy to make sure all of the bots use.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359987</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-01 10:15:12 -0800</bug_when>
    <thetext>I think putting this in ~/.subversion/config will do what we want (and nothing more):

[miscellany]
enable-auto-props = yes

[auto-props]
*.png = svn:mime-type=image/png</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>844563</commentid>
    <comment_count>7</comment_count>
    <who name="Alan Cutter">alancutter</who>
    <bug_when>2013-02-28 15:44:50 -0800</bug_when>
    <thetext>bug 107724 addresses this issue and has a patch to amend future bots, pending a cq+.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>