lint: more copyright lint #37054

Open
fanquake wants to merge 5 commits from 36967_followup into master AGit
fanquake commented 2026-12-02 16:38:32 +00:00 (Migrated from github.com)

Followup to #36967. Which addresses some dev/ralph review.

Followup to #36967. Which addresses some dev/ralph review.
DrahtBot commented 2026-12-02 16:52:51 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #32387 (ipc: add windows support by ryanofsky)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/37054 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/37054.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/37054#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. A summary of reviews will appear here. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#32387](https://github.com/bitcoin/bitcoin/pull/32387) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/32387.svg"></sub> (ipc: add windows support by ryanofsky) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
DrahtBot commented 2026-12-02 18:11:33 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task Alpine (musl): https://github.com/bitcoin/bitcoin/actions/runs/46929464856/job/143633649485
LLM reason (✨ experimental): functional_test_fail: feature_torcontrol.py failed because its mock Tor server could not bind—the address was already in use.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • Intermittent network issues can occur; re-run CI for now, and report the issue if they keep happening.

  • A functional or integration test failure may be intermittent or unrelated to this pull request.
    If no dedicated issue thread exists, create a new one to track it.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `Alpine (musl)`: https://github.com/bitcoin/bitcoin/actions/runs/46929464856/job/143633649485</sub> <sub>LLM reason (✨ experimental): functional_test_fail: `feature_torcontrol.py` failed because its mock Tor server could not bind—the address was already in use.</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * Intermittent network issues can occur; re-run CI for now, and report the issue if they keep happening. * A functional or integration test failure may be intermittent or unrelated to this pull request. If no dedicated issue thread exists, create a new one to track it. Leave a comment here, if you need help tracking down a confusing failure. </details>
First-time contributor

🔵 Suggestion · Lint changes are mixed with independent header normalization

The CMake, Objective-C++ and FileMeta commits also normalize existing copyright headers, obscuring the smaller functional changes even though the lint accepts the old headers.

Location: src/CMakeLists.txt:1 (commit).

🔵 Suggestion · The doc: commit also changes Windows binary metadata

The harmless license-URL update in 395ffd175e changes Windows executable metadata, but the commit describes only adding copyright comments.

Location: src/bitcoind-res.rc:26 (commit).

🔵 Suggestion · The copyright lint skips first-party *.cmake.in templates

Existing first-party *.cmake.in templates are outside the new CMake copyright checks, although all three currently have headers.

Location: test/lint/test_runner/src/lint_docs.rs:37 (head).

Review coverage was incomplete.


Reviewed: 73f613e56743 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:e1a29e5e677c47d383756f0fcf8f3760725c91d1104dd3ccb2f333b6217eba26:47880f5569fd2047d249266f337c4f2a509adf7d96c3ccb1c7644c2c2a650bff --> <!-- ralph-base:6fb33164bc3c42f4fe30ce70146763a524312af7 --> <!-- ralph-head:73f613e5674367e5193ad73a020e8b754563ac4c --> <!-- ralph-case:183dc110ba5faf2bdfa37c0486af7401593fd1e81d1b4c502063478db9ff12f1 --> **🔵 Suggestion · Lint changes are mixed with independent header normalization** The CMake, Objective-C++ and `FileMeta` commits also normalize existing copyright headers, obscuring the smaller functional changes even though the lint accepts the old headers. Location: src/CMakeLists.txt:1 (commit). **🔵 Suggestion · The `doc:` commit also changes Windows binary metadata** The harmless license-URL update in `395ffd175e` changes Windows executable metadata, but the commit describes only adding copyright comments. Location: src/bitcoind-res.rc:26 (commit). **🔵 Suggestion · The copyright lint skips first-party `*.cmake.in` templates** Existing first-party `*.cmake.in` templates are outside the new CMake copyright checks, although all three currently have headers. Location: [`test/lint/test_runner/src/lint_docs.rs:37`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/73f613e5674367e5193ad73a020e8b754563ac4c/test/lint/test_runner/src/lint_docs.rs#L37>) (head). Review coverage was incomplete. <!-- Review tier: standard --> --- Reviewed: [`73f613e56743`](<https://git.fish.foo/bitcoin/bitcoin/commit/73f613e5674367e5193ad73a020e8b754563ac4c>) · [Review report](<https://review.fish.foo/report/37054-73f613e5674367e5193ad73a020e8b754563ac4c-3470-2.html>) · [Previous reports](<https://review.fish.foo/traces/37054/>) [permalink](<https://review.fish.foo/report/37054-73f613e5674367e5193ad73a020e8b754563ac4c-3470-2.html>)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!37054
No description provided.