diff --git a/README.md b/README.md index b06e96e54..ed0e2772a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ diff --git a/build-generator.sh b/build-generator.sh index 9ff30152e..5036c8da3 100755 --- a/build-generator.sh +++ b/build-generator.sh @@ -1,14 +1,18 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2020-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# 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. BLUE='\033[1;34m' GREEN='\033[0;32m' diff --git a/build.sh b/build.sh index e50006f21..b42b1e6e3 100755 --- a/build.sh +++ b/build.sh @@ -1,14 +1,18 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2020-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# 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. BLUE='\033[1;34m' GREEN='\033[0;32m' diff --git a/build/typescript-model/generate-metadata.py b/build/typescript-model/generate-metadata.py index 07e7ef8c0..7f924f562 100644 --- a/build/typescript-model/generate-metadata.py +++ b/build/typescript-model/generate-metadata.py @@ -1,14 +1,17 @@ # -# Copyright (c) 2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2021-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# 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. import os import argparse diff --git a/build/typescript-model/generate-swagger-json.py b/build/typescript-model/generate-swagger-json.py index 5ccef45a0..65121f820 100644 --- a/build/typescript-model/generate-swagger-json.py +++ b/build/typescript-model/generate-swagger-json.py @@ -1,14 +1,17 @@ # -# Copyright (c) 2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2021-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# 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. import os import json diff --git a/build/typescript-model/generate.sh b/build/typescript-model/generate.sh index fff53a88f..675c1236a 100755 --- a/build/typescript-model/generate.sh +++ b/build/typescript-model/generate.sh @@ -34,7 +34,7 @@ EOF sed -i 's/\"name\": \".*\"/"name": "@devfile\/api"/g' $WORK_DIR/typescript-models/package.json sed -i 's/\"description\": \".*\"/"description": "Typescript types for devfile api"/g' $WORK_DIR/typescript-models/package.json sed -i 's/\"repository\": \".*\"/"repository": "devfile\/api"/g' $WORK_DIR/typescript-models/package.json - sed -i 's/\"license\": \".*\"/"license": "EPL-2.0"/g' $WORK_DIR/typescript-models/package.json + sed -i 's/\"license\": \".*\"/"license": "Apache-2.0"/g' $WORK_DIR/typescript-models/package.json sed -i 's/\"@types\/bluebird\": \".*\"/"@types\/bluebird": "3.5.21"/g' $WORK_DIR/typescript-models/package.json echo "" > $WORK_DIR/typescript-models/.npmignore echo "[INFO] Generated typescript model which now is available in $WORK_DIR/typescript-models" diff --git a/diffJsons.sh b/diffJsons.sh index 47e99f551..0e62df193 100755 --- a/diffJsons.sh +++ b/diffJsons.sh @@ -1,14 +1,18 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2020-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# 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. BLUE='\033[1;34m' GREEN='\033[0;32m' diff --git a/docker-run.sh b/docker-run.sh index 2f054637e..88a9297c4 100755 --- a/docker-run.sh +++ b/docker-run.sh @@ -1,14 +1,19 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2020-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# 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. + # git ROOT directory used to mount filesystem GIT_ROOT_DIRECTORY=$(git rev-parse --show-toplevel) diff --git a/make-release.sh b/make-release.sh index 5a32aa3f7..b753b1801 100755 --- a/make-release.sh +++ b/make-release.sh @@ -1,16 +1,18 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2020-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation - -# Based on https://github.com/che-incubator/chectl/blob/master/make-release.sh +# 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. set -e set -u diff --git a/validate-samples.sh b/validate-samples.sh index 9d50292e9..b5539018a 100755 --- a/validate-samples.sh +++ b/validate-samples.sh @@ -1,14 +1,18 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright 2020-2022 Red Hat, Inc. # -# SPDX-License-Identifier: EPL-2.0 +# 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 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# 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. BLUE='\033[1;34m' GREEN='\033[0;32m'