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


Michael D Kinney
 

Rebecca,

Are you ok with using a GitHub mirror?

Mike

-----Original Message-----
From: gaoliming <gaoliming@byosoft.com.cn>
Sent: Sunday, December 20, 2020 5:18 PM
To: devel@edk2.groups.io; rebecca@bsdio.com; rfc@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>; 'Bret
Barkelew' <Bret.Barkelew@microsoft.com>; 'Laszlo Ersek' <lersek@redhat.com>; 'Gao, Liming' <liming.gao@intel.com>
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.

Thanks
Liming
-----邮件原件-----
发件人: bounce+27952+69261+4905953+8761045@groups.io
<bounce+27952+69261+4905953+8761045@groups.io> 代表 Rebecca Cran
发送时间: 2020年12月20日 9:06
收件人: rfc@edk2.groups.io; michael.d.kinney@intel.com;
devel@edk2.groups.io; 'Bret Barkelew' <Bret.Barkelew@microsoft.com>;
Laszlo Ersek <lersek@redhat.com>; Gao, Liming <liming.gao@intel.com>
主题: 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
TianoCore
org in GitHub.

I have found a GitHub action that can do a repo sync.

https://github.com/marketplace/actions/github-repo-sync

I have created a temporary mirror of cmocka in my personal GitHub area
that
uses this GitHub action to sync all branches and all tags once a day.

https://github.com/mdkinney/mirror-cmocka

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'.

https://github.com/mdkinney/mirror-cmocka/blob/repo-sync/.github/workflo
ws/repo-sync.yml

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
the
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.

--
Rebecca Cran





Rebecca Cran
 

On 12/21/20 1:14 PM, Michael D Kinney wrote:
Rebecca,
Are you ok with using a GitHub mirror?
Yes, that's fine with me.

--
Rebecca Cran


Rebecca Cran
 

On 12/21/20 1:42 PM, Rebecca Cran wrote:
On 12/21/20 1:14 PM, Michael D Kinney wrote:
Rebecca,

Are you ok with using a GitHub mirror?
Yes, that's fine with me.
By the way, I've started getting bounces from Liming's Intel email address.

--
Rebecca Cran