houshengbo closed pull request #144: Update header scan policy document URL: https://github.com/apache/incubator-openwhisk-release/pull/144
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/docs/license_compliance.md b/docs/license_compliance.md index 6f5f6ce..0a075a1 100644 --- a/docs/license_compliance.md +++ b/docs/license_compliance.md @@ -55,8 +55,11 @@ In addition, the type of header used (i.e., "full" ASF header or ASF approved "m | Installation script files (`*.sh`) | Full ASF license header | | | Travis files (`*.sh`) | Full ASF license header | | | Makefile | Full ASF license header | | -| Test data files | Mini ASF license header | Needs IP protection; also need to take care of the performance | +| Source files of test actions (e.g., .js, .py, .swift, etc, particularly under `tests/dat` folder.) | Mini ASF license header | Needs IP protection; also need to take care of the performance | | Action files in catalog (e.g., .js, .py, .swift, etc.) | Mini ASF license header | with much creativity so need IP protection; also need to take care of the performance | +| `build.gradle` and `settings.gradle` | Full ASF license header | build script and configuration for building with Gradle | +| `gradle/docker.gradle` | Full ASF license header | build script to generate docker image using Gradle | +| `*.conf` | Full ASF license header | Configuration file | ### Known exclusions @@ -70,7 +73,6 @@ In accordance with Apache LICENSE policies, the table below lists known exclusio | Template files (`*.j2`) | Not much creativity | | JSON files (`*.json`) | JSON files don't support comments | | `i18n_resources.go` | Not much creativity. The file is auto-generated; not able to add header | -| `*.conf` | Configuration file. Not much creativity. See a sample [here](https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/master/tests/src/test/resources/application.conf) | | `*.env` | Configuration file. Not much creativity. See a sample [here](https://github.com/apache/incubator-openwhisk/blob/master/ansible/environments/distributed/files/openstack/openstack.env) | | `*.cfg` | Configuration file. Not much creativity. See a sample [here](https://github.com/apache/incubator-openwhisk/blob/master/ansible/ansible.cfg) | | `*.ini` | Configuration file. Not much creativity. See a sample [here](https://github.com/apache/incubator-openwhisk/blob/master/ansible/files/package-versions.ini) | @@ -85,6 +87,7 @@ In accordance with Apache LICENSE policies, the table below lists known exclusio | `openwhisk/tests/dat/apigw/testswaggerdoc*` | JSON files as test input data. See a sample [here](https://github.com/apache/incubator-openwhisk/blob/master/tests/dat/apigw/testswaggerdoc2) | | `openwhisk/tests/dat/actions/empty.js` | Empty file. See a sample [here](https://github.com/apache/incubator-openwhisk/blob/master/tests/dat/actions/empty.js) | | `SwiftyRequest/Package.resolved` | Configuration used by Swift Package Manager. See a sample [here](https://github.com/apache/incubator-openwhisk-runtime-swift/blob/master/tests/dat/actions/SwiftyRequest/Package.resolved) | +| `gradlew.bat` and `gradlew` | Generated by Gradle wrapper. See a sample [here](https://github.com/apache/incubator-openwhisk/blob/master/gradlew.bat) | ## Enforcement and verification diff --git a/tools/lib/pom.xml b/tools/lib/pom.xml index c0fc23d..5420b2a 100644 --- a/tools/lib/pom.xml +++ b/tools/lib/pom.xml @@ -51,9 +51,7 @@ <exclude>**/tests/dat/apigw/testswaggerdoc*</exclude> <exclude>**/SwiftyRequest/Package.resolved</exclude> <!-- gradle files --> - <exclude>**/**.gradle</exclude> <exclude>**/gradlew**</exclude> - <exclude>**/gradle/**</exclude> <!-- configuration files with dot as the prefix --> <exclude>**/.**</exclude> <!-- template files --> @@ -74,7 +72,6 @@ <exclude>**/CREDITS.txt</exclude> <!-- configuration files --> <exclude>**/group_vars/all</exclude> - <exclude>**/**.conf</exclude> <exclude>**/**.env</exclude> <exclude>**/**.cfg</exclude> <exclude>**/**.ini</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: [email protected] With regards, Apache Git Services
