From patchwork Wed Oct 30 16:01:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51556 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0615D6B6A2 for ; Wed, 30 Oct 2024 16:01:39 +0000 (UTC) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.web11.18608.1730304096787464826 for ; Wed, 30 Oct 2024 09:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=wrM/cMWd; spf=softfail (domain: sakoman.com, ip: 209.85.214.178, mailfrom: steve@sakoman.com) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-208cf673b8dso65520215ad.3 for ; Wed, 30 Oct 2024 09:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730304096; x=1730908896; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=v+P6VO2Dt2ncFUue5XYCYncaHg/N/ar9MngzijxPvv8=; b=wrM/cMWdqbYZkN9h+YH5i2xC9Dax0lCwP2/pWRsOcw3giji4KYtN3n/kTy1Xb0ougp +6YswkiA6zgjUD39VGZwbqbQ+sluOBE2MDDRnv4qjIkgvuGqBGK75KJv4Hz0HW+OXx+u 1s4Gf6B8t+jJTPlKqU6DXN4ap58aBeZ5lnNMO5rwTngP/00Lp72yWmpCdMqfHGkwL1DT PPdcrxkX/3G30M0h4kgvILVfLG1Loh5R8I8E3HsgOulA+E4FRFGUq6kql+FF3cJPy7C0 04NpN2exwK43qngy0QeYsS5g+ZrhD0z8+cqTUqnlOswiZguK3kacDN0t5g5/cuBy1w9d oaVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730304096; x=1730908896; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v+P6VO2Dt2ncFUue5XYCYncaHg/N/ar9MngzijxPvv8=; b=DTjD8f5tgIe8Gccnv/Rvo153UPFtFutj10rTcxcys26gik+F+ustomajlu8NsKMO9b Iwzc2WqhWf0jZUKwxHmEfz/ULy4IxfwMflFpx2uPuIUHamTGwhDsxrdQoKbxGH3//jvM j2QmX5whL5WeYcGvdR0IdZIss5AALb5AlYWMF1LrVKDls+3rYw/gIQHxjTcBg4ZiAyu6 8YGhZ/Hjv1AmmaTxVIv32u3HGiviwGWy1tzqgIhxDlKDn8u74uLlmVi0lhUrXjEuM1+z RAntHGBNcadN4e4LMAKK6yq5i14h/veALYliqpWeFNIp934woEd67Dta/ZRIK0c7naLH Z/1g== X-Gm-Message-State: AOJu0YwTOuFrH/xnqT/LV5KzijIaBUbbnKq46Y2RZgdzMC0c5kWfoZtm rcvtopmcBh2Pjdz34BPdDrprSwPIGoq+iEkVhsBavFkah2ujCINiFiLmKtavlR/GHxn/RVQZfKZ I X-Google-Smtp-Source: AGHT+IHHMSml6xiUek2nocgOsgpHe+H7YY7ZqygVrqpR9bxCyugT58OnmIN4kQ8y6YfsqohLK2DLWw== X-Received: by 2002:a17:90b:3654:b0:2e0:7b2b:f76 with SMTP id 98e67ed59e1d1-2e8f1072f43mr17554212a91.19.1730304095930; Wed, 30 Oct 2024 09:01:35 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa26a4fsm1911814a91.23.2024.10.30.09.01.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:01:35 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][styhead][2.10][PATCH 1/4] gitsm: Add call_process_submodules() to remove duplicated code Date: Wed, 30 Oct 2024 09:01:21 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 16:01:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16746 From: Robert Yang There are 14 lines can be removed, and can make it easy to maintain. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie (cherry picked from commit 0ea2c1ac079d63349407a69172ff80cd9acc7252) Signed-off-by: Steve Sakoman --- lib/bb/fetch2/gitsm.py | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py index f7f3af721..17aac6357 100644 --- a/lib/bb/fetch2/gitsm.py +++ b/lib/bb/fetch2/gitsm.py @@ -147,6 +147,17 @@ class GitSM(Git): return submodules != [] + def call_process_submodules(self, ud, d, extra_check, subfunc): + # If we're using a shallow mirror tarball it needs to be + # unpacked temporarily so that we can examine the .gitmodules file + if ud.shallow and os.path.exists(ud.fullshallow) and extra_check: + tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) + runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) + self.process_submodules(ud, tmpdir, subfunc, d) + shutil.rmtree(tmpdir) + else: + self.process_submodules(ud, ud.clonedir, subfunc, d) + def need_update(self, ud, d): if Git.need_update(self, ud, d): return True @@ -164,15 +175,7 @@ class GitSM(Git): logger.error('gitsm: submodule update check failed: %s %s' % (type(e).__name__, str(e))) need_update_result = True - # If we're using a shallow mirror tarball it needs to be unpacked - # temporarily so that we can examine the .gitmodules file - if ud.shallow and os.path.exists(ud.fullshallow) and not os.path.exists(ud.clonedir): - tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) - self.process_submodules(ud, tmpdir, need_update_submodule, d) - shutil.rmtree(tmpdir) - else: - self.process_submodules(ud, ud.clonedir, need_update_submodule, d) + self.call_process_submodules(ud, d, not os.path.exists(ud.clonedir), need_update_submodule) if need_update_list: logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list))) @@ -195,16 +198,7 @@ class GitSM(Git): raise Git.download(self, ud, d) - - # If we're using a shallow mirror tarball it needs to be unpacked - # temporarily so that we can examine the .gitmodules file - if ud.shallow and os.path.exists(ud.fullshallow) and self.need_update(ud, d): - tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) - self.process_submodules(ud, tmpdir, download_submodule, d) - shutil.rmtree(tmpdir) - else: - self.process_submodules(ud, ud.clonedir, download_submodule, d) + self.call_process_submodules(ud, d, self.need_update(ud, d), download_submodule) def unpack(self, ud, destdir, d): def unpack_submodules(ud, url, module, modpath, workdir, d): @@ -263,14 +257,6 @@ class GitSM(Git): newfetch = Fetch([url], d, cache=False) urldata.extend(newfetch.expanded_urldata()) - # If we're using a shallow mirror tarball it needs to be unpacked - # temporarily so that we can examine the .gitmodules file - if ud.shallow and os.path.exists(ud.fullshallow) and ud.method.need_update(ud, d): - tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - subprocess.check_call("tar -xzf %s" % ud.fullshallow, cwd=tmpdir, shell=True) - self.process_submodules(ud, tmpdir, add_submodule, d) - shutil.rmtree(tmpdir) - else: - self.process_submodules(ud, ud.clonedir, add_submodule, d) + self.call_process_submodules(ud, d, ud.method.need_update(ud, d), add_submodule) return urldata From patchwork Wed Oct 30 16:01:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51555 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C13BCD74960 for ; Wed, 30 Oct 2024 16:01:39 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web10.18844.1730304098525184556 for ; Wed, 30 Oct 2024 09:01:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=SwTIMDuO; spf=softfail (domain: sakoman.com, ip: 209.85.214.170, mailfrom: steve@sakoman.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20c693b68f5so74658965ad.1 for ; Wed, 30 Oct 2024 09:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730304098; x=1730908898; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Q5ZdMEZnNDndoiECHv09aaVOYa6PzdQLXWVDWcyVpvo=; b=SwTIMDuOIUSWH8xsxuSEKs9bJCc5YMr75PzlsN6TfDs8ap0IwdTgqKc8bwgkxo5Dof u6avV0G858epJ8D7TizJCgLvCLV5rjsdpAM8//1sHFdb1y/KxzB1O4WXDdPm9N2MACxd Oems/fUqHEibs0c90CaWE3LnezgxDzTIahmYkf7wdgK8USeyopuNV6xkgGKGELY0Aoan wc/2m/aLcgRpzdOcbOOmS/ySJxnqnFudDTVM1MQM3d0ttcVsXvWlqr4H8KAfC2tcV/I5 XKWHXVhstOQT80fMHrG9e9tyTn5HHJqxYefZmN2zH2kHuxSGI6raKGXiijTdPtpcxVs/ VtrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730304098; x=1730908898; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q5ZdMEZnNDndoiECHv09aaVOYa6PzdQLXWVDWcyVpvo=; b=npqpslnzQE2Fuj6suO7y3Bxl4PjFAXvz5iVWR8WQjZqOShlKrfVpV8HPTyN9OK3C7K 2iAm/2o0DX6F9k6vb+9OAY0mlBfiiiljSsf0bmXV/xcpEh4j6ixMS9WAFe7sGIXE/F+g kACX9yTAkLhs6Rl+Bmyb+TLsiHXYlbeCp2hd9NkTevte6PDo0bWbZdy7vB2wmBm/k33G w+djVtjl7PzQ1Q1Jeaddtvax5PYLHE6K72MLjBr/rP+fjmOREVUCtzyAzlp5SZJXbFw9 E5bFLJGeFlTLmpjldPavG0vnu1W9IXGbkAR+YbQBP3jiJzV2z+uSJGrcEbqoTfcET/Iw b0mA== X-Gm-Message-State: AOJu0YzkDq0gNPPDKrejDwPXwYxfMXnN1jOpADpk7EISyEcZSDCJ3z24 u1EtiCd4WjFVUyTL9i+Y0nHE6F/5Q56lxkVon54SDj5pGITpo2Q7I6WdmEyGHJOGiylsbGQtGD6 S X-Google-Smtp-Source: AGHT+IFc90RrNCby+WAXcIdg+JaklKKoiAoJb/JBGd8UcPoPg7XqltmbJ8VJFo9fZ7nWIxl+fYuLIA== X-Received: by 2002:a17:90a:d90c:b0:2e1:a81f:5520 with SMTP id 98e67ed59e1d1-2e8f0f52f0dmr19855525a91.1.1730304097650; Wed, 30 Oct 2024 09:01:37 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa26a4fsm1911814a91.23.2024.10.30.09.01.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:01:37 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][styhead][2.10][PATCH 2/4] gitsm: Remove downloads/tmpdir when failed Date: Wed, 30 Oct 2024 09:01:22 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 16:01:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16747 From: Robert Yang The tmpdir such as downloads/tmplp3cnemv won't be removed without this fix. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie (cherry picked from commit 2ba8d3214759142afc11f0a88d80eb30a8bcde3a) Signed-off-by: Steve Sakoman --- lib/bb/fetch2/gitsm.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py index 17aac6357..fab4b1164 100644 --- a/lib/bb/fetch2/gitsm.py +++ b/lib/bb/fetch2/gitsm.py @@ -152,9 +152,11 @@ class GitSM(Git): # unpacked temporarily so that we can examine the .gitmodules file if ud.shallow and os.path.exists(ud.fullshallow) and extra_check: tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) - self.process_submodules(ud, tmpdir, subfunc, d) - shutil.rmtree(tmpdir) + try: + runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) + self.process_submodules(ud, tmpdir, subfunc, d) + finally: + shutil.rmtree(tmpdir) else: self.process_submodules(ud, ud.clonedir, subfunc, d) From patchwork Wed Oct 30 16:01:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51557 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7C01D6B6A0 for ; Wed, 30 Oct 2024 16:01:49 +0000 (UTC) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mx.groups.io with SMTP id smtpd.web11.18610.1730304099712437731 for ; Wed, 30 Oct 2024 09:01:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=kU3qSI7g; spf=softfail (domain: sakoman.com, ip: 209.85.216.46, mailfrom: steve@sakoman.com) Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2e34a089cd3so5552262a91.3 for ; Wed, 30 Oct 2024 09:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730304099; x=1730908899; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=VuKpA2p+TArnJ8URJib22XlYhSwwKCDMRq0EPPoJdJQ=; b=kU3qSI7gxYvODglnxhQ3hyZqu3fIS+Ms9FUb/AMLiQReyjllvxWN3wefCuC6umngI9 ic9hexhYa9u75nO/yjWGwxu6I3z6U3DKZoNnPGpVTkmACU34tzh7bZr+i8emjWANPshV /YclnpUEKDD6NV8lyKf2q2DG5JysnQ+G4PZpE7ihTgrdTNesigv0SCrSEnbaNkUPNwwy SrI6iReXy5YbVM787Rjw/oZ5r+l6lcsL28iQ6VGwpg4HWgR4D9Ft38dDtZTUdxQWP452 EHLlH/PJJgYUs8qOUqo58gjv8pM/F6HvQYTgj8GwIBPJhvXKKg9RXspSbMrXu9hpu32S qHYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730304099; x=1730908899; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VuKpA2p+TArnJ8URJib22XlYhSwwKCDMRq0EPPoJdJQ=; b=U3xFZw/t9lpSUpzkwMf+rQA7/EPCcej6aGQPe2ogmPUAhuasujEL1X9ZbRLGZfzQVl SJC3z2CO9yKoNhPesnEL317ttAH1QxVdLKO86uhWLm/cvCeWiJMeSPIPvmxEhqj43QUe I/5UaqSH4euxcLC5QxQQyxcQnbfOtlF4Bjuu0am/7ZMi1wqE8KIbNa/kwaNODe974Ba1 4Qu1XzqQADqIOqDEI2HDO8bCdex1F1od6nn0+r4i/J78ZzW6N9VbHWtT+f+WYUuEhSKp buoRAEmzvoNagQmuhNNqqxzkjhdqLVLkjQjVDQOYA6G4lQ+b6oe98EuI6zYpioCGeYgJ VmvQ== X-Gm-Message-State: AOJu0YyeHKt1uIKZTKdyruijGFUQusXW1wUCq/o2P79LJfBbTvPA85Gx v9rFHGL7BzF4WQ0pLz62IO9oPB3/B70HJDTnOHh4KieSoZuSK6SBJ5ACnebZHxa7PT1hFTs/mTw t X-Google-Smtp-Source: AGHT+IFDtQCwPODI+O3kMrwc5sX7ls4beWUpGDkPJboDxZEpToH67rpF9wg+6J4yprPOF4ZjFm8L0A== X-Received: by 2002:a17:90a:7847:b0:2e2:c69b:669 with SMTP id 98e67ed59e1d1-2e8f10a6f5bmr18077086a91.27.1730304098923; Wed, 30 Oct 2024 09:01:38 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa26a4fsm1911814a91.23.2024.10.30.09.01.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:01:38 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][styhead][2.10][PATCH 3/4] tests/fetch: Use our own mirror of sysprof to decouple from gnome gitlab Date: Wed, 30 Oct 2024 09:01:23 -0700 Message-Id: <18bb5e9387a4d80fced48b898827f280b9d1cbbe.1730303370.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 16:01:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16748 From: Richard Purdie GNOME gitlab has occasional downtime which impacts bitbake-selftest and causes autobuilder failures. Switch to our own mirror for test purposes to avoid those issues. Signed-off-by: Richard Purdie (cherry picked from commit 008808755ed6cfeb6c41273e69ce718f0833c26c) Signed-off-by: Steve Sakoman --- lib/bb/tests/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index 4e26e3881..d9883e12a 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -1427,7 +1427,7 @@ class FetchLatestVersionTest(FetcherTest): ("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master;protocol=https", "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf", "", "") : "1.4.0", # combination version pattern - ("sysprof", "git://gitlab.gnome.org/GNOME/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "", "") + ("sysprof", "git://git.yoctoproject.org/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "", "") : "1.2.0", ("u-boot-mkimage", "git://source.denx.de/u-boot/u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "") : "2014.01", From patchwork Wed Oct 30 16:01:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7C30D6B6A4 for ; Wed, 30 Oct 2024 16:01:49 +0000 (UTC) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web10.18846.1730304101490489598 for ; Wed, 30 Oct 2024 09:01:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=k2wJspum; spf=softfail (domain: sakoman.com, ip: 209.85.216.43, mailfrom: steve@sakoman.com) Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2e3fca72a41so5548825a91.1 for ; Wed, 30 Oct 2024 09:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730304101; x=1730908901; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=CahoeJVmiWmE37At7qqgyTsjjL5eG33diq3z3/ZBiyo=; b=k2wJspumwYfb39tQXEyfmpIPortXU9WBuPUbgEZIDim3JfaXhIz6T1FpYHU4S2wlR/ S+pMggHDyxt7RmF6XIkDXGpjwR4gVv6xs7ZC0yPOLRXALzLUM9lPlRgSOwB6n4xdk2uG FLSbVfqPWKKR01UuM0CYw8NEk8fWaYNtL2wwdEomJWmK6xkHAhUHHccbWrNzUS2li/EI tlXJIHyw5otP9tA/XD0jxz8l8VmOoPy+H8UjW9qWXQ3mkybdfHaVV5BDSEROey1J7mxq 3FtXZvg+RA9wchOJHp0SjYlVk+wZZawj3SAuxBrXL3DFKhJW3exx2i/PvFbnqKBrPJxv 0klA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730304101; x=1730908901; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CahoeJVmiWmE37At7qqgyTsjjL5eG33diq3z3/ZBiyo=; b=Jgv+DFXVLGKeqWShUVF/pFqEoRcu91FZO7pwrCDnhunvsQsYny9GVEzdfbmgdFIY8a 1BHleOuVe6+6DtV+uuPzweBnwu4S75t6UACes8v3NmOppfn5q12fYGGfw509Qcx0A51v hWdbO54DdNGy7LA0rIPGSsHfM/jSquEIdkZA99qLzQY/21acKaZkIjpTPSj9fgiq5dpc xfXI7xP8EdSnnoEprE+2IXNWQ6/q71GiBzwmcsn2XV3sPFoN+NaX1OIZIUK0xYas3HGU YNH0fcmSK8l2tb9Oo+n0G/wPfpe3Z7DKXRWbgIpdpUz12qz5lOv/pgJrz9sOHRVtbc21 Z7AA== X-Gm-Message-State: AOJu0YyKfue/cZacGQbSHmrJYd2RSspvzMyopjCehZ04qOnyuI41TjKM Bsur82J/iFOf9dD9n378pvhU8OzPtyacn9sJRvVnZ5iCAXZdcZkR2XR2LAPtNleIKZGRJgIbjy2 8 X-Google-Smtp-Source: AGHT+IF2xmFwtp6rHrHRl4DJTSNFiINTGpAcNPryFVkSyXdLyL9qcoEPYsytV891Sjd4veHRvJsdxQ== X-Received: by 2002:a17:90a:fa8c:b0:2e2:8f39:98d9 with SMTP id 98e67ed59e1d1-2e8f10723d3mr18661831a91.18.1730304100606; Wed, 30 Oct 2024 09:01:40 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa26a4fsm1911814a91.23.2024.10.30.09.01.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:01:40 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][styhead][2.10][PATCH 4/4] tests/fetch: Use our own mirror of mobile-broadband-provider to decouple from gnome gitlab Date: Wed, 30 Oct 2024 09:01:24 -0700 Message-Id: <74e9f83c4b102a95aca7211f2bf4b70af3d1872f.1730303370.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 16:01:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16749 From: Richard Purdie GNOME gitlab has occasional downtime which impacts bitbake-selftest and causes autobuilder failures. Switch to our own mirror for test purposes to avoid those issues. Signed-off-by: Richard Purdie (cherry picked from commit 91e268b11ed683bd197026f9b36001f6d54ee05c) Signed-off-by: Steve Sakoman --- lib/bb/tests/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index d9883e12a..363f3a218 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -1432,7 +1432,7 @@ class FetchLatestVersionTest(FetcherTest): ("u-boot-mkimage", "git://source.denx.de/u-boot/u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "") : "2014.01", # version pattern "yyyymmdd" - ("mobile-broadband-provider-info", "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "", "") + ("mobile-broadband-provider-info", "git://git.yoctoproject.org/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "", "") : "20120614", # packages with a valid UPSTREAM_CHECK_GITTAGREGEX # mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfered with testing