mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
bitbake: bitbake: replace http with https for URLs
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. (Bitbake rev: da543cdaf88a387675e25d3555765f1146e4105e) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fd232ab906
commit
2e78ec95be
@@ -198,7 +198,7 @@ The format of the indexURI:
|
||||
|
||||
For example:
|
||||
|
||||
http://layers.openembedded.org/layerindex/api/;branch=master;desc=OpenEmbedded%20Layer%20Index
|
||||
https://layers.openembedded.org/layerindex/api/;branch=master;desc=OpenEmbedded%20Layer%20Index
|
||||
cooker://
|
||||
'''
|
||||
if reload:
|
||||
@@ -576,7 +576,7 @@ This function is used to implement debugging and provide the user info.
|
||||
# index['config'] - configuration data for this index
|
||||
# index['branches'] - dictionary of Branch objects, by id number
|
||||
# index['layerItems'] - dictionary of layerItem objects, by id number
|
||||
# ...etc... (See: http://layers.openembedded.org/layerindex/api/)
|
||||
# ...etc... (See: https://layers.openembedded.org/layerindex/api/)
|
||||
#
|
||||
# The class needs to manage the 'index' entries and allow easily adding
|
||||
# of new items, as well as simply loading of the items.
|
||||
|
||||
@@ -31,7 +31,7 @@ class RestApiPlugin(layerindexlib.plugin.IndexPlugin):
|
||||
The return value is a LayerIndexObj.
|
||||
|
||||
url is the url to the rest api of the layer index, such as:
|
||||
http://layers.openembedded.org/layerindex/api/
|
||||
https://layers.openembedded.org/layerindex/api/
|
||||
|
||||
Or a local file...
|
||||
"""
|
||||
@@ -138,7 +138,7 @@ class RestApiPlugin(layerindexlib.plugin.IndexPlugin):
|
||||
The return value is a LayerIndexObj.
|
||||
|
||||
ud is the parsed url to the rest api of the layer index, such as:
|
||||
http://layers.openembedded.org/layerindex/api/
|
||||
https://layers.openembedded.org/layerindex/api/
|
||||
"""
|
||||
|
||||
def _get_json_response(apiurl=None, username=None, password=None, retry=True):
|
||||
|
||||
@@ -22,7 +22,7 @@ class LayerIndexWebRestApiTest(LayersTest):
|
||||
self.assertFalse(os.environ.get("BB_SKIP_NETTESTS") == "yes", msg="BB_SKIP_NETTESTS set, but we tried to test anyway")
|
||||
LayersTest.setUp(self)
|
||||
self.layerindex = layerindexlib.LayerIndex(self.d)
|
||||
self.layerindex.load_layerindex('http://layers.openembedded.org/layerindex/api/;branch=sumo', load=['layerDependencies'])
|
||||
self.layerindex.load_layerindex('https://layers.openembedded.org/layerindex/api/;branch=sumo', load=['layerDependencies'])
|
||||
|
||||
@skipIfNoNetwork()
|
||||
def test_layerindex_is_empty(self):
|
||||
|
||||
Reference in New Issue
Block a user