<?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>33734</bug_id>
          
          <creation_ts>2010-01-15 13:45:49 -0800</creation_ts>
          <short_desc>check-webkit-style: Suppress the usual tab check for files having the allow-tabs property</short_desc>
          <delta_ts>2010-02-01 15:51:24 -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>
          
          <blocked>33227</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Jerdonek">cjerdonek</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>cjerdonek</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>eric</cc>
    
    <cc>hamaji</cc>
    
    <cc>levin</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181367</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Jerdonek">cjerdonek</who>
    <bug_when>2010-01-15 13:45:49 -0800</bug_when>
    <thetext>This report is an outgrowth of the following report on excluding selected code/files/directories from certain style checks:

https://bugs.webkit.org/show_bug.cgi?id=33684

More information on the allow-tabs property is in this e-mail:

https://lists.webkit.org/pipermail/webkit-dev/2010-January/011331.html

Question:

It seems that git might not be able to &quot;see&quot; the allow-tabs property.  See, for instance, the &quot;Bugs&quot; section of the man page for git-svn(1):

&gt; We ignore all SVN properties except svn:executable. Any unhandled properties are logged to $GIT_DIR/svn/&lt;refname&gt;/unhandled.log

(from http://www.kernel.org/pub/software/scm/git/docs/git-svn.html )

Would implementing this enhancement mean that check-webkit-style will not yield correct results unless run from an SVN repository?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181528</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Jerdonek">cjerdonek</who>
    <bug_when>2010-01-16 10:56:02 -0800</bug_when>
    <thetext>Adding Kent to the CC since he added the tab check.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181540</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-01-16 11:56:39 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Would implementing this enhancement mean that check-webkit-style will not yield
&gt; correct results unless run from an SVN repository?

You could always fall back to a server-side check when using a git repository, although it will be slower:

$ svn pl http://svn.webkit.org/repository/webkit/trunk/WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl 
Properties on &apos;http://svn.webkit.org/repository/webkit/trunk/WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl&apos;:
  allow-tabs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>