]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
iso-codes: fix protocol in SRC_URI
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 12 Mar 2021 14:33:18 +0000 (15:33 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 19 Mar 2021 08:03:25 +0000 (16:03 +0800)
commitc0a06ffdfc5fccee247e750413711cba237fb982
tree4f0c6fbe3b14ced34d367925f8d9e984688f9d2a
parent6b9e85e48ba43be74d51c7af703ba787f36e3241
iso-codes: fix protocol in SRC_URI

* it doesn't listen on http and the redirect sometimes doesn't work

WARNING: iso-codes-4.6.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available

The protocol should be changed to https, like all other salsa.debian.org pulls are, so that it doesn't depend on mirrors.bbclass to resolve this.
meta/classes/mirrors.bbclass:git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \

from log.do_fetch:
DEBUG: Fetcher accessed the network with the command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress http://salsa.debian.org/iso-codes-team/iso-codes.git refs/*:refs/*
fatal: unable to access 'http://salsa.debian.org/iso-codes-team/iso-codes.git/': Couldn't connect to server
WARNING: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
...
warning: redirecting to https://salsa.debian.org/iso-codes-team/iso-codes.git/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 749eeb8cfaa8ffcfda29f3f06a77debaf6304288)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-support/iso-codes/iso-codes_4.5.0.bb