From 64296c702a28a914af1e1386f0f4e51d85a4dcd0 Mon Sep 17 00:00:00 2001 From: Pranay Agarwal Date: Thu, 8 Nov 2018 13:52:40 -0800 Subject: [PATCH] Add notice file header text --- NOTICE.md | 18 ++++++++++++++++++ build/notice-file-generate.js | 8 ++++++++ 2 files changed, 26 insertions(+) diff --git a/NOTICE.md b/NOTICE.md index f7dcd59..cfb4e85 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -1,3 +1,21 @@ +# Third-party notices + + +This document includes licensing information relating to free, open-source, and public-source software (together, the “SOFTWARE”) included with or used while developing Slack’s `vscode-hack` software. The terms of the applicable free, open-source, and public-source licenses (each an “OSS LICENSE”) govern Slack’s distribution and your use of the SOFTWARE. Slack and the third-party authors, licensors, and distributors of the SOFTWARE disclaim all warranties and liability arising from all use and distribution of the SOFTWARE. To the extent the OSS is provided under an agreement with Slack that differs from the applicable OSS LICENSE, those terms are offered by Slack alone. + + +Slack has reproduced below copyright and other licensing notices appearing within the SOFTWARE. While Slack seeks to provide complete and accurate copyright and licensing information for each SOFTWARE package, Slack does not represent or warrant that the following information is complete, correct, or error-free. SOFTWARE recipients are encouraged to (a) investigate the identified SOFTWARE packages to confirm the accuracy of the licensing information provided herein and (b) notify Slack of any inaccuracies or errors found in this document so that Slack may update this document accordingly. + + +Certain OSS LICENSES (such as the GNU General Public Licenses, GNU Library/Lesser General Public Licenses, Affero General Public Licenses, Mozilla Public Licenses, Common Development and Distribution Licenses, Common Public License, and Eclipse Public License) require that the source code corresponding to distributed OSS binaries be made available to recipients or other requestors under the terms of the same OSS LICENSE. Recipients or requestors who would like to receive a copy of such corresponding source code should submit a request to Slack by post at: + + +Slack +Attn: Open Source Requests +500 Howard St. +San Francisco, CA 94105 + +--- **[vscode-debugadapter@1.29.0](https://github.com/Microsoft/vscode-debugadapter-node)** ``` Copyright (c) Microsoft Corporation diff --git a/build/notice-file-generate.js b/build/notice-file-generate.js index 6b7b6b9..4aa4053 100644 --- a/build/notice-file-generate.js +++ b/build/notice-file-generate.js @@ -22,6 +22,14 @@ checker.init({ } else { var stream = fs.createWriteStream(path.resolve(__dirname, '..', 'NOTICE.md')); stream.once('ready', fd => { + stream.write(`# Third-party notices\n\n +This document includes licensing information relating to free, open-source, and public-source software (together, the “SOFTWARE”) included with or used while developing Slack’s \`vscode-hack\` software. The terms of the applicable free, open-source, and public-source licenses (each an “OSS LICENSE”) govern Slack’s distribution and your use of the SOFTWARE. Slack and the third-party authors, licensors, and distributors of the SOFTWARE disclaim all warranties and liability arising from all use and distribution of the SOFTWARE. To the extent the OSS is provided under an agreement with Slack that differs from the applicable OSS LICENSE, those terms are offered by Slack alone.\n\n +Slack has reproduced below copyright and other licensing notices appearing within the SOFTWARE. While Slack seeks to provide complete and accurate copyright and licensing information for each SOFTWARE package, Slack does not represent or warrant that the following information is complete, correct, or error-free. SOFTWARE recipients are encouraged to (a) investigate the identified SOFTWARE packages to confirm the accuracy of the licensing information provided herein and (b) notify Slack of any inaccuracies or errors found in this document so that Slack may update this document accordingly.\n\n +Certain OSS LICENSES (such as the GNU General Public Licenses, GNU Library/Lesser General Public Licenses, Affero General Public Licenses, Mozilla Public Licenses, Common Development and Distribution Licenses, Common Public License, and Eclipse Public License) require that the source code corresponding to distributed OSS binaries be made available to recipients or other requestors under the terms of the same OSS LICENSE. Recipients or requestors who would like to receive a copy of such corresponding source code should submit a request to Slack by post at:\n\n +Slack +Attn: Open Source Requests +500 Howard St. +San Francisco, CA 94105\n\n---\n`); for (var package in packages) { if (package.startsWith('vscode-hack@')) { // Don't need to include a separate notice for our own package