summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-04 16:28:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-24 15:30:06 +0000
commit28882bc0df565f4cdec8960af8152ffc5947f5d0 (patch)
tree14f87d54d25331fb8bf867e1f5e916d01f6a4fa9 /scripts/lib/scriptutils.py
parenta4834b4f23ed1670a7c8bbc6faf54697a643e72e (diff)
downloadpoky-28882bc0df565f4cdec8960af8152ffc5947f5d0.tar.gz
insane: add codeload.github.com to src-uri-bad check
GitHub redirects /archive/ URLs to codeload.github.com, a dedicated service for caching git archives: $ wget -v https://github.com/unicode-org/icu/archive/refs/tags/release-72-1.zip HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/unicode-org/icu/zip/refs/tags/release-72-1 [following] This is not the case for uploaded artifacts: $ wget -v https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-data-bin-l.zip.asc HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/49244766/... [following] Check for codeload.github.com URLs in the src-uri-bad check in case the SRC_URI contains this final URL, and not the public URI. (From OE-Core rev: 5c8e0e641ce676d67b10834593d90fdd87787cf9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit a3b4575259fa304c596ed227ed60769b5f72f0a8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions