summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/layerindexlib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/layerindexlib')
-rw-r--r--bitbake/lib/layerindexlib/__init__.py4
-rw-r--r--bitbake/lib/layerindexlib/restapi.py4
-rw-r--r--bitbake/lib/layerindexlib/tests/restapi.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/layerindexlib/__init__.py b/bitbake/lib/layerindexlib/__init__.py
index 3159bf2f66..08063c571e 100644
--- a/bitbake/lib/layerindexlib/__init__.py
+++ b/bitbake/lib/layerindexlib/__init__.py
@@ -198,7 +198,7 @@ The format of the indexURI:
198 198
199 For example: 199 For example:
200 200
201 http://layers.openembedded.org/layerindex/api/;branch=master;desc=OpenEmbedded%20Layer%20Index 201 https://layers.openembedded.org/layerindex/api/;branch=master;desc=OpenEmbedded%20Layer%20Index
202 cooker:// 202 cooker://
203''' 203'''
204 if reload: 204 if reload:
@@ -576,7 +576,7 @@ This function is used to implement debugging and provide the user info.
576# index['config'] - configuration data for this index 576# index['config'] - configuration data for this index
577# index['branches'] - dictionary of Branch objects, by id number 577# index['branches'] - dictionary of Branch objects, by id number
578# index['layerItems'] - dictionary of layerItem objects, by id number 578# index['layerItems'] - dictionary of layerItem objects, by id number
579# ...etc... (See: http://layers.openembedded.org/layerindex/api/) 579# ...etc... (See: https://layers.openembedded.org/layerindex/api/)
580# 580#
581# The class needs to manage the 'index' entries and allow easily adding 581# The class needs to manage the 'index' entries and allow easily adding
582# of new items, as well as simply loading of the items. 582# of new items, as well as simply loading of the items.
diff --git a/bitbake/lib/layerindexlib/restapi.py b/bitbake/lib/layerindexlib/restapi.py
index 26a1c9674e..81d99b02ea 100644
--- a/bitbake/lib/layerindexlib/restapi.py
+++ b/bitbake/lib/layerindexlib/restapi.py
@@ -31,7 +31,7 @@ class RestApiPlugin(layerindexlib.plugin.IndexPlugin):
31 The return value is a LayerIndexObj. 31 The return value is a LayerIndexObj.
32 32
33 url is the url to the rest api of the layer index, such as: 33 url is the url to the rest api of the layer index, such as:
34 http://layers.openembedded.org/layerindex/api/ 34 https://layers.openembedded.org/layerindex/api/
35 35
36 Or a local file... 36 Or a local file...
37 """ 37 """
@@ -138,7 +138,7 @@ class RestApiPlugin(layerindexlib.plugin.IndexPlugin):
138 The return value is a LayerIndexObj. 138 The return value is a LayerIndexObj.
139 139
140 ud is the parsed url to the rest api of the layer index, such as: 140 ud is the parsed url to the rest api of the layer index, such as:
141 http://layers.openembedded.org/layerindex/api/ 141 https://layers.openembedded.org/layerindex/api/
142 """ 142 """
143 143
144 def _get_json_response(apiurl=None, username=None, password=None, retry=True): 144 def _get_json_response(apiurl=None, username=None, password=None, retry=True):
diff --git a/bitbake/lib/layerindexlib/tests/restapi.py b/bitbake/lib/layerindexlib/tests/restapi.py
index 33b5c1c4c8..71f0ae8a9d 100644
--- a/bitbake/lib/layerindexlib/tests/restapi.py
+++ b/bitbake/lib/layerindexlib/tests/restapi.py
@@ -22,7 +22,7 @@ class LayerIndexWebRestApiTest(LayersTest):
22 self.assertFalse(os.environ.get("BB_SKIP_NETTESTS") == "yes", msg="BB_SKIP_NETTESTS set, but we tried to test anyway") 22 self.assertFalse(os.environ.get("BB_SKIP_NETTESTS") == "yes", msg="BB_SKIP_NETTESTS set, but we tried to test anyway")
23 LayersTest.setUp(self) 23 LayersTest.setUp(self)
24 self.layerindex = layerindexlib.LayerIndex(self.d) 24 self.layerindex = layerindexlib.LayerIndex(self.d)
25 self.layerindex.load_layerindex('http://layers.openembedded.org/layerindex/api/;branch=sumo', load=['layerDependencies']) 25 self.layerindex.load_layerindex('https://layers.openembedded.org/layerindex/api/;branch=sumo', load=['layerDependencies'])
26 26
27 @skipIfNoNetwork() 27 @skipIfNoNetwork()
28 def test_layerindex_is_empty(self): 28 def test_layerindex_is_empty(self):