File tree Expand file tree Collapse file tree 10 files changed +89
-60
lines changed Expand file tree Collapse file tree 10 files changed +89
-60
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<div id =" header " align =" center " >
4
4
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 )
6
6
[ ![ 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 )
7
7
8
8
</div >
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
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.
7
4
#
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
9
8
#
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.
12
16
13
17
BLUE=' \033[1;34m'
14
18
GREEN=' \033[0;32m'
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
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.
7
4
#
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
9
8
#
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.
12
16
13
17
BLUE=' \033[1;34m'
14
18
GREEN=' \033[0;32m'
Original file line number Diff line number Diff line change 1
1
#
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.
6
3
#
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
8
7
#
9
- # Contributors:
10
- # Red Hat, Inc. - initial API and implementation
8
+ # http://www.apache.org/licenses/LICENSE-2.0
11
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.
12
15
13
16
import os
14
17
import argparse
Original file line number Diff line number Diff line change 1
1
#
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.
6
3
#
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
8
7
#
9
- # Contributors:
10
- # Red Hat, Inc. - initial API and implementation
8
+ # http://www.apache.org/licenses/LICENSE-2.0
11
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.
12
15
13
16
import os
14
17
import json
Original file line number Diff line number Diff line change 34
34
sed -i ' s/\"name\": \".*\"/"name": "@devfile\/api"/g' $WORK_DIR /typescript-models/package.json
35
35
sed -i ' s/\"description\": \".*\"/"description": "Typescript types for devfile api"/g' $WORK_DIR /typescript-models/package.json
36
36
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
38
38
sed -i ' s/\"@types\/bluebird\": \".*\"/"@types\/bluebird": "3.5.21"/g' $WORK_DIR /typescript-models/package.json
39
39
echo " " > $WORK_DIR /typescript-models/.npmignore
40
40
echo " [INFO] Generated typescript model which now is available in $WORK_DIR /typescript-models"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
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.
7
4
#
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
9
8
#
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.
12
16
13
17
BLUE=' \033[1;34m'
14
18
GREEN=' \033[0;32m'
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
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.
7
4
#
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
9
8
#
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
+
12
17
13
18
# git ROOT directory used to mount filesystem
14
19
GIT_ROOT_DIRECTORY=$( git rev-parse --show-toplevel)
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
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.
7
4
#
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
9
8
#
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.
14
16
15
17
set -e
16
18
set -u
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
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.
7
4
#
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
9
8
#
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.
12
16
13
17
BLUE=' \033[1;34m'
14
18
GREEN=' \033[0;32m'
You can’t perform that action at this time.
0 commit comments