You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/05/15 21:41:30 UTC
[GitHub] mrutkows commented on issue #909: Fix LICENSE headers in all
YAML/.js under "tests" folder
mrutkows commented on issue #909: Fix LICENSE headers in all YAML/.js under "tests" folder
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/909#issuecomment-389322738
Tried to fix as many as possible, but needed this issue to track the remaining ones. Scancode results indicate the following files have issues:
```
$ ./scanCode.py --config NoExclusions.cfg ../../incubator-openwhisk-wskdeploy/
Reading configuration file [NoExclusions.cfg]...
Scanning files starting at [../../incubator-openwhisk-wskdeploy/]...
Scan detected 117 error(s) in 116 file(s):
[../../incubator-openwhisk-wskdeploy/tests/apps/openwhisk-githubslackbot/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger/runtimes/node/actions/process-change.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger/runtimes/node/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger/runtimes/php/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger/runtimes/python/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger/runtimes/swift/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_compose_trigger.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_data_action_with_inputs_outputs.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_data_packages.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_data_packages_env_var.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_data_project.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_data_project_package.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_data_project_packages_env_var.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_data_project_packages_env_var_con.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_validate_action_annotations.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_validate_credentials.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/deployment_validate_deployment_reader.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_bad_yaml_invalid_comment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_bad_yaml_invalid_key_mapping_value.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_bad_yaml_invalid_package_key.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_bad_yaml_missing_root_key.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_annotations.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_docker.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_function.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_function_and_code.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_function_with_remote_dir.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_invalid_web.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_limits.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_missing_runtime_with_code.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_web.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_actions_for_web_and_web_export.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_api_records.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_dependencies.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_rules.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_runtimes_implicit.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_sequences.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_compose_triggers.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_rule_env_var.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_data_unmarshal_packages.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_hello_java_jar.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_hello_nodejs.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_hello_nodejs_with_params.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_hello_python.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_hello_swift.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_invalid_packages_key_missing.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_action_all.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_action_annotations.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_credentials.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_dependencies.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_dependencies_bogus.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_deployment_reader.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_feed.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_json_params.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_multiline_params.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_package_grammar.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_package_grammar_env_var.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_package_inputs_and_annotations.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_params.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_rule.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_rules_bogus.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_sequences_bogus.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_singleline_params.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_trigger_action_rule_grammar.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_triggerfeed.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/dat/manifest_validate_triggers_bogus.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/alarmtrigger/actions/hello.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/alarmtrigger/deployment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/alarmtrigger/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/apigateway/src/delete-books.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/apigateway/src/get-books.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/apigateway/src/greeting.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/apigateway/src/list-members.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/apigateway/src/post-books.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/apigateway/src/put-books.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/cloudant/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/conductor/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/defaultpackage/manifest-with-project.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/defaultpackage/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/dependency/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/docker/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/export/manifest_ext.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/export/manifest_lib1.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/export/manifest_lib2.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/flagstests/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/flagstests/src/greeting.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/helloworld/deployment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/helloworld/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/jaraction/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/00-manifest-minus-second-package.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/01-manifest-minus-sequence-2.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/02-manifest-minus-action-3.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/03-manifest-minus-trigger.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/04-manifest-minus-package.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/05-manifest-headless.yaml]:
1: file does not include required license header.
22: file does not end with EOL.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/06-manifest-with-single-dependency.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/07-manifest-with-dependency.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/08-manifest-with-dependencies-on-whisk-system.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/managed-deployment/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/message-hub/deployment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/message-hub/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/message-hub/src/process-messages.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/message-hub/src/receive-messages.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/runtimetests/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/runtimetests/src/greeting.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/runtimetests/src/helloworld/index.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/runtimetests/src/helloworld/node_modules/string-format/lib/string-format.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/triggerrule/src/greeting.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-action-annotations/deployment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-action-annotations/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-binding-inputs-annotations/actions/helloworld.js]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-binding-inputs-annotations/deployment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-binding-inputs-annotations/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions/deployment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions/manifest.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions/not-standard-deployment.yaml]:
1: file does not include required license header.
[../../incubator-openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions/not-standard-manifest.yaml]:
1: file does not include required license header.
Scan detected 117 error(s) in 116 file(s):
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services