Re: [edk2-devel] [edk2-rfc] [RFC] UnitTestFrameworkPkg cmocka submodule alternatives

Michael D Kinney


Are you ok with using a GitHub mirror?


-----Original Message-----
From: gaoliming <gaoliming@...>
Sent: Sunday, December 20, 2020 5:18 PM
To:; rebecca@...;; Kinney, Michael D <michael.d.kinney@...>; 'Bret
Barkelew' <Bret.Barkelew@...>; 'Laszlo Ersek' <lersek@...>; 'Gao, Liming' <liming.gao@...>
Subject: 回复: [edk2-devel] [edk2-rfc] [RFC] UnitTestFrameworkPkg cmocka submodule alternatives

I also prefer to fetch all submodules from github. Then, all git repos will have the same behavior.

<> 代表 Rebecca Cran
发送时间: 2020年12月20日 9:06
收件人:; michael.d.kinney@...;; 'Bret Barkelew' <Bret.Barkelew@...>;
Laszlo Ersek <lersek@...>; Gao, Liming <liming.gao@...>
主题: Re: [edk2-devel] [edk2-rfc] [RFC] UnitTestFrameworkPkg cmocka
submodule alternatives

On 12/19/20 11:58 AM, Michael D Kinney wrote:
There have been a few suggestions to create a mirror of cmocka in
org in GitHub.

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.

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, Gitlab
should be just as reliable as Github and won't introduce another
potential failure point.

Rebecca Cran

Join to automatically receive all group messages.