Skip to content

Commit 0e1f562

Browse files
[Eclipse Foundation] Re-license the repo
This repo is to be moved to the Eclipse Theia project. First we have to adopt the same license: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 This commit adds this license and copyright headers, following the re-licensing exercise. See here for the details: https://github.com/theia-ide/vscode-builtin-extensions/wiki/Re-licensing-theia-ide-vscode-builtin-extensions Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
1 parent a6240ad commit 0e1f562

14 files changed

+819
-5
lines changed

LICENSE

+642
Large diffs are not rendered by default.

README.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vscode-builtin-extensions
22

3-
This extension contributes built-in VS Code extensions to Theia.
3+
This extension contributes built-in VS Code extensions to Eclipse Theia applications.
44

55
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/theia-ide/vscode-builtin-extensions)
66

@@ -12,8 +12,8 @@ Install [nvm](https://github.com/creationix/nvm#install-script).
1212

1313
Install npm and node.
1414

15-
nvm install 10
16-
nvm use 10
15+
nvm install 12
16+
nvm use 12
1717

1818
Install yarn.
1919

@@ -32,7 +32,7 @@ Install vscode prerequisite dependencies.
3232
Pick a specific vscode version (optional)
3333

3434
cd <repo root>/vscode
35-
git checkout 1.40.0
35+
git checkout 1.45.0
3636

3737
## Build
3838

@@ -118,3 +118,13 @@ The `ovsx` client is used to publish to an open-vsx registry. By default https:/
118118
After packaging the extensions as `.vsix` (see above), you may examine/test them under folder `dist`. Remove any that you do not wish to be published (e.g. those not working well). When ready proceed with publishing:
119119

120120
yarn publish:vsix
121+
122+
## License
123+
124+
- [Eclipse Public License 2.0](LICENSE)
125+
- [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](LICENSE)
126+
127+
## Trademark
128+
129+
"Theia" is a trademark of the Eclipse Foundation
130+
https://www.eclipse.org/theia

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"private": true,
3+
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0",
34
"scripts": {
45
"prepare": "yarn build:extensions && yarn bundle:extensions && yarn build",
56
"build": "lerna run prepare",

src/bundle.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2019 TypeFox and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
// @ts-check
218
const { src, vscode, run } = require('./paths.js')
319
module.exports = run('node', [src('vscode-bundle.js')], vscode());

src/checkout-latest-vscode.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2020 Ericsson and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
/**
218
* Checks-out the vscode git submodule to the latest "solid" release commit/tag.
319
* e.g. 1.45.0, 1.46.4

src/compile.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2019 TypeFox and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
// @ts-check
218
const { src, vscode, run } = require('./paths.js')
319
if (process.cwd() !== vscode()) {

src/package-vsix.js

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
/**
1+
/********************************************************************************
2+
* Copyright (C) 2019 Ericsson and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
17+
/*
218
* Package individual built-in VS Code extensions in .vsix packages.
319
* It's assumed that the vscode git submodule has already been updated
420
* and the wanted commit/tag checkled-out, before the start of packaging.

src/paths.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2019 TypeFox and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
// @ts-check
218
const path = require('path');
319
const cp = require('child_process');

src/publish-vsix.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2020 Ericsson and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
/**
218
* Publish individual built-in VS Code extensions to an
319
* Open VSX registry (default: open-vsx.org) . It is

src/publish.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2019 TypeFox and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
/**
218
* Republish built-in VS Code extensions to npmjs under `@theia/vscode-builtin-` prefix.
319
*/

src/version.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2020 Ericsson and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
/**
218
* version-related utility functions
319
*/

src/vscode-bundle.js

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2019 TypeFox and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
// @ts-check
218
const fs = require('fs');
319
const rimraf = require('../vscode/node_modules/rimraf');

vscode-builtin-extensions/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "vscode-builtin-extensions",
3+
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0",
34
"keywords": [
45
"theia-extension"
56
],

vscode-builtin-extensions/src/node/vscode-builtin-extensions-backend-module.ts

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/********************************************************************************
2+
* Copyright (C) 2019 TypeFox and others.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
7+
*
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the Eclipse
10+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
11+
* with the GNU Classpath Exception which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
13+
*
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15+
********************************************************************************/
16+
117
import * as path from 'path';
218
import { ContainerModule } from 'inversify';
319

0 commit comments

Comments
 (0)