From 412e18043eb3f1c0c140de8629d20961a2e131d8 Mon Sep 17 00:00:00 2001 From: Tobias Guggenmos Date: Tue, 23 Jun 2020 01:16:36 +0200 Subject: [PATCH 1/2] Vendor golang/tools license Signed-off-by: Tobias Guggenmos --- Makefile | 1 + internal/vendored/go-tools/LICENSE | 27 +++++++++++++++++++++++++++ langserver/server.go | 3 +++ 3 files changed, 31 insertions(+) create mode 100644 internal/vendored/go-tools/LICENSE diff --git a/Makefile b/Makefile index 50d092d5..dfef6020 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,7 @@ update_internal_packages: mkdir -p `dirname $$dir$$subdir`; \ cp -r $$TMPDIR/internal/$$subdir $$dir$$subdir; \ done; \ + cp $$TMPDIR/LICENSE $$dir; \ for file in `find $$dir -type f`; \ do \ CMD=`echo $$FCMD $$file`; \ diff --git a/internal/vendored/go-tools/LICENSE b/internal/vendored/go-tools/LICENSE new file mode 100644 index 00000000..6a66aea5 --- /dev/null +++ b/internal/vendored/go-tools/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2009 The Go 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/langserver/server.go b/langserver/server.go index 887c3c06..273a1871 100644 --- a/langserver/server.go +++ b/langserver/server.go @@ -12,9 +12,12 @@ // limitations under the License. // This File includes code from the go/tools project which is governed by the following license: +// // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +// The full license of the golang/tools project can be found in internal/vendored/go-tools/LICENSE . package langserver From b3b28446d6c1c91d6163c876bd1a32f45e2110f1 Mon Sep 17 00:00:00 2001 From: Tobias Guggenmos Date: Tue, 23 Jun 2020 03:35:27 +0200 Subject: [PATCH 2/2] Rename code of conduct to match github conventions Signed-off-by: Tobias Guggenmos --- code-of-conduct.md => CODE_OF_CONDUCT.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename code-of-conduct.md => CODE_OF_CONDUCT.md (100%) diff --git a/code-of-conduct.md b/CODE_OF_CONDUCT.md similarity index 100% rename from code-of-conduct.md rename to CODE_OF_CONDUCT.md