patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: David Marchand <david.marchand@redhat.com>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH] doc: prefer https when pointing to dpdk.org
Date: Thu, 19 Mar 2020 10:00:59 +0100	[thread overview]
Message-ID: <60947579.3F2A3RajZp@xps> (raw)
In-Reply-To: <20200319082859.7162-1-david.marchand@redhat.com>

19/03/2020 09:28, David Marchand:
> for file in $(git grep -l http://.*dpdk.org doc/); do
>   sed -i -e 's#http://\(.*dpdk.org\)#https://\1#g' $file;
> done
> 
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> +	# links must prefer https over http
> +	awk -v FOLDERS='doc' \
> +		-v EXPRESSIONS='http://.*dpdk.org' \
> +		-v RET_ON_FAIL=1 \
> +		-v MESSAGE='Using non https link to dpdk.org' \
> +		-f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
> +		"$1" || res=1

Interesting policy.
When no authentication is required, I was trying to use simple http,
in the hope of making access faster.
What is the benefit of https for documentation? Avoid man-in-the-middle?



  reply	other threads:[~2020-03-19  9:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19  8:28 David Marchand
2020-03-19  9:00 ` Thomas Monjalon [this message]
2020-03-19 15:40   ` David Marchand
2020-03-19 18:52     ` [dpdk-stable] [dpdk-dev] " Luca Boccassi
2020-03-19 10:46 ` [dpdk-stable] " Kevin Traynor
2020-05-24 21:44   ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60947579.3F2A3RajZp@xps \
    --to=thomas@monjalon.net \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).