Skip to content

Commit f9338ba

Browse files
authored
licence updates (#869)
Signed-off-by: Kim Tsao <[email protected]>
1 parent f9c433c commit f9338ba

File tree

10 files changed

+89
-60
lines changed

10 files changed

+89
-60
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div id="header" align="center">
44

5-
[![Eclipse License](https://img.shields.io/badge/license-Eclipse-brightgreen.svg)](LICENSE)
5+
[![Apache License](https://img.shields.io/badge/license-Apache-brightgreen.svg)](LICENSE)
66
[![Contribute](https://img.shields.io/badge/developer-workspace-525C86?logo=eclipse-che&labelColor=FDB940)](https://workspaces.openshift.com/f?url=https://github.com/devfile/api)
77

88
</div>

build-generator.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2020 Red Hat, Inc.
4-
# This program and the accompanying materials are made
5-
# available under the terms of the Eclipse Public License 2.0
6-
# which is available at https://www.eclipse.org/legal/epl-2.0/
3+
# Copyright 2020-2022 Red Hat, Inc.
74
#
8-
# SPDX-License-Identifier: EPL-2.0
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
98
#
10-
# Contributors:
11-
# Red Hat, Inc. - initial API and implementation
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.
1216

1317
BLUE='\033[1;34m'
1418
GREEN='\033[0;32m'

build.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2020 Red Hat, Inc.
4-
# This program and the accompanying materials are made
5-
# available under the terms of the Eclipse Public License 2.0
6-
# which is available at https://www.eclipse.org/legal/epl-2.0/
3+
# Copyright 2020-2022 Red Hat, Inc.
74
#
8-
# SPDX-License-Identifier: EPL-2.0
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
98
#
10-
# Contributors:
11-
# Red Hat, Inc. - initial API and implementation
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.
1216

1317
BLUE='\033[1;34m'
1418
GREEN='\033[0;32m'

build/typescript-model/generate-metadata.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
#
2-
# Copyright (c) 2021 Red Hat, Inc.
3-
# This program and the accompanying materials are made
4-
# available under the terms of the Eclipse Public License 2.0
5-
# which is available at https://www.eclipse.org/legal/epl-2.0/
2+
# Copyright 2021-2022 Red Hat, Inc.
63
#
7-
# SPDX-License-Identifier: EPL-2.0
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
87
#
9-
# Contributors:
10-
# Red Hat, Inc. - initial API and implementation
8+
# http://www.apache.org/licenses/LICENSE-2.0
119
#
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.
1215

1316
import os
1417
import argparse

build/typescript-model/generate-swagger-json.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
#
2-
# Copyright (c) 2021 Red Hat, Inc.
3-
# This program and the accompanying materials are made
4-
# available under the terms of the Eclipse Public License 2.0
5-
# which is available at https://www.eclipse.org/legal/epl-2.0/
2+
# Copyright 2021-2022 Red Hat, Inc.
63
#
7-
# SPDX-License-Identifier: EPL-2.0
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
87
#
9-
# Contributors:
10-
# Red Hat, Inc. - initial API and implementation
8+
# http://www.apache.org/licenses/LICENSE-2.0
119
#
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.
1215

1316
import os
1417
import json

build/typescript-model/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ EOF
3434
sed -i 's/\"name\": \".*\"/"name": "@devfile\/api"/g' $WORK_DIR/typescript-models/package.json
3535
sed -i 's/\"description\": \".*\"/"description": "Typescript types for devfile api"/g' $WORK_DIR/typescript-models/package.json
3636
sed -i 's/\"repository\": \".*\"/"repository": "devfile\/api"/g' $WORK_DIR/typescript-models/package.json
37-
sed -i 's/\"license\": \".*\"/"license": "EPL-2.0"/g' $WORK_DIR/typescript-models/package.json
37+
sed -i 's/\"license\": \".*\"/"license": "Apache-2.0"/g' $WORK_DIR/typescript-models/package.json
3838
sed -i 's/\"@types\/bluebird\": \".*\"/"@types\/bluebird": "3.5.21"/g' $WORK_DIR/typescript-models/package.json
3939
echo "" > $WORK_DIR/typescript-models/.npmignore
4040
echo "[INFO] Generated typescript model which now is available in $WORK_DIR/typescript-models"

diffJsons.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2020 Red Hat, Inc.
4-
# This program and the accompanying materials are made
5-
# available under the terms of the Eclipse Public License 2.0
6-
# which is available at https://www.eclipse.org/legal/epl-2.0/
3+
# Copyright 2020-2022 Red Hat, Inc.
74
#
8-
# SPDX-License-Identifier: EPL-2.0
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
98
#
10-
# Contributors:
11-
# Red Hat, Inc. - initial API and implementation
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.
1216

1317
BLUE='\033[1;34m'
1418
GREEN='\033[0;32m'

docker-run.sh

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2020 Red Hat, Inc.
4-
# This program and the accompanying materials are made
5-
# available under the terms of the Eclipse Public License 2.0
6-
# which is available at https://www.eclipse.org/legal/epl-2.0/
3+
# Copyright 2020-2022 Red Hat, Inc.
74
#
8-
# SPDX-License-Identifier: EPL-2.0
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
98
#
10-
# Contributors:
11-
# Red Hat, Inc. - initial API and implementation
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.
16+
1217

1318
# git ROOT directory used to mount filesystem
1419
GIT_ROOT_DIRECTORY=$(git rev-parse --show-toplevel)

make-release.sh

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2020 Red Hat, Inc.
4-
# This program and the accompanying materials are made
5-
# available under the terms of the Eclipse Public License 2.0
6-
# which is available at https://www.eclipse.org/legal/epl-2.0/
3+
# Copyright 2020-2022 Red Hat, Inc.
74
#
8-
# SPDX-License-Identifier: EPL-2.0
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
98
#
10-
# Contributors:
11-
# Red Hat, Inc. - initial API and implementation
12-
13-
# Based on https://github.com/che-incubator/chectl/blob/master/make-release.sh
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.
1416

1517
set -e
1618
set -u

validate-samples.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2020 Red Hat, Inc.
4-
# This program and the accompanying materials are made
5-
# available under the terms of the Eclipse Public License 2.0
6-
# which is available at https://www.eclipse.org/legal/epl-2.0/
3+
# Copyright 2020-2022 Red Hat, Inc.
74
#
8-
# SPDX-License-Identifier: EPL-2.0
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
98
#
10-
# Contributors:
11-
# Red Hat, Inc. - initial API and implementation
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.
1216

1317
BLUE='\033[1;34m'
1418
GREEN='\033[0;32m'

0 commit comments

Comments
 (0)