]> code.ossystems Code Review - openembedded-core.git/commit
scripts/convert-srcuri: Backport SRC_URI conversion script from master branch
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Nov 2021 11:34:21 +0000 (11:34 +0000)
committerSteve Sakoman <steve@sakoman.com>
Wed, 3 Nov 2021 18:43:53 +0000 (08:43 -1000)
commit904bdbab712e2f3c332c4d85d08ed83c957e249f
treef16f6130e51d8c255475ff7f6e65e6c1b8781053
parent6cd21ddc6f998eec4d9be05f080e32072fddd2bd
scripts/convert-srcuri: Backport SRC_URI conversion script from master branch

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/

Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/contrib/convert-srcuri.py [new file with mode: 0755]