Skip to content

Commit

Permalink
New copyright headers (#220)
Browse files Browse the repository at this point in the history
1. Updates all license headers to new concise SPDX style
2. Updates copyright statement holder from `The Polymer Project Authors` to `Google LLC`
3. Renamed `LICENSE.txt` to `LICENSE` because it is slightly more common (the GitHub default)
4. Trivial formatting fix to `LICENSE` files so that we exactly match the spdx.org text
5. Updates `package.json` author field to `Google LLC`

All existing years are preserved.

Exactly matches what we did in lit/lit#1630
  • Loading branch information
aomarks authored Sep 20, 2021
1 parent 18711fa commit 8df4bfb
Show file tree
Hide file tree
Showing 39 changed files with 87 additions and 263 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

- Copyright notice owner changed from "The Polymer Project Authors" to "Google
LLC". Trivial reformatting for `LICENSE` file to match spdx.org version.
Source license headers replaced with concise SPDX-style.

- Fix bug where log files would be created with '\' backslash names instead of
nested directories.

Expand Down
20 changes: 10 additions & 10 deletions LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
BSD 3-Clause License

Copyright (c) 2019, The Polymer Authors. All rights reserved.
Copyright (c) 2019 Google LLC. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Expand All @@ -25,4 +25,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9 changes: 2 additions & 7 deletions bin/tach.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@

/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

// eslint-disable-next-line @typescript-eslint/no-var-requires
Expand Down
9 changes: 2 additions & 7 deletions client/src/bench.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

// Note: sync with runner/src/types.ts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"type": "git",
"url": "git+https://github.com/Polymer/tachometer.git"
},
"author": "The Polymer Project Authors",
"author": "Google LLC",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/Polymer/tachometer/issues"
Expand Down
9 changes: 2 additions & 7 deletions src/browser.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as webdriver from 'selenium-webdriver';
Expand Down
9 changes: 2 additions & 7 deletions src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import sourceMapSupport from 'source-map-support';
Expand Down
9 changes: 2 additions & 7 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as fsExtra from 'fs-extra';
Expand Down
9 changes: 2 additions & 7 deletions src/configfile.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as fsExtra from 'fs-extra';
Expand Down
9 changes: 2 additions & 7 deletions src/csv.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import csvStringify from 'csv-stringify/lib/sync';
Expand Down
9 changes: 2 additions & 7 deletions src/defaults.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as path from 'path';
Expand Down
9 changes: 2 additions & 7 deletions src/flags.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as os from 'os';
Expand Down
9 changes: 2 additions & 7 deletions src/format.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import stripAnsi = require('strip-ansi');
Expand Down
9 changes: 2 additions & 7 deletions src/github.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import got from 'got';
Expand Down
9 changes: 2 additions & 7 deletions src/install.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import {exec} from 'child_process';
Expand Down
9 changes: 2 additions & 7 deletions src/json-output.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as systeminformation from 'systeminformation';
Expand Down
9 changes: 2 additions & 7 deletions src/manual.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import ansi = require('ansi-escape-sequences');
Expand Down
9 changes: 2 additions & 7 deletions src/measure.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as webdriver from 'selenium-webdriver';
Expand Down
9 changes: 2 additions & 7 deletions src/runner.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as fsExtra from 'fs-extra';
Expand Down
9 changes: 2 additions & 7 deletions src/server.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as http from 'http';
Expand Down
9 changes: 2 additions & 7 deletions src/specs.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as path from 'path';
Expand Down
9 changes: 2 additions & 7 deletions src/stats.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import {BenchmarkResult} from './types';
Expand Down
9 changes: 2 additions & 7 deletions src/test/browser_test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import {assert} from 'chai';
Expand Down
9 changes: 2 additions & 7 deletions src/test/config_test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import {assert} from 'chai';
Expand Down
9 changes: 2 additions & 7 deletions src/test/configfile_test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as chai from 'chai';
Expand Down
Loading

0 comments on commit 8df4bfb

Please sign in to comment.