1 suggestion
Earlier concerns neither republished nor resolved: 1 minor finding. See the Run archive for their assessments.
Optional improvements
[suggestion] · Copyright lint skips Objective-C++ and CMake sources
The pathspec omits tracked .mm and .cmake files, so missing headers in those formats go unchecked even though the existing Objective-C++ headers already satisfy the predicate.
Location: test/lint/test_runner/src/lint_docs.rs:39 (head).
Details and suggested fix
lint_copyright_doc selects only *.py, *.cpp, *.h, *.sh and *.rs. Add *.mm to cover src/qt/macdockiconhandler.mm, src/qt/macnotificationhandler.mm and src/qt/macos_appnap.mm; their current headers already pass has_copyright_header, so no header changes are needed. CMake files are also omitted. Covering *.cmake would require headers or explicit exclusions for files such as CTestConfig.cmake and src/qt/locale/ts_files.cmake, whereas share/qt/translate.cmake already has a matching header. If CMake is intentionally outside this lint's scope, document that boundary.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [minor]: Copyright lint accepts notices outside the file header (earlier report)
Background
Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.
Documented decisions
The predecessor discussion proposed adding a linter alongside missing-header fixes: 'if we want to add those, maybe there should be a linter for this?' This supports automated maintenance of the convention, but does not explain why collective attribution must accompany every individual or external attribution.
The new check implements that maintenance proposal. The inspected historical statement supports checking for omissions, not a broader conclusion about the required copyright holder or the completeness of the exception list.
Ralph's inferences
The pinned contributor agreement establishes MIT licensing by default, permits exceptions in contrib/debian/copyright or individual file headers, and requires imported work to retain a license header identifying its original authors and source. It does not expressly require the collective Bitcoin Core attribution.
This policy is unchanged between base and head. It provides a reason to preserve individual and external notices, but is not by itself a justification for requiring an additional collective notice. The linter's attribution requirement is therefore more specific than the inspected contributor-policy wording.
The linter accommodates external-code exceptions through path exclusions rather than through recognition of alternative copyright and license headers. It exempts six shared subtree paths, seven specifically named external files, and Python package-marker files.
This preserves exemption from the collective-attribution/MIT-format check for the enumerated external code. Other covered files must contain the collective notice even if an individual or external notice remains. That arrangement is compatible with retaining original notices, but the inspected record does not establish that the enumerated paths capture all exceptions contemplated by the contributor agreement.