I also prefer to fetch all submodules from github. Then, all git repos will have the same behavior.
toggle quoted messageShow quoted text
<email@example.com> 代表 Rebecca Cran
发送时间: 2020年12月20日 9:06
收件人: firstname.lastname@example.org; email@example.com;
firstname.lastname@example.org; 'Bret Barkelew' <Bret.Barkelew@microsoft.com>;
Laszlo Ersek <email@example.com>; Gao, Liming <firstname.lastname@example.org>
主题: Re: [edk2-devel] [edk2-rfc] [RFC] UnitTestFrameworkPkg cmocka
On 12/19/20 11:58 AM, Michael D Kinney wrote:
There have been a few suggestions to create a mirror of cmocka inTianoCore
org in GitHub.that
I have found a GitHub action that can do a repo sync.
I have created a temporary mirror of cmocka in my personal GitHub area
uses this GitHub action to sync all branches and all tags once a day.https://github.com/mdkinney/mirror-cmocka/blob/repo-sync/.github/workflo
Here is the GitHub workflow file. It must be in the default branch for the
repo using a branch name that is not present in the repo being mirrored.
In this case, I used a branch name of 'repo-sync'.
Please provide feedback on this approach. If we like this approach, then
I suggest we create a new repo in TianoCore called edk2-cmocka that is a
mirror that is synced once a day and we update the cmocka submodule in
edk2 repo to use edk2-cmocka.I'd suggest just using the Gitlab mirror. Unlike cryptomilk.org, Gitlab
should be just as reliable as Github and won't introduce another
potential failure point.