Openembedded Core Discussions
 help / color / mirror / Atom feed
From: eekmecic@snap.com
To: openembedded-core@lists.openembedded.org
Cc: "Emil Ekmečić" <eekmecic@snap.com>
Subject: [[OE-core][kirkstone][PATCH] Add GCP fetcher to list of supported protocols
Date: Thu, 17 Aug 2023 05:52:27 -0700	[thread overview]
Message-ID: <20230817125226.1455928-2-eekmecic@snap.com> (raw)

From: Emil Ekmečić <eekmecic@snap.com>

Requesting a backport of this patch to Kirkstone to support use of
the GCP fetcher internally at our company.

Signed-off-by: Emil Ekmečić <eekmecic@snap.com>
---
 meta/classes/own-mirrors.bbclass | 1 +
 meta/classes/sanity.bbclass      | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/own-mirrors.bbclass b/meta/classes/own-mirrors.bbclass
index 30c7ccd8e7..2fffc78d19 100644
--- a/meta/classes/own-mirrors.bbclass
+++ b/meta/classes/own-mirrors.bbclass
@@ -12,4 +12,5 @@ ftp://.*/.*     ${SOURCE_MIRROR_URL} \
 npm://.*/?.*    ${SOURCE_MIRROR_URL} \
 s3://.*/.*      ${SOURCE_MIRROR_URL} \
 crate://.*/.*   ${SOURCE_MIRROR_URL} \
+gs://.*/.*      ${SOURCE_MIRROR_URL} \
 "
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 293e405f62..6463321913 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -867,7 +867,8 @@ def check_sanity_everybuild(status, d):
     mirror_vars = ['MIRRORS', 'PREMIRRORS', 'SSTATE_MIRRORS']
     protocols = ['http', 'ftp', 'file', 'https', \
                  'git', 'gitsm', 'hg', 'osc', 'p4', 'svn', \
-                 'bzr', 'cvs', 'npm', 'sftp', 'ssh', 's3', 'az', 'ftps', 'crate']
+                 'bzr', 'cvs', 'npm', 'sftp', 'ssh', 's3', \
+                 'az', 'ftps', 'crate', 'gs']
     for mirror_var in mirror_vars:
         mirrors = (d.getVar(mirror_var) or '').replace('\\n', ' ').split()
 
-- 
2.41.0



             reply	other threads:[~2023-08-17 12:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17 12:52 eekmecic [this message]
2023-08-18 14:27 ` [[OE-core][kirkstone][PATCH] Add GCP fetcher to list of supported protocols Steve Sakoman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230817125226.1455928-2-eekmecic@snap.com \
    --to=eekmecic@snap.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox