From 136754e461b21562095c689fda24cffc50e173c0 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Mon, 22 May 2023 09:08:12 -0700 Subject: [PATCH 1/5] Skip and ignore deny.toml when looking for the licenses. third_praty/boringssl/src/rust/bssl-crypto/deny.toml triggers 'potential license', '.toml' are configuration files. --- tools/licenses/lib/paths.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/licenses/lib/paths.dart b/tools/licenses/lib/paths.dart index 936b1db5064ff..c453dc9e5ec5b 100644 --- a/tools/licenses/lib/paths.dart +++ b/tools/licenses/lib/paths.dart @@ -370,6 +370,7 @@ final Set skippedCommonFiles = { r'codereview.settings', r'coderules.txt', r'configure-ac-style.md', + r'deny.toml', r'doxygen.config', r'example.html', r'gerrit.md', From 0ce6fcd215a50dbe83481e83d5e57ba861391d4e Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Mon, 22 May 2023 10:02:47 -0700 Subject: [PATCH 2/5] Update tool signature --- ci/licenses_golden/tool_signature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/licenses_golden/tool_signature b/ci/licenses_golden/tool_signature index 16527fe6563b4..fc4fbaf432f7e 100644 --- a/ci/licenses_golden/tool_signature +++ b/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: cb8556d451f3040815fe5ee661d5dbad +Signature: 50e22428eba3a50279d65dfff9e10d67 From 7af41d9d7d1d3c88d7fe56ad3e36f7962d8c9778 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Mon, 22 May 2023 10:28:40 -0700 Subject: [PATCH 3/5] Widen the exclusing to boringssl/rust --- tools/licenses/lib/paths.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/licenses/lib/paths.dart b/tools/licenses/lib/paths.dart index c453dc9e5ec5b..c3109e06b06df 100644 --- a/tools/licenses/lib/paths.dart +++ b/tools/licenses/lib/paths.dart @@ -58,6 +58,7 @@ final Set skippedPaths = { r'third_party/benchmark', // only used by tests r'third_party/boringssl/src/crypto/err/err_data_generate.go', r'third_party/boringssl/src/fuzz', // testing tools, not shipped + r'third_party/boringssl/src/rust', // rust-related code is not shipped r'third_party/boringssl/src/util', // code generators, not shipped r'third_party/colorama/src/demos', r'third_party/colorama/src/screenshots', @@ -370,7 +371,6 @@ final Set skippedCommonFiles = { r'codereview.settings', r'coderules.txt', r'configure-ac-style.md', - r'deny.toml', r'doxygen.config', r'example.html', r'gerrit.md', From 71a97655402cd175c298c380c44696ca59db947e Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Mon, 22 May 2023 11:06:13 -0700 Subject: [PATCH 4/5] Update tool license hash --- ci/licenses_golden/tool_signature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/licenses_golden/tool_signature b/ci/licenses_golden/tool_signature index fc4fbaf432f7e..24c6369e56e2c 100644 --- a/ci/licenses_golden/tool_signature +++ b/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: 50e22428eba3a50279d65dfff9e10d67 +Signature: 4774da42a375d33f5195961a315026d6 From 0682b7e6087328273c795f79acc8a42329388fa2 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Mon, 22 May 2023 12:06:00 -0700 Subject: [PATCH 5/5] Update license tool hash --- ci/licenses_golden/tool_signature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/licenses_golden/tool_signature b/ci/licenses_golden/tool_signature index 24c6369e56e2c..e8cee7ed4c9b7 100644 --- a/ci/licenses_golden/tool_signature +++ b/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: 4774da42a375d33f5195961a315026d6 +Signature: 70f28de8b1b5d020e6870e2da16913ee