summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-02 12:29:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-03 10:12:42 +0000
commit2cf162f5fe1561f6e09bd17bb85f91b62cb2004f (patch)
tree5175bd4663fcefbe2c550a924594d40b2fb7badd /bitbake/lib/bb/tests/fetch.py
parentd576d9ca3a5e852ccfb1506e2df9fc09a9e30f52 (diff)
downloadpoky-2cf162f5fe1561f6e09bd17bb85f91b62cb2004f.tar.gz
bitbake: tests/fetch: Update github urls
(Bitbake rev: 07fca7e3ab696ba985b3ef86ab9031d688bf2df2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r--bitbake/lib/bb/tests/fetch.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index e1638bc478..29a952f286 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -491,7 +491,7 @@ class GitDownloadDirectoryNamingTest(FetcherTest):
491 super(GitDownloadDirectoryNamingTest, self).setUp() 491 super(GitDownloadDirectoryNamingTest, self).setUp()
492 self.recipe_url = "git://git.openembedded.org/bitbake" 492 self.recipe_url = "git://git.openembedded.org/bitbake"
493 self.recipe_dir = "git.openembedded.org.bitbake" 493 self.recipe_dir = "git.openembedded.org.bitbake"
494 self.mirror_url = "git://github.com/openembedded/bitbake.git" 494 self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https"
495 self.mirror_dir = "github.com.openembedded.bitbake.git" 495 self.mirror_dir = "github.com.openembedded.bitbake.git"
496 496
497 self.d.setVar('SRCREV', '82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40') 497 self.d.setVar('SRCREV', '82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40')
@@ -539,7 +539,7 @@ class TarballNamingTest(FetcherTest):
539 super(TarballNamingTest, self).setUp() 539 super(TarballNamingTest, self).setUp()
540 self.recipe_url = "git://git.openembedded.org/bitbake" 540 self.recipe_url = "git://git.openembedded.org/bitbake"
541 self.recipe_tarball = "git2_git.openembedded.org.bitbake.tar.gz" 541 self.recipe_tarball = "git2_git.openembedded.org.bitbake.tar.gz"
542 self.mirror_url = "git://github.com/openembedded/bitbake.git" 542 self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https"
543 self.mirror_tarball = "git2_github.com.openembedded.bitbake.git.tar.gz" 543 self.mirror_tarball = "git2_github.com.openembedded.bitbake.git.tar.gz"
544 544
545 self.d.setVar('BB_GENERATE_MIRROR_TARBALLS', '1') 545 self.d.setVar('BB_GENERATE_MIRROR_TARBALLS', '1')
@@ -573,7 +573,7 @@ class GitShallowTarballNamingTest(FetcherTest):
573 super(GitShallowTarballNamingTest, self).setUp() 573 super(GitShallowTarballNamingTest, self).setUp()
574 self.recipe_url = "git://git.openembedded.org/bitbake" 574 self.recipe_url = "git://git.openembedded.org/bitbake"
575 self.recipe_tarball = "gitshallow_git.openembedded.org.bitbake_82ea737-1_master.tar.gz" 575 self.recipe_tarball = "gitshallow_git.openembedded.org.bitbake_82ea737-1_master.tar.gz"
576 self.mirror_url = "git://github.com/openembedded/bitbake.git" 576 self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https"
577 self.mirror_tarball = "gitshallow_github.com.openembedded.bitbake.git_82ea737-1_master.tar.gz" 577 self.mirror_tarball = "gitshallow_github.com.openembedded.bitbake.git_82ea737-1_master.tar.gz"
578 578
579 self.d.setVar('BB_GIT_SHALLOW', '1') 579 self.d.setVar('BB_GIT_SHALLOW', '1')
@@ -1004,7 +1004,7 @@ class FetcherNetworkTest(FetcherTest):
1004 def test_git_submodule_dbus_broker(self): 1004 def test_git_submodule_dbus_broker(self):
1005 # The following external repositories have show failures in fetch and unpack operations 1005 # The following external repositories have show failures in fetch and unpack operations
1006 # We want to avoid regressions! 1006 # We want to avoid regressions!
1007 url = "gitsm://github.com/bus1/dbus-broker;protocol=git;rev=fc874afa0992d0c75ec25acb43d344679f0ee7d2;branch=main" 1007 url = "gitsm://github.com/bus1/dbus-broker;protocol=https;rev=fc874afa0992d0c75ec25acb43d344679f0ee7d2;branch=main"
1008 fetcher = bb.fetch.Fetch([url], self.d) 1008 fetcher = bb.fetch.Fetch([url], self.d)
1009 fetcher.download() 1009 fetcher.download()
1010 # Previous cwd has been deleted 1010 # Previous cwd has been deleted
@@ -1020,7 +1020,7 @@ class FetcherNetworkTest(FetcherTest):
1020 1020
1021 @skipIfNoNetwork() 1021 @skipIfNoNetwork()
1022 def test_git_submodule_CLI11(self): 1022 def test_git_submodule_CLI11(self):
1023 url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=bd4dc911847d0cde7a6b41dfa626a85aab213baf;branch=main" 1023 url = "gitsm://github.com/CLIUtils/CLI11;protocol=https;rev=bd4dc911847d0cde7a6b41dfa626a85aab213baf;branch=main"
1024 fetcher = bb.fetch.Fetch([url], self.d) 1024 fetcher = bb.fetch.Fetch([url], self.d)
1025 fetcher.download() 1025 fetcher.download()
1026 # Previous cwd has been deleted 1026 # Previous cwd has been deleted
@@ -1035,12 +1035,12 @@ class FetcherNetworkTest(FetcherTest):
1035 @skipIfNoNetwork() 1035 @skipIfNoNetwork()
1036 def test_git_submodule_update_CLI11(self): 1036 def test_git_submodule_update_CLI11(self):
1037 """ Prevent regression on update detection not finding missing submodule, or modules without needed commits """ 1037 """ Prevent regression on update detection not finding missing submodule, or modules without needed commits """
1038 url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=cf6a99fa69aaefe477cc52e3ef4a7d2d7fa40714;branch=main" 1038 url = "gitsm://github.com/CLIUtils/CLI11;protocol=https;rev=cf6a99fa69aaefe477cc52e3ef4a7d2d7fa40714;branch=main"
1039 fetcher = bb.fetch.Fetch([url], self.d) 1039 fetcher = bb.fetch.Fetch([url], self.d)
1040 fetcher.download() 1040 fetcher.download()
1041 1041
1042 # CLI11 that pulls in a newer nlohmann-json 1042 # CLI11 that pulls in a newer nlohmann-json
1043 url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=49ac989a9527ee9bb496de9ded7b4872c2e0e5ca;branch=main" 1043 url = "gitsm://github.com/CLIUtils/CLI11;protocol=https;rev=49ac989a9527ee9bb496de9ded7b4872c2e0e5ca;branch=main"
1044 fetcher = bb.fetch.Fetch([url], self.d) 1044 fetcher = bb.fetch.Fetch([url], self.d)
1045 fetcher.download() 1045 fetcher.download()
1046 # Previous cwd has been deleted 1046 # Previous cwd has been deleted
@@ -1054,7 +1054,7 @@ class FetcherNetworkTest(FetcherTest):
1054 1054
1055 @skipIfNoNetwork() 1055 @skipIfNoNetwork()
1056 def test_git_submodule_aktualizr(self): 1056 def test_git_submodule_aktualizr(self):
1057 url = "gitsm://github.com/advancedtelematic/aktualizr;branch=master;protocol=git;rev=d00d1a04cc2366d1a5f143b84b9f507f8bd32c44" 1057 url = "gitsm://github.com/advancedtelematic/aktualizr;branch=master;protocol=https;rev=d00d1a04cc2366d1a5f143b84b9f507f8bd32c44"
1058 fetcher = bb.fetch.Fetch([url], self.d) 1058 fetcher = bb.fetch.Fetch([url], self.d)
1059 fetcher.download() 1059 fetcher.download()
1060 # Previous cwd has been deleted 1060 # Previous cwd has been deleted
@@ -1074,7 +1074,7 @@ class FetcherNetworkTest(FetcherTest):
1074 """ Prevent regression on deeply nested submodules not being checked out properly, even though they were fetched. """ 1074 """ Prevent regression on deeply nested submodules not being checked out properly, even though they were fetched. """
1075 1075
1076 # This repository also has submodules where the module (name), path and url do not align 1076 # This repository also has submodules where the module (name), path and url do not align
1077 url = "gitsm://github.com/azure/iotedge.git;protocol=git;rev=d76e0316c6f324345d77c48a83ce836d09392699" 1077 url = "gitsm://github.com/azure/iotedge.git;protocol=https;rev=d76e0316c6f324345d77c48a83ce836d09392699"
1078 fetcher = bb.fetch.Fetch([url], self.d) 1078 fetcher = bb.fetch.Fetch([url], self.d)
1079 fetcher.download() 1079 fetcher.download()
1080 # Previous cwd has been deleted 1080 # Previous cwd has been deleted
@@ -1250,7 +1250,7 @@ class FetchLatestVersionTest(FetcherTest):
1250 1250
1251 test_git_uris = { 1251 test_git_uris = {
1252 # version pattern "X.Y.Z" 1252 # version pattern "X.Y.Z"
1253 ("mx-1.0", "git://github.com/clutter-project/mx.git;branch=mx-1.4", "9b1db6b8060bd00b121a692f942404a24ae2960f", "") 1253 ("mx-1.0", "git://github.com/clutter-project/mx.git;branch=mx-1.4;protocol=https", "9b1db6b8060bd00b121a692f942404a24ae2960f", "")
1254 : "1.99.4", 1254 : "1.99.4",
1255 # version pattern "vX.Y" 1255 # version pattern "vX.Y"
1256 # mirror of git.infradead.org since network issues interfered with testing 1256 # mirror of git.infradead.org since network issues interfered with testing
@@ -1277,9 +1277,9 @@ class FetchLatestVersionTest(FetcherTest):
1277 : "0.4.3", 1277 : "0.4.3",
1278 ("build-appliance-image", "git://git.yoctoproject.org/poky", "b37dd451a52622d5b570183a81583cc34c2ff555", r"(?P<pver>(([0-9][\.|_]?)+[0-9]))") 1278 ("build-appliance-image", "git://git.yoctoproject.org/poky", "b37dd451a52622d5b570183a81583cc34c2ff555", r"(?P<pver>(([0-9][\.|_]?)+[0-9]))")
1279 : "11.0.0", 1279 : "11.0.0",
1280 ("chkconfig-alternatives-native", "git://github.com/kergoth/chkconfig;branch=sysroot", "cd437ecbd8986c894442f8fce1e0061e20f04dee", r"chkconfig\-(?P<pver>((\d+[\.\-_]*)+))") 1280 ("chkconfig-alternatives-native", "git://github.com/kergoth/chkconfig;branch=sysroot;protocol=https", "cd437ecbd8986c894442f8fce1e0061e20f04dee", r"chkconfig\-(?P<pver>((\d+[\.\-_]*)+))")
1281 : "1.3.59", 1281 : "1.3.59",
1282 ("remake", "git://github.com/rocky/remake.git", "f05508e521987c8494c92d9c2871aec46307d51d", r"(?P<pver>(\d+\.(\d+\.)*\d*(\+dbg\d+(\.\d+)*)*))") 1282 ("remake", "git://github.com/rocky/remake.git;protocol=https", "f05508e521987c8494c92d9c2871aec46307d51d", r"(?P<pver>(\d+\.(\d+\.)*\d*(\+dbg\d+(\.\d+)*)*))")
1283 : "3.82+dbg0.9", 1283 : "3.82+dbg0.9",
1284 } 1284 }
1285 1285
@@ -2066,7 +2066,7 @@ class GitShallowTest(FetcherTest):
2066 2066
2067 @skipIfNoNetwork() 2067 @skipIfNoNetwork()
2068 def test_bitbake(self): 2068 def test_bitbake(self):
2069 self.git('remote add --mirror=fetch origin git://github.com/openembedded/bitbake', cwd=self.srcdir) 2069 self.git('remote add --mirror=fetch origin https://github.com/openembedded/bitbake', cwd=self.srcdir)
2070 self.git('config core.bare true', cwd=self.srcdir) 2070 self.git('config core.bare true', cwd=self.srcdir)
2071 self.git('fetch', cwd=self.srcdir) 2071 self.git('fetch', cwd=self.srcdir)
2072 2072