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-release.git


The following commit(s) were added to refs/heads/master by this push:
     new ee07685  Update the documentation for release 0.9.0 (#221)
ee07685 is described below

commit ee076856c9afc50e065b2f2b043f856bbc90db0c
Author: violagao <[email protected]>
AuthorDate: Mon Jul 9 12:06:26 2018 -0400

    Update the documentation for release 0.9.0 (#221)
    
    This PR adds the instruction to check the Apache license header.
---
 releases/0.9.0-incubating/INSTALL.md | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/releases/0.9.0-incubating/INSTALL.md 
b/releases/0.9.0-incubating/INSTALL.md
index 6623be4..f4415e4 100644
--- a/releases/0.9.0-incubating/INSTALL.md
+++ b/releases/0.9.0-incubating/INSTALL.md
@@ -91,6 +91,25 @@ tar -xvzf openwhisk-0.9.0-incubating-sources.tar.gz
 # Verify the Apache license header
 
 OpenWhisk uses a tool called 
[`scanCode`](https://github.com/apache/incubator-openwhisk-utilities/tree/master/scancode)
 to check the license header of each source file included in the release. 
Please check the [`scanCode` 
tutorial](https://github.com/apache/incubator-openwhisk-utilities) for 
instructions to download and run the tool and scan all code in the release.
+Download the OpenWhisk utilities project with the following command:
+
+```
+git clone https://github.com/apache/incubator-openwhisk-utilities.git
+```
+
+Go to the directory of the OpenWhisk utilities and run the following command:
+
+```
+scancode/scanCode.py --config scancode/ASF-Release.cfg <Path of 
incubator-openwhisk-0.9.0-incubating>
+```
+
+All the checks have passed for Apache license header, if you receive the 
result as below:
+
+```
+Reading configuration file [scancode/ASF-Release.cfg]...
+Scanning files starting at [/Users/vincent/workspace/openwhisk]...
+All checks passed.
+```
 
 # Building OpenWhisk
 
@@ -171,7 +190,8 @@ Open the terminal, and go to the directory $OPENWHISK_HOME. 
Install the Gradle w
 gradle wrapper
 ```
 
-Then, run the following gradlew command to build the source code:
+Some files regarding gradle wrapper will be updated or generated with this 
command, so we recommend you to verify the source code based on Apache
+policies before running it. After this wrapper generation, run the following 
gradlew command to build the source code:
 
 ```
 ./gradlew distDocker

Reply via email to