From be108c53a7b8d80b9de7ef4368f4f2c0f2d665ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Fri, 25 Sep 2020 15:19:46 +0200 Subject: [PATCH 1/2] add grpc generated go files to rat exclusion list --- dev/release/rat_exclude_files.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txt index 81e2b1aeadf..e2a2f55fc75 100644 --- a/dev/release/rat_exclude_files.txt +++ b/dev/release/rat_exclude_files.txt @@ -166,6 +166,8 @@ dev/tasks/linux-packages/apache-arrow/debian/source/format dev/tasks/linux-packages/apache-arrow/debian/watch dev/tasks/conda-recipes/* docs/requirements.txt +go/arrow/flight/Flight_grpc.pb.go +go/arrow/flight/example_flight_server_test.go go/arrow/go.sum go/arrow/Gopkg.lock go/arrow/internal/cpu/* From b354eaa45908e0ec389dc897fc380b9c0e5fe8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Fri, 25 Sep 2020 15:33:52 +0200 Subject: [PATCH 2/2] add RAT header to example_flight_server_test.go --- dev/release/rat_exclude_files.txt | 1 - go/arrow/flight/example_flight_server_test.go | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txt index e2a2f55fc75..dab2aaa1169 100644 --- a/dev/release/rat_exclude_files.txt +++ b/dev/release/rat_exclude_files.txt @@ -167,7 +167,6 @@ dev/tasks/linux-packages/apache-arrow/debian/watch dev/tasks/conda-recipes/* docs/requirements.txt go/arrow/flight/Flight_grpc.pb.go -go/arrow/flight/example_flight_server_test.go go/arrow/go.sum go/arrow/Gopkg.lock go/arrow/internal/cpu/* diff --git a/go/arrow/flight/example_flight_server_test.go b/go/arrow/flight/example_flight_server_test.go index 3fc1050fb0d..01f291fda11 100644 --- a/go/arrow/flight/example_flight_server_test.go +++ b/go/arrow/flight/example_flight_server_test.go @@ -1,3 +1,19 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package flight_test import (