docs(build): filter checklink's Perl noise in checkref#4108
Open
grandixximo wants to merge 1 commit into
Open
Conversation
w3c-linkchecker prints "Use of uninitialized value ... checklink line N" to stderr on some inputs; it is tool noise, not link results, and floods the build/CI log. Drop those lines; checklink stays first in the pipe so PIPESTATUS[0] is unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now that link checking actually runs (#4104), the build and CI logs are flooded with Perl warnings from
linuxcnc-checklink(w3c-linkchecker) itself:These come from the W3C tool, not from any of our links, so they add only noise. Reported by @hansu on the #4081 CI run.
This drops those lines from the output
checkrefcaptures and prints.linuxcnc-checklinkstays first in the pipe, soPIPESTATUS[0](checked right after to distinguish "could not validate" from "found broken links") is unchanged, and theAccess to 'file' URIs has been disabledsentinel thatcheckrefgreps for is preserved.One-line change, no behavior change beyond suppressing the noise.