commit | 8d9a08777b2c0f680b8c7f2fa00d7ecd19bc25fa | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@pigweed.infra.roller.google.com> | Tue Aug 09 22:26:48 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 09 22:26:48 2022 +0000 |
tree | 02e9a5801ea47789c189da739a9629c1b7d9f0bf | |
parent | 0d63e9a11f210ba14623517ce6752ca3a1f160cf [diff] |
[roll pigweed] pw_presubmit: Replace copyright check logic with a regular expression Simplify the copyright check to work as follows: - Skip lines matching certain prefixes. - Read the 13 lines that should be the copyright notice. - Check that the copyright notice matches a regular expression. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/105621 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: b417ba7d6a21664..1980a4e08529cb3 Roller-URL: https://ci.chromium.org/b/8806270822166397441 Cq-Cl-Tag: roller-builder:pigweed-zephyr-roller Cq-Cl-Tag: roller-bid:8806270822166397441 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ia13127c8015966562bfac51fba71261b85cd39ed Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/105646 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>