Skip to content

style: normalize contribution and third-party source headers - #284

Merged
hsluoyz merged 1 commit into
masterfrom
style/cpp-source-headers-master-20261107
Nov 19, 2026
Merged

hsluoyz merged 1 commit into
masterfrom
style/cpp-source-headers-master-20261107

Conversation

@EmryZhang

Copy link
Copy Markdown
Contributor

Apply ASF contribution headers and preserve the historical Casbin notices in NOTICE. Retain the MIT and BSD attribution in bundled third-party source.

Validation: compared all 192 changed files against current master. The 167 C++ bodies and 25 configuration/document bodies retain their existing content. The resulting source tree matches the integration tree validated with 79 Linux tests and 25 rounds of the three Ticker tests.

@swaeberle

Copy link
Copy Markdown

What about using SPDX headers?

At least the repetition of the Apache-2.0 header could be omitted that way.
Those files with BSD-like licenses require the full text, though.

@hsluoyz
hsluoyz merged commit d0ef1f6 into master Nov 19, 2026
7 checks passed
@hsluoyz
hsluoyz deleted the style/cpp-source-headers-master-20261107 branch November 19, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants