]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 10 Nov 2021 03:58:47 +0000 (11:58 +0800)
commitb0667c83c65c9900d63a7d8a2ce88384dcc2ccc5
tree1345455d803b7713f4533ad0a527de2a750e2db4
parentba37cbbf83a51178dffc19fbc2bb5234cb795c0e
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>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
scripts/contrib/convert-srcuri.py [new file with mode: 0755]