houshengbo closed pull request #42: Update repo. files to latest ASF license 
scanning standards to match OW project policies
URL: https://github.com/apache/incubator-openwhisk-utilities/pull/42
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/README.md b/README.md
index 4bd83a1..93c7de3 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ Scan detected 3 error(s) in 1 file(s):
       27: line has trailing whitespaces.
 ```
 
-To make sure this never happens to you, you can run the same tests on your 
local machine every time you commit changes. 
+To make sure this never happens to you, you can run the same tests on your 
local machine every time you commit changes.
 
 1. Clone the OpenWhisk utilities project repo.:
 ```bash
diff --git a/scancode/ASF-Release.cfg b/scancode/ASF-Release.cfg
index 5bc9bd1..724d848 100644
--- a/scancode/ASF-Release.cfg
+++ b/scancode/ASF-Release.cfg
@@ -57,6 +57,7 @@ ASFMinifiedLicenseHeaderREM.txt
 .github
 .gitignore
 .jshintrc
+.profiling.*
 .pydevproject
 .rat-excludes
 
diff --git a/scancode/NoExclusions.cfg b/scancode/NoExclusions.cfg
index f465c77..b3c6348 100644
--- a/scancode/NoExclusions.cfg
+++ b/scancode/NoExclusions.cfg
@@ -57,6 +57,7 @@ ASFMinifiedLicenseHeaderREM.txt
 .github
 .gitignore
 .jshintrc
+.profiling.*
 .pydevproject
 .rat-excludes
 
diff --git a/scancode/travis.cfg b/scancode/travis.cfg
index 6b3ddb1..9c10889 100644
--- a/scancode/travis.cfg
+++ b/scancode/travis.cfg
@@ -10,29 +10,44 @@ ASFLicenseHeaderHash.txt
 ASFLicenseHeaderLua.txt
 ASFMinifiedLicenseHashHeader.txt
 ASFMinifiedLicenseHeader.txt
+ASFMinifiedLicenseHeaderREM.txt
 
 # Filters (path/filename) with wildcards and associated scan checks
 # that are to be run against them.  The checks are actual valid
 # function names found in scanCode.py.
 [Includes]
-*=is_not_symlink
-*.conf=has_block_license, no_trailing_spaces, eol_at_eof
-*.go=has_block_license, no_trailing_spaces, eol_at_eof
-*.gradle=no_tabs, no_trailing_spaces, eol_at_eof
-*.java=has_block_license, no_tabs, no_trailing_spaces, eol_at_eof
-*.js=no_tabs, no_trailing_spaces, eol_at_eof
-*.lua=has_block_license, no_trailing_spaces, eol_at_eof
-*.md=has_block_license, no_trailing_spaces, eol_at_eof, no_tabs
-*.py=no_tabs, no_trailing_spaces, eol_at_eof
-*.scala=has_block_license, no_tabs, no_trailing_spaces, eol_at_eof
-*.sh=has_block_license, no_trailing_spaces, eol_at_eof
+*=is_not_symlink, regex_check
+*.conf=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.go=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.gradle=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.groovy=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.html=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.java=no_tabs, has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.js=no_tabs, has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.lua=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.md=no_tabs, has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.properties=no_tabs, has_block_license, no_trailing_spaces, eol_at_eof, 
regex_check
+*.py=no_tabs, has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.scala=has_block_license, no_tabs, no_trailing_spaces, eol_at_eof, regex_check
+*.sh=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.swift=no_tabs, has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.yaml=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
+*.yml=has_block_license, no_trailing_spaces, eol_at_eof, regex_check
 
 # List of paths (inclusive of subdirectories) to exlude from code scanning
 [Excludes]
 # General exclusions
-.tox
-.git
 .bin
+.dockerignore
+.git
+.gitattributes
+.github
+.gitignore
+.jshintrc
+.profiling.*
+.pydevproject
+.rat-excludes
+.tox
 
 # Scancode unit tests
 tests/exclude


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to