Skip to content

Commit 19edb32

Browse files
FAB-4109 add license header to shell scripts
add license header to shell scripts remove dchackfest folder - obsolete Modified to use SPDX short identifier Change-Id: Iee917074cb057ff81c7b673b9a482f15507f0c14 Signed-off-by: Christopher Ferris <[email protected]>
1 parent 4c15c17 commit 19edb32

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+287
-2806
lines changed

bddtests/regression/daily_test_suite.sh

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
#!/bin/bash
22
#
3-
# Copyright IBM Corp. 2016 All Rights Reserved.
3+
# Copyright IBM Corp. All Rights Reserved.
44
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
5+
# SPDX-License-Identifier: Apache-2.0
166
#
177

188
# DESCRIPTION:

bddtests/regression/go/ote/docker_images.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28
# Clone fabric git repository
39
#############################
410
echo "Fabric Images"

bddtests/regression/go/ote/driver.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28

39
InvalidArgs=0
410

bddtests/scripts/wait-for-it.sh

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
#!/bin/sh
22
# Modified from https://github.com/vishnubob/wait-for-it to be POSIX compatible
33
# Use this script to test if a given TCP host/port are available
4+
# The MIT License (MIT)
5+
# Copyright (c) 2016 Giles Hall
6+
#
7+
# Permission is hereby granted, free of charge, to any person obtaining a copy of
8+
# this software and associated documentation files (the "Software"), to deal in
9+
# the Software without restriction, including without limitation the rights to
10+
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11+
# of the Software, and to permit persons to whom the Software is furnished to do
12+
# so, subject to the following conditions:
13+
#
14+
# The above copyright notice and this permission notice shall be included in all
15+
# copies or substantial portions of the Software.
16+
#
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
# SOFTWARE.
24+
#
25+
#
26+
# SPDX-License-Identifier: Apache-2.0
27+
#
28+
429

530
cmdname=$(basename $0)
631

@@ -158,4 +183,4 @@ if [ "$CLI" != "" ]; then
158183
exec $CLI
159184
else
160185
exit $RESULT
161-
fi
186+
fi

devenv/golang_buildcmd.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/sh
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28
set -e
39
for arch in 8 6; do
410
for cmd in a c g l; do

devenv/golang_buildpkg.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/sh
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28
if [ -z "$1" ]; then
39
echo 'GOOS is not specified' 1>&2
410
exit 2

devenv/setup.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28

39
set -e
410
set -x

devenv/setupRHELonZ.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28

39
# Development on Z is done on the native OS, not in Vagrant. This script can be
410
# used to set things up in RHEL on Z, similar to devenv/setup.sh which does the

devenv/setupUbuntuOnPPC64le.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28

39
# Development on Power (ppc64le) systems is done outside of vagrant, on the
410
# native OS. This script helps setup the dev env on ppc64le Ubuntu.

docs/source/dev-setup/headers.txt

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
/*
22
Copyright [COPYRIGHT OWNER] All Rights Reserved.
33

4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
4+
SPDX-License-Identifier: Apache-2.0
155
*/

examples/cluster/compose/report-env.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright Greg Haskins All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28

39
NODES=$1
410
CONFIG=$2

examples/cluster/configure.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright Greg Haskins All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28

39
set -x
410
set -e

0 commit comments

Comments
 (0)