Skip to content

Commit 6a79a69

Browse files
mrutkowspritidesai
authored andcommitted
Update .md and .sh files to pass scancode. (#288)
* Update .md and .sh files to pass scancode. * Use latest .cfg file for scancode for .md and .sh files.
1 parent dfc498d commit 6a79a69

3 files changed

Lines changed: 30 additions & 32 deletions

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<!--
22
#
3-
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
4-
# license agreements. See the NOTICE file distributed with this work for additional
3+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
4+
# license agreements. See the NOTICE file distributed with this work for additional
55
# information regarding copyright ownership. The ASF licenses this file to you
6-
# under the Apache License, Version 2.0 (the # "License"); you may not use this
7-
# file except in compliance with the License. You may obtain a copy of the License
6+
# under the Apache License, Version 2.0 (the # "License"); you may not use this
7+
# file except in compliance with the License. You may obtain a copy of the License
88
# at:
99
#
1010
# http://www.apache.org/licenses/LICENSE-2.0
1111
#
12-
# Unless required by applicable law or agreed to in writing, software distributed
13-
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12+
# Unless required by applicable law or agreed to in writing, software distributed
13+
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
1414
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations under the License.
1616
#
@@ -20,7 +20,7 @@
2020

2121
## Set up the development environment
2222

23-
In order to develop OpenWhisk CLI on your local machine. First, install the prerequisites to
23+
In order to develop OpenWhisk CLI on your local machine. First, install the prerequisites to
2424
download and build OpenWhisk CLI: [installing Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).
2525

2626
Then, save the project in the location compliant with the Go standard naming convention, which means you need to

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<!--
22
#
3-
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
4-
# license agreements. See the NOTICE file distributed with this work for additional
3+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
4+
# license agreements. See the NOTICE file distributed with this work for additional
55
# information regarding copyright ownership. The ASF licenses this file to you
6-
# under the Apache License, Version 2.0 (the # "License"); you may not use this
7-
# file except in compliance with the License. You may obtain a copy of the License
6+
# under the Apache License, Version 2.0 (the # "License"); you may not use this
7+
# file except in compliance with the License. You may obtain a copy of the License
88
# at:
99
#
1010
# http://www.apache.org/licenses/LICENSE-2.0
1111
#
12-
# Unless required by applicable law or agreed to in writing, software distributed
13-
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12+
# Unless required by applicable law or agreed to in writing, software distributed
13+
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
1414
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations under the License.
1616
#

tools/travis/test_openwhisk.sh

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
#!/usr/bin/env bash
2-
3-
# Licensed to the Apache Software Foundation (ASF) under one
4-
# or more contributor license agreements. See the NOTICE file
5-
# distributed with this work for additional information
6-
# regarding copyright ownership. The ASF licenses this file
7-
# to you under the Apache License, Version 2.0 (the
8-
# "License"); you may not use this file except in compliance
9-
# with the License. You may obtain a copy of the License at
10-
#
11-
# http://www.apache.org/licenses/LICENSE-2.0
12-
#
13-
# Unless required by applicable law or agreed to in writing,
14-
# software distributed under the License is distributed on an
15-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16-
# KIND, either express or implied. See the License for the
17-
# specific language governing permissions and limitations
18-
# under the License.
1+
#!/bin/bash
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
1917
#
2018

2119
set -e
@@ -64,7 +62,7 @@ export OPENWHISK_HOME
6462
UTILDIR="$( cd "${UTILDIR:-$HOMEDIR/incubator-openwhisk-utilities}" && pwd )"
6563
export UTILDIR
6664
cd $UTILDIR
67-
scancode/scanCode.py --config scancode/ASF-Release.cfg $TRAVIS_BUILD_DIR
65+
scancode/scanCode.py --config scancode/ASF-Release-v2.cfg $TRAVIS_BUILD_DIR
6866

6967
#
7068
# Run Golint

0 commit comments

Comments
 (0)