You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2019/05/06 13:56:37 UTC

[incubator-openwhisk-utilities] branch master updated: Housekeeping: remove unused scancode .cfg files (#62)

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

dgrove 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 dc038b8  Housekeeping: remove unused scancode .cfg files (#62)
dc038b8 is described below

commit dc038b89916551c5276f2b2d6135e74b43c43cbb
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Mon May 6 09:56:33 2019 -0400

    Housekeeping: remove unused scancode .cfg files (#62)
---
 scancode/NoExclusions.cfg | 87 -----------------------------------------------
 scancode/scanCode.cfg     | 85 ---------------------------------------------
 2 files changed, 172 deletions(-)

diff --git a/scancode/NoExclusions.cfg b/scancode/NoExclusions.cfg
deleted file mode 100644
index b3c6348..0000000
--- a/scancode/NoExclusions.cfg
+++ /dev/null
@@ -1,87 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more contributor
-# license agreements; and to You under the Apache License, Version 2.0.
-
-# scanCode.py configuration file
-
-# List of filenames containing the text of valid license (headers)
-# These files SHOULD be in the same directory path where scanCode.py
-# resides.
-[Licenses]
-ASFLicenseHeader.txt
-ASFLicenseHeaderBash.txt
-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, regex_check, has_block_license
-*.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
-
-# Sanity check files not required to have ASF headers because either they
-# are excluded or are not packaged with the Apache source release.
-*.cfg=regex_check
-*.ini=regex_check
-*.j2=regex_check
-*.json=regex_check
-*.txt=regex_check
-*.xml=regex_check
-
-# List of paths (inclusive of subdirectories) to exclude from code scanning
-[Excludes]
-
-# General tooling & binary file exclusions
-.bin
-.dockerignore
-.git
-.gitattributes
-.github
-.gitignore
-.jshintrc
-.profiling.*
-.pydevproject
-.rat-excludes
-
-# Exclude performance test files (no significant content)
-incubator-openwhisk/tests/performance/wrk_tests
-incubator-openwhisk/tests/dat/actions
-incubator-openwhisk/docs/images
-incubator-openwhisk/bin
-
-# incubator-openwhisk-client-go, incubator-openwhisk-wskdeploy autogenerated Go files
-# NOTE: we SHOULD make this more granular, there are many .go files that can have
-# ASF license headers
-incubator-openwhisk-wskdeploy/specification/images
-wski18n
-
-# Exclude scancode tests that test for bad license headers
-incubator-openwhisk-utilities/scancode/tests/exclude
-
-[Options]
-# Not all code files allow licenses to appear starting at the first character
-# of the file. This option tells the scan to allow licenses to appear starting
-# within the first 'x' characters of each code file (as provided by this option's
-# value).
-LICENSE_SLACK_LENGTH=500
-
-# List of regular expressions for forbidden strings, e.g. \w+@company.com
-[Regex]
diff --git a/scancode/scanCode.cfg b/scancode/scanCode.cfg
deleted file mode 100644
index 4a13dcf..0000000
--- a/scancode/scanCode.cfg
+++ /dev/null
@@ -1,85 +0,0 @@
-# scanCode.py configuration file
-
-# List of filenames containing the text of valid license (headers)
-# These files SHOULD be in the same directory path where scanCode.py
-# resides.
-[Licenses]
-ApacheIBMLicenseHeader.txt
-ASFLicenseHeader.txt
-ASFLicenseHeaderBash.txt
-ASFLicenseHeaderHash.txt
-ASFLicenseHeaderLua.txt
-ASFMinifiedLicenseHashHeader.txt
-ASFMinifiedLicenseHeader.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
-*.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
-*.md=no_tabs, eol_at_eof
-*.py=no_tabs, no_trailing_spaces, eol_at_eof
-*.scala=has_block_license, no_tabs, no_trailing_spaces, eol_at_eof
-*.cs=has_block_license
-
-# List of paths (inclusive of subdirectories) to exlude from code scanning
-[Excludes]
-# General exclusions
-.bin
-.dockerignore
-.git
-.gitattributes
-.github
-.gitignore
-.gradle
-.jshintrc
-.profiling.*
-.pydevproject
-.rat-excludes
-.tox
-
-# OpenWhisk binary artifact exclusion
-bin
-images
-obj
-
-# 'vendor' and cache directory create by gograble build tool
-.gogradle
-vendor
-
-# Jenkins/test generated reports
-tests/build/reports
-
-# incubator-openwhisk-client-go, autogenerated Go files
-wski18n
-
-# exclude intentionally excluded subset of scancode function tests
-scancode/tests/exclude
-
-# The following repos. have so far been identified as having scanning errors
-# and will be excluded until their owners have completed updates to add Travis
-# support, run scancode and become compliant.
-openwhisk-debugger
-openwhisk-vscode
-openwhisk-devtools
-openwhisk-sample-matos
-openwhisk-GitHubSlackBot
-openwhisk-tutorial
-openwhisk-playground
-openwhisk-workshop
-openwhisk-xcode
-
-[Options]
-# Not all code files allow licenses to appear starting at the first character
-# of the file. This option tells the scan to allow licenses to appear starting
-# within first 'x' characters of each code file (as provided by this option's
-# value).
-LICENSE_SLACK_LENGTH=500
-
-# List of regular expressions for forbidden strings, e.g. \w+@company.com
-[Regex]