From 701349f66b8ae0090483f1829a1d8fb9ecb85d1f Mon Sep 17 00:00:00 2001 From: Tomislav Jovanovic Date: Mon, 15 May 2023 11:14:43 +0200 Subject: [PATCH] Add licensing clarification and LICENSE-CHROMIUM (#4871) --- .prettierignore | 2 +- README.md | 16 ++++++++++++++++ src/schema/imported/LICENSE-CHROMIUM | 27 +++++++++++++++++++++++++++ src/schema/imported/README.md | 13 +++++++++++++ 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 src/schema/imported/LICENSE-CHROMIUM create mode 100644 src/schema/imported/README.md diff --git a/.prettierignore b/.prettierignore index 04d99bd1..112775af 100644 --- a/.prettierignore +++ b/.prettierignore @@ -19,6 +19,6 @@ LICENSE /coverage/ /vendor/ -# white-list files we want to process +# allow-list of files we want to process !*.js !*.md diff --git a/README.md b/README.md index 789cd692..8cae0a7a 100644 --- a/README.md +++ b/README.md @@ -277,6 +277,22 @@ Note: `hashes.txt` will be embedded into the addons-linter bundle. The `scripts/update-dispensary-doc` command updates the list of release pages above based on the `src/dispensary/libraries.json` file. +## License + +This source code is available under the [Mozilla Public License 2.0](LICENSE). + +Additionally, parts of the schema files originated from Chromium source code: + +> Copyright (c) 2012 The Chromium Authors. All rights reserved. +> Use of this source code is governed by a BSD-style license that can be +> found in the [LICENSE-CHROMIUM](src/schema/imported/LICENSE-CHROMIUM) file. + +You are not granted rights or licenses to the trademarks of the +Mozilla Foundation or any party, including without limitation the +Firefox name or logo. + +For more information, see: https://www.mozilla.org/foundation/licensing.html + [new release]: https://github.com/mozilla/addons-linter/releases/new [semver]: http://semver.org/ [prettier]: https://prettier.io/ diff --git a/src/schema/imported/LICENSE-CHROMIUM b/src/schema/imported/LICENSE-CHROMIUM new file mode 100644 index 00000000..9314092f --- /dev/null +++ b/src/schema/imported/LICENSE-CHROMIUM @@ -0,0 +1,27 @@ +// Copyright (c) 2006-2008 The Chromium Authors. 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. +// * 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 Google Inc. 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 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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. diff --git a/src/schema/imported/README.md b/src/schema/imported/README.md new file mode 100644 index 00000000..790fcd64 --- /dev/null +++ b/src/schema/imported/README.md @@ -0,0 +1,13 @@ +This source code is available under the [Mozilla Public License 2.0](/LICENSE). + +Additionally, parts of the schema files originated from Chromium source code: + +> Copyright (c) 2012 The Chromium Authors. All rights reserved. +> Use of this source code is governed by a BSD-style license that can be +> found in the [LICENSE-CHROMIUM](LICENSE-CHROMIUM) file. + +You are not granted rights or licenses to the trademarks of the +Mozilla Foundation or any party, including without limitation the +Firefox name or logo. + +For more information, see: https://www.mozilla.org/foundation/licensing.html