Skip to contentSkip to conversation

Add GCP fetcher to list of supported protocols

PATCH In review [email protected] 2 participants 2 messages Aug 17, 2023 – Aug 18, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add GCP fetcher to list of supported protocols

From: Emil Ekmečić <[email protected]>

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

---
 meta/classes/own-mirrors.bbclass | 1 +
 meta/classes/sanity.bbclass      | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta/classes/own-mirrors.bbclass +1 -0
index 30c7ccd8e7..2fffc78d19 100644
@@ -12,4 +12,5 @@ ftp://.*/.*     ${SOURCE_MIRROR_URL} \
 npm://.*/?.*    ${SOURCE_MIRROR_URL} \
 s3://.*/.*      ${SOURCE_MIRROR_URL} \
 crate://.*/.*   ${SOURCE_MIRROR_URL} \
+gs://.*/.*      ${SOURCE_MIRROR_URL} \
 "
meta/classes/sanity.bbclass +2 -1
index 293e405f62..6463321913 100644
@@ -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()
 
Signature · 1 line
2.41.0
#1 lore raw
Quoted 5 lines · Emil Ekmečić via lists.openembedded.org

From: Emil Ekmečić <[email protected]>

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

It is against stable branch policy to add new features, so I'm not able to take these two patches.

Steve

Quoted 42 lines
---
 meta/classes/own-mirrors.bbclass | 1 +
 meta/classes/sanity.bbclass      | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta/classes/own-mirrors.bbclass +1 -0
index 30c7ccd8e7..2fffc78d19 100644
@@ -12,4 +12,5 @@ ftp://.*/.*     ${SOURCE_MIRROR_URL} \
 npm://.*/?.*    ${SOURCE_MIRROR_URL} \
 s3://.*/.*      ${SOURCE_MIRROR_URL} \
 crate://.*/.*   ${SOURCE_MIRROR_URL} \
+gs://.*/.*      ${SOURCE_MIRROR_URL} \
 "
meta/classes/sanity.bbclass +2 -2
index 293e405f62..6463321913 100644
@@ -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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186315): https://lists.openembedded.org/g/openembedded-core/message/186315
Mute This Topic: https://lists.openembedded.org/mt/100799584/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-