Skip to content

Commit

Permalink
repo: update license
Browse files Browse the repository at this point in the history
The commit includes the following updates:

- updates the repository `license` (license file and `package.json`
  entry).
- updates the headers of source code,
- includes the header snippet to easily add new licenses.

Signed-off-by: vince-fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed Oct 21, 2020
1 parent 7e61c85 commit 4baa7d5
Show file tree
Hide file tree
Showing 8 changed files with 735 additions and 202 deletions.
11 changes: 11 additions & 0 deletions .vscode/theia.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Copyright-JS/JSX/TS/TSX/CSS": {
"prefix": [
"header",
"copyright"
],
"body": "/********************************************************************************\n * Copyright (C) $CURRENT_YEAR ${YourCompany} and others.\n *\n * This program and the accompanying materials are made available under the\n * terms of the Eclipse Public License v. 2.0 which is available at\n * http://www.eclipse.org/legal/epl-2.0.\n *\n * This Source Code may also be made available under the following Secondary\n * Licenses when the conditions for such availability set forth in the Eclipse\n * Public License v. 2.0 are satisfied: GNU General Public License, version 2\n * with the GNU Classpath Exception which is available at\n * https://www.gnu.org/software/classpath/license.html.\n *\n * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0\n ********************************************************************************/\n\n$0",
"description": "Adds the copyright...",
"scope": "javascript,javascriptreact,typescript,typescriptreact,css"
}
}
843 changes: 642 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions logo/theia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"yeoman-generator"
],
"author": "TypeFox",
"license": "Apache-2.0",
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0",
"dependencies": {
"yeoman-generator": "^4.0.2"
},
Expand Down
16 changes: 16 additions & 0 deletions src/app/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/********************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/

import path = require('path');
import Base = require('yeoman-generator');

Expand Down
16 changes: 16 additions & 0 deletions src/browser/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/********************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/

import Base  = require('yeoman-generator');

module.exports = class TheiaBrowser extends Base {
Expand Down
16 changes: 16 additions & 0 deletions src/electron/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/********************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/

import Base  = require('yeoman-generator');

module.exports = class TheiaElectron extends Base {
Expand Down
16 changes: 16 additions & 0 deletions test/generator-test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/********************************************************************************
* Copyright (C) 2019 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/

var assert = require('yeoman-assert')
var helpers = require('yeoman-test');
var path = require('path');
Expand Down

0 comments on commit 4baa7d5

Please sign in to comment.