PRESUBMIT: add a warning for crbug links w/o https://
Our code search doesn't linkify crbug[.com] if they are not prefixed with http[s]:// (e.g. [1]). This CL adds a warning on upload that this is happening and suggests prefixing https://, since it seems like we are not going to be able to linkify them automatically in CS anytime soon (see bug). It looks a bit like: ** Presubmit Warnings ** Found unprefixed crbug.com URL(s), consider prepending https:// ui/ozone/platform/drm/gpu/gbm_buffer.h:107 // TODO(mcasas): crbug.com ui/ozone/platform/drm/gpu/gbm_buffer.h:108 // TODO(mcasas): crbug/123 [1] https://cs.chromium.org/chromium/src/BUILD.gn?type=cs&q=crbug.com&sq=package:chromium&l=65 Bug: 762061 Change-Id: Ib58bc6b58dfa61a7bf421b0ed55184705cee767c Reviewed-on: https://chromium-review.googlesource.com/822973Reviewed-by:Jochen Eisinger <jochen@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#524073}
Showing
Please register or sign in to comment