Messages in this thread | | | Subject | Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/process | From | "Alexander A. Klimov" <> | Date | Sun, 21 Jun 2020 20:09:27 +0200 |
| |
Am 21.06.20 um 19:42 schrieb Joe Perches: > On Sun, 2020-06-21 at 16:30 +0200, Alexander A. Klimov wrote: >> Am 21.06.20 um 15:46 schrieb Miguel Ojeda: >>> On Sun, Jun 21, 2020 at 3:37 PM Alexander A. Klimov >>> <grandmaster@al2klimov.de> wrote: > [] >>>> Replace HTTP with HTTPS. > [] >> W/o a >> such central "rule on how to HTTPSify links" > > Maybe: > --- > scripts/checkpatch.pl | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 524df88f9364..4e49187a6137 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -3115,6 +3115,12 @@ sub process { > } > } > > +# check for URLs using old http:// links, suggest https: > + if ($rawline =~ m{^\+.*\bhttp://}) { > + WARN("HTTP_URL", > + "Prefer URLs using https: over http:\n" . $herecurr); > + } > + Good idea!
> # discourage the use of boolean for type definition attributes of Kconfig options > if ($realfile =~ /Kconfig/ && > $line =~ /^\+\s*\bboolean\b/) { > >
| |