Skip to content

Commit

Permalink
FAB-4109 add license header to shell scripts
Browse files Browse the repository at this point in the history
add license header to shell scripts
remove dchackfest folder - obsolete
Modified to use SPDX short identifier

Change-Id: Iee917074cb057ff81c7b673b9a482f15507f0c14
Signed-off-by: Christopher Ferris <chrisfer@us.ibm.com>
  • Loading branch information
christo4ferris committed May 23, 2017
1 parent 4c15c17 commit 19edb32
Show file tree
Hide file tree
Showing 59 changed files with 287 additions and 2,806 deletions.
14 changes: 2 additions & 12 deletions bddtests/regression/daily_test_suite.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
#!/bin/bash
#
# Copyright IBM Corp. 2016 All Rights Reserved.
# Copyright IBM Corp. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0
#

# DESCRIPTION:
Expand Down
6 changes: 6 additions & 0 deletions bddtests/regression/go/ote/docker_images.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# Clone fabric git repository
#############################
echo "Fabric Images"
Expand Down
6 changes: 6 additions & 0 deletions bddtests/regression/go/ote/driver.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#


InvalidArgs=0

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


cmdname=$(basename $0)

Expand Down Expand Up @@ -158,4 +183,4 @@ if [ "$CLI" != "" ]; then
exec $CLI
else
exit $RESULT
fi
fi
6 changes: 6 additions & 0 deletions devenv/golang_buildcmd.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/sh
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

set -e
for arch in 8 6; do
for cmd in a c g l; do
Expand Down
6 changes: 6 additions & 0 deletions devenv/golang_buildpkg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/sh
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

if [ -z "$1" ]; then
echo 'GOOS is not specified' 1>&2
exit 2
Expand Down
6 changes: 6 additions & 0 deletions devenv/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#


set -e
set -x
Expand Down
6 changes: 6 additions & 0 deletions devenv/setupRHELonZ.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#


# Development on Z is done on the native OS, not in Vagrant. This script can be
# used to set things up in RHEL on Z, similar to devenv/setup.sh which does the
Expand Down
6 changes: 6 additions & 0 deletions devenv/setupUbuntuOnPPC64le.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#


# Development on Power (ppc64le) systems is done outside of vagrant, on the
# native OS. This script helps setup the dev env on ppc64le Ubuntu.
Expand Down
12 changes: 1 addition & 11 deletions docs/source/dev-setup/headers.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
/*
Copyright [COPYRIGHT OWNER] All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
SPDX-License-Identifier: Apache-2.0
*/
6 changes: 6 additions & 0 deletions examples/cluster/compose/report-env.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Copyright Greg Haskins All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#


NODES=$1
CONFIG=$2
Expand Down
6 changes: 6 additions & 0 deletions examples/cluster/configure.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Copyright Greg Haskins All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#


set -x
set -e
Expand Down
Loading

0 comments on commit 19edb32

Please sign in to comment.