@@ -20,80 +20,104 @@ header:
20
20
copyright-owner : Apache Software Foundation
21
21
22
22
paths-ignore :
23
+ # Configuration files that could not be added with copyright info (otherwise would lead to error).
24
+ - ' .rat-excludes'
25
+ - ' **/*.csv'
26
+ - ' **/*.json'
23
27
# All the type of licenses of this project should be added to LICENSE.
28
+ - ' DISCLAIMER-WIP'
24
29
- ' LICENSE'
25
30
- ' NOTICE'
26
- - ' .github/pull_request_template.md '
31
+ # Template files of issues and pull requests for Github.
27
32
- ' .github/ISSUE_TEMPLATE/bug_report.md'
28
33
- ' .github/ISSUE_TEMPLATE/feature-request.md'
29
34
- ' .github/ISSUE_TEMPLATE/general_question.md'
30
- - ' .rat-excludes'
31
- - ' DISCLAIMER-WIP'
35
+ - ' .github/pull_request_template.md'
36
+ # Image files for docs.
37
+ - ' **/*.jpg'
38
+ - ' **/*.png'
39
+ # Files in pdf format.
40
+ - ' **/*.pdf'
41
+ # Special files for golang.
42
+ - ' **/go.sum'
43
+ # TODO(wangdan): Generated files for go client, could generate dynamically?
44
+ - ' go-client/idl/base/GoUnusedProtection__.go'
45
+ - ' go-client/idl/base/dsn_err_string.go'
46
+ - ' go-client/idl/base/rocskdb_err_string.go'
47
+ # Special files for nodejs.
48
+ - ' **/.npmigonre'
49
+ # Special files for python.
32
50
- ' python-client/requirement.txt'
33
- - ' .devcontainer/devcontainer.json'
51
+ # Text files used for tests and could not be added with copyright info (otherwise would lead to error).
52
+ - ' src/aio/test/copy_source.txt'
53
+ - ' src/runtime/test/command.txt'
54
+ - ' src/failure_detector/test/gtest.filter'
55
+ - ' src/meta/test/meta_state/gtest.filter'
56
+ - ' src/meta/test/suite1'
57
+ - ' src/meta/test/suite2'
58
+ - ' src/nfs/test/nfs_test_file1'
59
+ - ' src/nfs/test/nfs_test_file2'
60
+ - ' src/runtime/test/gtest.filter'
61
+ # Used for tests and should be empty, or ignore all comment lines (otherwise would lead to error).
62
+ - ' src/utils/test/config-empty.ini'
63
+ # Binary files used for tests and could not be added with copyright info (otherwise would lead to error).
64
+ - ' src/replica/duplication/test/log.1.0.handle_real_private_log'
65
+ - ' src/replica/duplication/test/log.1.0.handle_real_private_log2'
66
+ - ' src/replica/duplication/test/log.1.0.all_loaded_are_write_empties'
67
+ # Used for patches for thirdparties.
68
+ - ' thirdparty/fix_fds_for_macos.patch'
69
+ - ' thirdparty/fix_jemalloc_for_m1_on_macos.patch'
70
+ - ' thirdparty/fix_libevent_for_macos.patch'
71
+ - ' thirdparty/fix_prometheus-cpp_limits.patch'
72
+ - ' thirdparty/fix_s2_for_aarch64.patch'
73
+ - ' thirdparty/fix_thrift_for_cpp11.patch'
74
+ - ' thirdparty/rocksdb_fix_atomic_flush_0879c240.patch'
34
75
# TODO(yingchun): shell/* files are import from thirdparties, we can move them to thirdparty later.
76
+ # Copyright (c) 2016, Adi Shavit
35
77
- ' src/shell/argh.h'
78
+ # Copyright (c) 2010-2016, Salvatore Sanfilippo, etc.
36
79
- ' src/shell/linenoise/linenoise.c'
80
+ # Copyright (c) 2010-2014, Salvatore Sanfilippo, etc.
37
81
- ' src/shell/linenoise/linenoise.h'
82
+ # Copyright (c) 2006-2015, Salvatore Sanfilippo, etc.
38
83
- ' src/shell/sds/sds.c'
39
84
- ' src/shell/sds/sds.h'
40
85
- ' src/shell/sds/sdsalloc.h'
41
- - ' **/go.sum'
42
- - ' **/*.csv'
43
- - ' **/*.json'
44
- - ' go-client/idl/base/dsn_err_string.go'
45
- - ' go-client/idl/base/rocskdb_err_string.go'
46
- - ' go-client/idl/base/GoUnusedProtection__.go'
47
- - ' **/.npmigonre'
48
86
# Copyright (c) Facebook, Inc
49
87
- ' src/utils/TokenBucket.h'
50
88
- ' src/utils/test/TokenBucketTest.cpp'
51
89
- ' src/utils/test/TokenBucketTest.h'
90
+ # https://github.com/preshing/modern-cpp-threading/blob/master/LICENSE
91
+ - ' src/utils/hpc_locks/autoreseteventcondvar.h'
52
92
# https://github.com/preshing/cpp11-on-multicore/blob/master/LICENSE
53
93
- ' src/utils/hpc_locks/autoresetevent.h'
54
- - ' src/utils/hpc_locks/autoreseteventcondvar.h'
55
94
- ' src/utils/hpc_locks/benaphore.h'
56
95
- ' src/utils/hpc_locks/bitfield.h'
57
96
- ' src/utils/hpc_locks/readme.txt'
58
97
- ' src/utils/hpc_locks/rwlock.h'
59
98
- ' src/utils/hpc_locks/sema.h'
60
- # Copyright (c) xxxx The Chromium Authors
99
+ # Copyright (c) 2011 The Chromium Authors
61
100
- ' src/utils/safe_strerror_posix.h'
101
+ # Copyright (c) 2012 The Chromium Authors
62
102
- ' src/runtime/build_config.h'
63
103
- ' src/utils/test/autoref_ptr_test.cpp'
104
+ # Copyright (c) 2006-2009 The Chromium Authors
64
105
- ' src/utils/safe_strerror_posix.cpp'
65
106
# Copyright 2017 The Abseil Authors
66
107
- ' src/utils/absl/base/internal/invoke.h'
67
108
- ' src/utils/absl/utility/utility.h'
109
+ - ' src/utils/memutil.h'
68
110
- ' src/utils/smart_pointers.h'
111
+ - ' src/utils/string_view.cpp'
69
112
- ' src/utils/string_view.h'
70
113
- ' src/utils/test/memutil_test.cpp'
71
- - ' src/utils/test/string_view_test.cpp'
72
114
- ' src/utils/test/smart_pointers_test.cpp'
73
- - ' src/utils/memutil.h'
74
- - ' src/utils/string_view.cpp'
115
+ - ' src/utils/test/string_view_test.cpp'
75
116
# Copyright (c) 2010-2011, Rob Jansen
76
117
- ' cmake_modules/FindRT.cmake'
77
118
- ' cmake_modules/FindDL.cmake'
78
119
# Copyright (c) 2017 Guillaume Papin
79
120
- ' scripts/run-clang-format.py'
80
- # need manual fix
81
- - ' src/failure_detector/test/gtest.filter'
82
- - ' src/meta/test/meta_state/gtest.filter'
83
- - ' src/meta/test/suite1'
84
- - ' src/meta/test/suite2'
85
- - ' src/nfs/test/nfs_test_file1'
86
- - ' src/nfs/test/nfs_test_file2'
87
- - ' src/runtime/test/gtest.filter'
88
- - ' thirdparty/fix_fds_for_macos.patch'
89
- - ' thirdparty/fix_jemalloc_for_m1_on_macos.patch'
90
- - ' thirdparty/fix_libevent_for_macos.patch'
91
- - ' thirdparty/fix_prometheus-cpp_limits.patch'
92
- - ' thirdparty/fix_s2_for_aarch64.patch'
93
- - ' thirdparty/fix_thrift_for_cpp11.patch'
94
- - ' thirdparty/rocksdb_fix_atomic_flush_0879c240.patch'
95
- # should be empty, or ignore all comment lines
96
- - ' src/utils/test/config-empty.ini'
97
121
# The MIT License (MIT), Copyright (c) 2015 Microsoft Corporation
98
122
- ' cmake_modules/BaseFunctions.cmake'
99
123
- ' docs/rdsn-README.md'
@@ -105,15 +129,13 @@ header:
105
129
- ' idl/replica_admin.thrift'
106
130
- ' scripts/compile_thrift.py'
107
131
- ' scripts/learn_stat.py'
108
- - ' src/common/api_common.h'
109
132
- ' src/runtime/api_layer1.h'
110
133
- ' src/runtime/api_task.h'
111
134
- ' src/utils/api_utilities.h'
112
135
- ' src/runtime/app_model.h'
113
136
- ' src/common/json_helper.h'
114
137
- ' src/runtime/rpc/rpc_stream.h'
115
138
- ' src/runtime/rpc/serialization.h'
116
- - ' src/common/serialization_helper/dsn.layer2_types.h'
117
139
- ' src/common/serialization_helper/dsn_types.h'
118
140
- ' src/common/serialization_helper/thrift_helper.h'
119
141
- ' src/runtime/serverlet.h'
@@ -131,7 +153,6 @@ header:
131
153
- ' src/client/partition_resolver.h'
132
154
- ' src/replica/replica_base.h'
133
155
- ' src/common/replica_envs.h'
134
- - ' src/replica/replica_test_utils.h'
135
156
- ' src/common/replication.codes.h'
136
157
- ' src/replica/replication_app_base.h'
137
158
- ' src/client/replication_ddl_client.h'
@@ -187,7 +208,6 @@ header:
187
208
- ' src/utils/configuration.h'
188
209
- ' src/utils/crc.h'
189
210
- ' src/utils/customizable_id.h'
190
- - ' src/utils/dlib.h'
191
211
- ' src/utils/enum_helper.h'
192
212
- ' src/utils/error_code.h'
193
213
- ' src/utils/errors.h'
@@ -220,7 +240,6 @@ header:
220
240
- ' src/aio/test/aio.cpp'
221
241
- ' src/aio/test/clear.sh'
222
242
- ' src/aio/test/config.ini'
223
- - ' src/aio/test/copy_source.txt'
224
243
- ' src/aio/test/run.sh'
225
244
- ' src/block_service/test/config-test.ini'
226
245
- ' src/client/CMakeLists.txt'
@@ -363,7 +382,6 @@ header:
363
382
- ' src/replica/replica_learn.cpp'
364
383
- ' src/replica/replica_stub.cpp'
365
384
- ' src/replica/replica_stub.h'
366
- - ' src/replica/replica_test_utils.cpp'
367
385
- ' src/replica/replication_app_base.cpp'
368
386
- ' src/replica/replication_service_app.cpp'
369
387
- ' src/replica/split/test/config-test.ini'
@@ -514,7 +532,6 @@ header:
514
532
- ' src/replica/test/run.sh'
515
533
- ' src/runtime/CMakeLists.txt'
516
534
- ' src/runtime/core_main.cpp'
517
- - ' src/runtime/dsn.layer2_types.cpp'
518
535
- ' src/runtime/env.sim.cpp'
519
536
- ' src/runtime/env.sim.h'
520
537
- ' src/runtime/fault_injector.cpp'
@@ -569,7 +586,6 @@ header:
569
586
- ' src/runtime/test/address_test.cpp'
570
587
- ' src/runtime/test/async_call.cpp'
571
588
- ' src/runtime/test/clear.sh'
572
- - ' src/runtime/test/command.txt'
573
589
- ' src/runtime/test/config-test-corrupt-message.ini'
574
590
- ' src/runtime/test/config-test-sim.ini'
575
591
- ' src/runtime/test/config-test.ini'
0 commit comments