From patchwork Wed Oct 30 16:49:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51564 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 21D49D6B6B1 for ; Wed, 30 Oct 2024 16:49:40 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web10.20164.1730306979014907943 for ; Wed, 30 Oct 2024 09:49:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=qiNYPonj; spf=softfail (domain: sakoman.com, ip: 209.85.210.172, mailfrom: steve@sakoman.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-72070d341e5so12046b3a.1 for ; Wed, 30 Oct 2024 09:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730306978; x=1730911778; 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=v7ax1GpfX2hcri928NKx/n4J2dBkmECGZuHUaHm6UDk=; b=qiNYPonjzFS03nYNJq7/nzppzpLj63OfyEtZQG1vHP+F7QxXaEi1gatCk8HWXg13kc V5cal3tEAtqSJ0ExXAP2rUm5iAhKAmJaEdRH/rp5bsMlut3mA/fPuYHEC4c3wbI8o7Q2 CyYi/H0kJGNgDO2eu5gnkG31A/m5Eeh3SDQkbz9oFK2Mc9nuOF8/WIK+bKFUyUwX6CI1 i+jrm0SmyCkqHaO8vkXr39CAjbJggAxLvv5xky8MtEkviFmDHxcOg9oCYIg/JYmtdWtK n2hDuZ+ClA5xFryeruJWg1B56NJ7ogNvjUaGdA9bVqZCfkuPGnKVDRaTdM7yla+Hm8wZ woNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730306978; x=1730911778; 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=v7ax1GpfX2hcri928NKx/n4J2dBkmECGZuHUaHm6UDk=; b=T5B84w6FEOGRbDU4Zz3NE4ZhTq7OUUhNV3s5aq55DnucRSeOAoV1ObMh6utx0OHr3T HeitJ9GfTAfnEH0qnpuGuyOUFqINcsp/GeLmcQmg/YsMWirXCrDuoGc4k+3H5Evgrhgk WYeoo7asKgYL39kElxU8+2dIx6OiHoIQlT4lAJU94hdOmyPtRGhmP4oRH2xK3hW0rIWu A9ce3QFlDV/b8ovIuXr3IiapMgj7HmxdtrjdwtluStw8JAoDjeAWn7Ld6E9RoOEld7p1 9moS2fW+5E9XPMcnVePo5Izo9Aof+N4dPgogM/xIDzkoKZ4HE5NJM8dhzDejOIN5qdHc ghYg== X-Gm-Message-State: AOJu0YyvmWD45RYtQYFL7iQW17UhW1EnTPiiJbadrfV2hIhCHfCOrwK8 3WIz2J+KQm4+q96JyVlaCn0MS36S+h/sb7lVLb2d8jj7gJI9Gaao1MWFE+DI41NVsyyeu3VizqJ T X-Google-Smtp-Source: AGHT+IGD1MKcwQQOVyrLMcQaHiDEVTKHAIYXpmb/EccesUbPHqoe86BFix4OnC7JYUpK+KR8xvA8kw== X-Received: by 2002:a05:6a00:1488:b0:71e:7c25:8217 with SMTP id d2e1a72fcca58-720b9de1487mr360884b3a.25.1730306978253; Wed, 30 Oct 2024 09:49:38 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7205791e49asm9466200b3a.32.2024.10.30.09.49.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:49:37 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][kirkstone][2.0][PATCH 1/5] gitsm: Add call_process_submodules() to remove duplicated code Date: Wed, 30 Oct 2024 09:49:25 -0700 Message-Id: <339fed27d8f6e18c298380e03c4a6b4b041cd161.1730306845.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:49:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16751 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 c5f7c03c4..0699645fb 100644 --- a/lib/bb/fetch2/gitsm.py +++ b/lib/bb/fetch2/gitsm.py @@ -139,6 +139,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 @@ -156,15 +167,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))) @@ -187,16 +190,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): @@ -249,14 +243,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:49:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51565 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 0597DD6B6B3 for ; Wed, 30 Oct 2024 16:49:50 +0000 (UTC) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mx.groups.io with SMTP id smtpd.web11.19870.1730306980462962808 for ; Wed, 30 Oct 2024 09:49:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=U05z9uRn; spf=softfail (domain: sakoman.com, ip: 209.85.215.176, mailfrom: steve@sakoman.com) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7eb0bc007edso66124a12.3 for ; Wed, 30 Oct 2024 09:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730306980; x=1730911780; 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=spYgx/nuIPeVluSg5lt7APvinCEOfzqxwQ9QBBreY+c=; b=U05z9uRnKx3V5y59fbJkYjUhVykjUn2n1vUVa2kNncVPRxV+fzblU/QrYp1USBogRB OI2McdGvDhZHKf/0mbYaSG3T6zbGnEl2E4W7Li8uT+tL/sOT9EfI61RwsvKDTvDjGjJq 7/BKCad40LBC1rgdwB4WXlBhNec5eFziyNRhqVtZvXVDHr+j8sOqwBY4dJ1O/qVVHgur OAdF0E9UHIcWE1r+PbhwL4YyfKaj+wotDC2dwbVAnEweaJUg6SDUmQmTP7Lz2EcHGnvq Ydw06EnD6zCz2vJJtvfCA8+F4W/9FZjKlkL65bW+WPweUepMB94ueFE2UjFOY+xuwxJ9 MhYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730306980; x=1730911780; 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=spYgx/nuIPeVluSg5lt7APvinCEOfzqxwQ9QBBreY+c=; b=kMxh0pv0hGiQM5Oc5JzerVnmFBrccqkggCoWrWvQvvgNfpXWu2dcgKHj/NrJ2yeXB5 Ilo2MVlJG/W43FqYjlGYdXrzIXGtcfdDhNDyIuudrwV6bPlLrp343Dzg8TZR6O7SfH+X Q/0rSrgCs/O5W4ZgcCMKCd3vzRJzqNgpvE9fPxIYtS2cZFzzF1+5t5TUyhgxVWMjF/fp AYdYRPFaDJUIxQL2kEmdR6SVQX3YrB/qf7FgMIW5PU8CucZFHDy+fF9iYzjcQ8hPF1/t eSBRQYxxzZrsuQ8vChSMglnWr1eDHIF7WQirzUUeMVW8NCVuMoftDv6ev5rXtnYRKy9O PFqA== X-Gm-Message-State: AOJu0Yx6K0s7XYQcR5jbl5XYxJnwJjyZG0u2gABxNnYv0vzc9cQ5hy3a 7TS4Aq5pZ14t6T6Z3yLTkYLnKaueZfh6E0fgVqNbSwQPoLCjFRiPyCKkU1R/0L+7B9r6q5BOc/Z C X-Google-Smtp-Source: AGHT+IGADYGP+9f0aD67CknC4gTOrsqCXmHwzZzEyd6l052HTYtULbemLzDZts1Xb82LKsTzFSbZWQ== X-Received: by 2002:a05:6a20:4391:b0:1d9:11d0:1215 with SMTP id adf61e73a8af0-1db91d86c59mr38866637.13.1730306979606; Wed, 30 Oct 2024 09:49:39 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7205791e49asm9466200b3a.32.2024.10.30.09.49.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:49:39 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][kirkstone][2.0][PATCH 2/5] gitsm: Remove downloads/tmpdir when failed Date: Wed, 30 Oct 2024 09:49:26 -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:49:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16752 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 0699645fb..488e99cde 100644 --- a/lib/bb/fetch2/gitsm.py +++ b/lib/bb/fetch2/gitsm.py @@ -144,9 +144,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:49:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51567 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 19F02D6B6B5 for ; Wed, 30 Oct 2024 16:49:50 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web10.20165.1730306982087335142 for ; Wed, 30 Oct 2024 09:49:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=Uqs3x9pU; spf=softfail (domain: sakoman.com, ip: 209.85.210.175, mailfrom: steve@sakoman.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-71ec997ad06so5305b3a.3 for ; Wed, 30 Oct 2024 09:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730306981; x=1730911781; 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=i7PHbBdzJxLOxFPTBsqL3GfBfhNNa9lpRlDXqEvpVGU=; b=Uqs3x9pUz5W7w22qQWHl+WbdJq1cb+kup2n6W04bPVYri17lQbvsGmW4x7l2RckSTz VkRddCG5tMYuQwEzcts4s06Kd0byMI+bfHpNac8y8yODBy1jWEmQs4JGcEslDBWz0ZJf T3Vdxnr1gRqVSNlTuM8Q8npWlPAZbfXarTLMjZVSL0a6SQUw7jlVuiJkXZI0FM/gaMaP XiRb6wlw+g5pf2/SMemBhHaUSmdOob5l+rp7L56xxDX0PEVoqQ+ZTurehlsBnjj5Bxai 12S5GD4nyfWEUiQKyb9YSoJ+B/BXgyjAzrR7ilbAaDEO+dgFBr1vz4WQlHo9grbDLOz5 ZDPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730306981; x=1730911781; 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=i7PHbBdzJxLOxFPTBsqL3GfBfhNNa9lpRlDXqEvpVGU=; b=eBE2Gk4x0UjBMdc4vVtV0RvS1vnllcgQ0QYRLXh6A7/PB1TN4bcJNcVCNT+PmT4IFd kdwvMwwgjp1OWN6Lbz5/FjeTDUo8iUd7MbejSxh9r+ElAZe1INPq9cduLkKPmn6OMtxP rrr0U6cAX4Bk6REAoNPR5DyvOjzYhdE/A4RJm0DxW1H2K2WYUIUl4qLMV57za5p4SDBH etFORuoF96MrtSO6qWyB9QrfbVqIVf6x2yqq5dFRz/tO6G83EewRj+1Ny27WA8IBq0cb P4LI5+KJ+zwyq4ra9HhtXzEbasbY252F5uQAi2dTQFvr0wCsgFk3vSVHX1eY4QN5kAJO L1ZQ== X-Gm-Message-State: AOJu0Yx9lNxuW+3xJiQCMvbi1quS0d782ONe/1X7UeEtRqxfX1xpmnEm lphXvtvYiML9yZ05d1/ClNJzx7uaQc8p/vFsLwkpaTDKwtiO4y82X5n839QONGFGJN1ZWtBbh3f Z X-Google-Smtp-Source: AGHT+IH4ZoSR8KGtL4YDbajUDks+FCVTVP7fSe8zki9CGDE/70d4XuhkMWhEQE04r6IF+WGrj9utKg== X-Received: by 2002:a05:6a00:3986:b0:71e:7174:3ae with SMTP id d2e1a72fcca58-720ab3bdf21mr4989846b3a.11.1730306981058; Wed, 30 Oct 2024 09:49:41 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7205791e49asm9466200b3a.32.2024.10.30.09.49.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:49:40 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][kirkstone][2.0][PATCH 3/5] tests/fetch: Use our own mirror of sysprof to decouple from gnome gitlab Date: Wed, 30 Oct 2024 09:49:27 -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:49:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16753 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 efe5479a6..8595d9295 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -1333,7 +1333,7 @@ class FetchLatestVersionTest(FetcherTest): ("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master", "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:49:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51566 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 059B4D6B6B4 for ; Wed, 30 Oct 2024 16:49:50 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web11.19872.1730306985459919216 for ; Wed, 30 Oct 2024 09:49:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=b2FglBus; spf=softfail (domain: sakoman.com, ip: 209.85.210.179, mailfrom: steve@sakoman.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-71e49ad46b1so11628b3a.1 for ; Wed, 30 Oct 2024 09:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730306985; x=1730911785; 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=C/62kCElPE1Xlg+BWDwTrmHRV55+XGVYSiWANNAnW64=; b=b2FglBusBIC8PWlubUkNxYnAoqt9EeArsLWFyrNyXERW2Gz+J+7IKuRrgMCUzS83j1 yGklzUR6oIB4Q334xKny1GLQrvtlCUKj89ID0XbZZV0RDCma3wv1mFxmSl/ihODRrQ9t sj9Jn1/QRWl+1lmp8axdOyd2ovVsEzil+u7bVvrGUzxgOX05NPpUvz2+wItTSOfvEaRC BXvd5sG+V+uZlvSmieHxE1wZk7VF7gRorKnPutjARQY9xW0asj26lNiCcyUEXx7X/Lae rvEJ0HgiOYKUf4t06vvLj1vRO5pI3JzmXwHQjsP0LbMUwqNwB5SpaSTmQnXKNzhobLlp Klxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730306985; x=1730911785; 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=C/62kCElPE1Xlg+BWDwTrmHRV55+XGVYSiWANNAnW64=; b=sklUWz/YlfUlSvzNeNlHBKI2CDr2J4a2tjVPIbH8pazNrnmvNZoqVI3ImelDTrMhD1 oR3W4E+Kx+wSyZAaQqX4ulJ793cjHXOR52JpE+AiErEwRS/gEzD/PUl51JTcrrV6hEfX gqarzPSbIlL3GCysxkrImUJ+oLGDrXi/QvkmyGVuunRA+THRmFdWeZSRGjwbaiQwz4I6 yUKQwtwcN94t162/9szTui5fT9e97WVebe43qcO3KT2h8J972X7P2tR+CrIeTRcFxftD dRLGhKM30OTM10wh8AC8ph8reXIKpTxeTvMMHTxMTEqfSt0/sLwYHTdzhSM9AjjIPnrt rimQ== X-Gm-Message-State: AOJu0YwKPxo/2F8ZhrCBg55n9RS6WNPDUGHdncRnYoLigCy0SMo0MyBI PwUSdwDDz87EcRGkC5wWRDR4mA+noZFDdrMZ78uFq3dGuU5D1cG2wUR9mpMiwnvQiVAkAEbRLkl X X-Google-Smtp-Source: AGHT+IFrh8puREtBAH2q3hK6DHs0h+4rqYRUMCBD7+S91LxTPAdIGQY3WJi4wlsB8kvZHc9LR9kR0A== X-Received: by 2002:a05:6a00:2d17:b0:71e:79a9:ec55 with SMTP id d2e1a72fcca58-72062f860dfmr23258089b3a.7.1730306984496; Wed, 30 Oct 2024 09:49:44 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7205791e49asm9466200b3a.32.2024.10.30.09.49.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:49:44 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][kirkstone][2.0][PATCH 4/5] tests/fetch: Use our own mirror of mobile-broadband-provider to decouple from gnome gitlab Date: Wed, 30 Oct 2024 09:49:28 -0700 Message-Id: <99115618e0752700ff857c450d46fc384723ffc6.1730306845.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:49:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16754 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 8595d9295..9f0f00fff 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -1338,7 +1338,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 From patchwork Wed Oct 30 16:49:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51568 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 06DCDD6B6AD for ; Wed, 30 Oct 2024 16:49:50 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web10.20169.1730306987354459599 for ; Wed, 30 Oct 2024 09:49:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=krSEvCwJ; spf=softfail (domain: sakoman.com, ip: 209.85.210.176, mailfrom: steve@sakoman.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-71e592d7f6eso3628b3a.3 for ; Wed, 30 Oct 2024 09:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730306986; x=1730911786; 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=oEmNp48jwIokQyGOsgMCrjHCxCJ5KgEqQJeFY2zvVhI=; b=krSEvCwJajRhmTyNR9gMtV3phNRUGBZDjH+8h7EHqQgCvFvffFmvfyDk2CmYSgJqOA t3jgBfj/gl6qkAEn5f4figUcdoIOpfs7/wiJFMuRLlf8MF4TYVwKrThsdOgivLqh6kZZ ELj6T+jMwo6PiD8914IaDSTBy0AIBvgZgQ6Mtp0ecmQ0YpBeHTrHCCV/dFGnhbmHyyza 00Cu8V0/wqsRyZtLe2Mq+ii+2iPttOwS4NL2NulGrWo2GPBlo8wBMvn8TjFBcBrJ3Zkt Rgcdlw3k+T2IeISn+bh1mLh6uOklBJBA1MzbdDyLyzIN1cSiGXURWwXUBDiCJixVyDz5 CZ7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730306986; x=1730911786; 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=oEmNp48jwIokQyGOsgMCrjHCxCJ5KgEqQJeFY2zvVhI=; b=B5Fjd5sExnFNKejeg/oovO47vgzzaS7NbJyUpLU+yJ7goCAD8XXIpd5EWOuprCfu+h owBfmsQwZSJFct4PyWh8R9z7+KYlI9Xv+RWUcZF3o7p0//1atWg29F7BexAuqItbFN7o D3o52ePzZXQ2FstNNtWixWqcJQ+pZmn4XZYw/smfuGzbJvbMiyJp/FA8kYeCksfh6dYj +dnl+PQOG2U46/NYvyCteB5vMEpSw45GRQYC0APez4CyJ+T97RrOiJNLPFbJS/g0HLT5 Hwra/gS73oLMpLM2CTModXn2xhNZ55DSz7V+aqoKOqYnR9NBF/iZjtSRQrFnFaVlM9L7 C01Q== X-Gm-Message-State: AOJu0Yy64Q7OJiS68U8tszvfIIEIBJpYFTaawt7TBGz/JpKGX/f1A+I/ UaAYO2WfhFcuFKOBYWitFQWlDhslMV9Q+35zOd2SnvcgRUQzOzOsUOxAn0Lh8YUdD9cLRpEsZBq C X-Google-Smtp-Source: AGHT+IFf5Tr7CF4WEjlF+TPivyIO7vv1cTputVkS+CA7fP9WUcDlAD1aB9oRrlu2Vyu7UzAoJPg9Dw== X-Received: by 2002:a05:6a21:2d8a:b0:1d9:4837:ad95 with SMTP id adf61e73a8af0-1d9a84dd7bamr20380315637.37.1730306986491; Wed, 30 Oct 2024 09:49:46 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7205791e49asm9466200b3a.32.2024.10.30.09.49.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 09:49:46 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][kirkstone][2.0][PATCH 5/5] bitbake-user-manual-ref-variables: update BB_HASHSERVE_UPSTREAM for new infrastructure Date: Wed, 30 Oct 2024 09:49:29 -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:49:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16755 Public hashserver is now at hashserv.yoctoproject.org:8686 Signed-off-by: Steve Sakoman --- doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 12aef3cbb..ad22de4de 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -401,7 +401,7 @@ overview of their function and contents. Example usage:: - BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687" + BB_HASHSERVE_UPSTREAM = "hashserv.yoctoproject.org:8686" :term:`BB_INVALIDCONF` Used in combination with the ``ConfigParsed`` event to trigger