Bug 33734 - check-webkit-style: Suppress the usual tab check for files having the allow-tabs property
Summary: check-webkit-style: Suppress the usual tab check for files having the allow-t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 33227
  Show dependency treegraph
 
Reported: 2010-01-15 13:45 PST by Chris Jerdonek
Modified: 2010-02-01 15:51 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jerdonek 2010-01-15 13:45:49 PST
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 "see" the allow-tabs property.  See, for instance, the "Bugs" section of the man page for git-svn(1):

> We ignore all SVN properties except svn:executable. Any unhandled properties are logged to $GIT_DIR/svn/<refname>/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?
Comment 1 Chris Jerdonek 2010-01-16 10:56:02 PST
Adding Kent to the CC since he added the tab check.
Comment 2 David Kilzer (:ddkilzer) 2010-01-16 11:56:39 PST
(In reply to comment #0)
> Would implementing this enhancement mean that check-webkit-style will not yield
> 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 'http://svn.webkit.org/repository/webkit/trunk/WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl':
  allow-tabs