* 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.ja...@gmail.com>
---
 meta/recipes-support/iso-codes/iso-codes_4.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/iso-codes/iso-codes_4.6.0.bb 
b/meta/recipes-support/iso-codes/iso-codes_4.6.0.bb
index 960989281d..f915716ce7 100644
--- a/meta/recipes-support/iso-codes/iso-codes_4.6.0.bb
+++ b/meta/recipes-support/iso-codes/iso-codes_4.6.0.bb
@@ -8,7 +8,7 @@ BUGTRACKER = 
"https://salsa.debian.org/iso-codes-team/iso-codes/issues";
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = 
"git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;"
+SRC_URI = 
"git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=https;branch=main;"
 SRCREV = "3c012d266acaeda93d3e61ec11b8c18c1964fce1" 
 
 # inherit gettext cannot be used, because it adds gettext-native to 
BASEDEPENDS which
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#149350): 
https://lists.openembedded.org/g/openembedded-core/message/149350
Mute This Topic: https://lists.openembedded.org/mt/81279932/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to