You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ho...@apache.org on 2018/05/25 18:56:32 UTC

[incubator-openwhisk-utilities] branch master updated: Update repo. files to latest ASF license scanning standards to match OW project policies (#42)

This is an automated email from the ASF dual-hosted git repository.

houshengbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-utilities.git


The following commit(s) were added to refs/heads/master by this push:
     new caf4cf1  Update repo. files to latest ASF license scanning standards to match OW project policies (#42)
caf4cf1 is described below

commit caf4cf14e59de2cbae25ca98ee0e6e30d1560442
Author: Matt Rutkowski <mr...@us.ibm.com>
AuthorDate: Fri May 25 13:56:25 2018 -0500

    Update repo. files to latest ASF license scanning standards to match OW project policies (#42)
    
    * remove trailing whitespace in README.
    
    * Add all, latest ASF license checks for utilities repo.
    
    * update dot file exclusins in travis cfg.
---
 README.md                 |  2 +-
 scancode/ASF-Release.cfg  |  1 +
 scancode/NoExclusions.cfg |  1 +
 scancode/travis.cfg       | 41 ++++++++++++++++++++++++++++-------------
 4 files changed, 31 insertions(+), 14 deletions(-)

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

-- 
To stop receiving notification emails like this one, please contact
houshengbo@apache.org.