From 8bdca79a7f871e91283bd0270e5bd7913d8c295e Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Thu, 29 Sep 2022 10:29:12 +0800 Subject: [PATCH] chore(license): add ignore file/path configs to .rat-excludes (#1176) --- .rat-excludes | 37 ++++++++++++++++++++++++--------- go-client/idl/base/gpid_test.go | 19 +++++++++++++++++ 2 files changed, 46 insertions(+), 10 deletions(-) diff --git a/.rat-excludes b/.rat-excludes index ef48d7fff4..3e96ff4173 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -1,12 +1,29 @@ -.*json -.*in -carrot -sds/* -linenoise/* +.*go.sum +.*csv +.*npmigonre +.*gtest.filter +FindRT.cmake +FindDL.cmake +dsn_err_string.go +rocskdb_err_string.go +safe_strerror_posix.h +autoresetevent.h +autoreseteventcondvar.h +benaphore.h +bitfield.h +rwlock.h +sema.h +copy_source.txt +suite.* +nfs_test_file.* +build_config.h +command.txt +safe_strerror_posix.cpp +autoref_ptr_test.cpp +config-empty.ini argh.h -git_commit.h -ssh-no-interactive -scp-no-interactive +linenoise/* +sds/* +.*patch DISCLAIMER-WIP -.rat-excludes -apache-rat-0.13.jar +.rat-excludes \ No newline at end of file diff --git a/go-client/idl/base/gpid_test.go b/go-client/idl/base/gpid_test.go index 0643543144..3dadb44aed 100644 --- a/go-client/idl/base/gpid_test.go +++ b/go-client/idl/base/gpid_test.go @@ -1,3 +1,22 @@ +/* + * 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 base import (