diff options
author | Steve Sakoman <steve@sakoman.com> | 2021-11-02 04:45:10 -1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 10:54:32 +0000 |
commit | 07be05c69896b6d9f4da4b3ba122a1668c8c1200 (patch) | |
tree | 9774f6d61564d917c78f33faf08386a776b9daf7 /meta-selftest | |
parent | afe0ef0a074b23fc5f1c39ed7fd345f7b75973c7 (diff) | |
download | poky-07be05c69896b6d9f4da4b3ba122a1668c8c1200.tar.gz |
meta: Add explict branch to git SRC_URIs, handle github url changes
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r-- | meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb | 2 | ||||
-rw-r--r-- | meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb index 07b83276fb..8a27e3a791 100644 --- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb | |||
@@ -11,7 +11,7 @@ SRCREV = "1a3e1343761b30750bed70e0fd688f6d3c7b3717" | |||
11 | PV = "0.1+git${SRCPV}" | 11 | PV = "0.1+git${SRCPV}" |
12 | PR = "r2" | 12 | PR = "r2" |
13 | 13 | ||
14 | SRC_URI = "git://git.yoctoproject.org/dbus-wait" | 14 | SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master" |
15 | UPSTREAM_CHECK_COMMITS = "1" | 15 | UPSTREAM_CHECK_COMMITS = "1" |
16 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | 16 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" |
17 | 17 | ||
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded index 32ec4b14fa..fbe90d6c6b 100644 --- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded | |||
@@ -10,7 +10,7 @@ DEPENDS = "dbus" | |||
10 | SRCREV = "6cc6077a36fe2648a5f993fe7c16c9632f946517" | 10 | SRCREV = "6cc6077a36fe2648a5f993fe7c16c9632f946517" |
11 | PV = "0.1+git${SRCPV}" | 11 | PV = "0.1+git${SRCPV}" |
12 | 12 | ||
13 | SRC_URI = "git://git.yoctoproject.org/dbus-wait" | 13 | SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master" |
14 | UPSTREAM_CHECK_COMMITS = "1" | 14 | UPSTREAM_CHECK_COMMITS = "1" |
15 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | 15 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" |
16 | 16 | ||