public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EDK II Stable Tag release edk2-stable201905 completed
@ 2019-06-06  9:54 Liming Gao
  2019-06-10  9:06 ` [edk2-devel] " krishnaLee
  0 siblings, 1 reply; 15+ messages in thread
From: Liming Gao @ 2019-06-06  9:54 UTC (permalink / raw)
  To: devel@edk2.groups.io, 'announce@edk2.groups.io'
  Cc: leif.lindholm@linaro.org, Kinney, Michael D, afish@apple.com,
	Laszlo Ersek (lersek@redhat.com)

[-- Attachment #1: Type: text/plain, Size: 840 bytes --]

Hi, all

The tag edk2-stable201905 has been created. https://github.com/tianocore/edk2/releases/tag/edk2-stable201905
  git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git

The tag edk2-stable201905 has been added into the main EDK II Wiki page.
  https://github.com/tianocore/tianocore.github.io/wiki/EDK-II

The quiet period has now ended. Thank you for your cooperation and patience. Normal commits can now be resumed.

Next edk2 stable tag (edk2-stable201908) planning has been added into wiki page.
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning.

If you have ideas for features in the next stable tag, please enter a Bugzilla for evaluation. Please let us know if there are existing open Bugzilla entries that should be targeted at this next stable tag.

Thanks
Liming

[-- Attachment #2: Type: text/html, Size: 3813 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-06  9:54 EDK II Stable Tag release edk2-stable201905 completed Liming Gao
@ 2019-06-10  9:06 ` krishnaLee
  2019-06-10 13:50   ` Liming Gao
  0 siblings, 1 reply; 15+ messages in thread
From: krishnaLee @ 2019-06-10  9:06 UTC (permalink / raw)
  To: devel
  Cc: 'announce@edk2.groups.io', leif.lindholm@linaro.org,
	Kinney, Michael D, afish@apple.com,
	Laszlo Ersek (lersek@redhat.com)

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

Hi,
I had download it (git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git),
but update openssl failed by command (git submodule update --init --recursive)
Cloning into 'D:/edk2/CryptoPkg/Library/OpensslLib/openssl/boringssl'...
fatal: unable to access 'https://boringssl.googlesource.com/boringssl/': Failed to connect to boringssl.googlesource.com port 443: Timed out


I think many chinese people need "Climbing over the Wall" to access 'https://boringssl.googlesource.com/boringssl/'.


I am sorry about this but is there any other idea to bypass it?




thanks,
Krishna.






At 2019-06-06 17:54:48, "Liming Gao" <liming.gao@intel.com> wrote:


Hi, all

 

The tag edk2-stable201905 has been created. https://github.com/tianocore/edk2/releases/tag/edk2-stable201905

  git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git

 

The tag edk2-stable201905 has been added into the main EDK II Wiki page.

  https://github.com/tianocore/tianocore.github.io/wiki/EDK-II

 

The quiet period has now ended. Thank you for your cooperation and patience. Normal commits can now be resumed.

 

Next edk2 stable tag (edk2-stable201908) planning has been added into wiki page.

https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning.

 

If you have ideas for features in the next stable tag, please enter a Bugzilla for evaluation. Please let us know if there are existing open Bugzilla entries that should be targeted at this next stable tag.

 

Thanks

Liming


[-- Attachment #2: Type: text/html, Size: 5687 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-10  9:06 ` [edk2-devel] " krishnaLee
@ 2019-06-10 13:50   ` Liming Gao
  2019-06-10 14:00     ` Leif Lindholm
  0 siblings, 1 reply; 15+ messages in thread
From: Liming Gao @ 2019-06-10 13:50 UTC (permalink / raw)
  To: devel@edk2.groups.io, sssky307@163.com
  Cc: 'announce@edk2.groups.io', leif.lindholm@linaro.org,
	Kinney, Michael D, afish@apple.com,
	Laszlo Ersek (lersek@redhat.com)

[-- Attachment #1: Type: text/plain, Size: 2719 bytes --]

edk2 submodule are from github openssl and berkeley-softfloat-3. If you can access edk2, you can also access them. Why you system redirect github openssl to boringssl?

* [CryptoPkg/Library/OpensslLib/openssl](https://github.com/openssl/openssl/blob/50eaac9f3337667259de725451f201e784599687/LICENSE)
* [ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3](https://github.com/ucb-bar/berkeley-softfloat-3/blob/b64af41c3276f97f0e181920400ee056b9c88037/COPYING.txt)

Thanks
Liming
From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of krishnaLee
Sent: Monday, June 10, 2019 5:07 PM
To: devel@edk2.groups.io
Cc: 'announce@edk2.groups.io' <announce@edk2.groups.io>; leif.lindholm@linaro.org; Kinney, Michael D <michael.d.kinney@intel.com>; afish@apple.com; Laszlo Ersek (lersek@redhat.com) <lersek@redhat.com>
Subject: Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed

Hi,
I had download it (git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git),
but update openssl failed by command (git submodule update --init --recursive)
Cloning into 'D:/edk2/CryptoPkg/Library/OpensslLib/openssl/boringssl'...
fatal: unable to access 'https://boringssl.googlesource.com/boringssl/': Failed to connect to boringssl.googlesource.com port 443: Timed out

I think many chinese people need "Climbing<https://www.bing.com/dict/search?q=Climbing&FORM=BDVSP6&mkt=zh-cn> over<https://www.bing.com/dict/search?q=over&FORM=BDVSP6&mkt=zh-cn> the<https://www.bing.com/dict/search?q=the&FORM=BDVSP6&mkt=zh-cn> Wall<https://www.bing.com/dict/search?q=Wall&FORM=BDVSP6&mkt=zh-cn>" to access 'https://boringssl.googlesource.com/boringssl/'.

I am sorry about this but is there any other idea to bypass it?


thanks,
Krishna.



At 2019-06-06 17:54:48, "Liming Gao" <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote:

Hi, all

The tag edk2-stable201905 has been created. https://github.com/tianocore/edk2/releases/tag/edk2-stable201905
  git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git

The tag edk2-stable201905 has been added into the main EDK II Wiki page.
  https://github.com/tianocore/tianocore.github.io/wiki/EDK-II

The quiet period has now ended. Thank you for your cooperation and patience. Normal commits can now be resumed.

Next edk2 stable tag (edk2-stable201908) planning has been added into wiki page.
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning.

If you have ideas for features in the next stable tag, please enter a Bugzilla for evaluation. Please let us know if there are existing open Bugzilla entries that should be targeted at this next stable tag.

Thanks
Liming


[-- Attachment #2: Type: text/html, Size: 11825 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-10 13:50   ` Liming Gao
@ 2019-06-10 14:00     ` Leif Lindholm
  2019-06-10 14:16       ` Liming Gao
  2019-06-11 10:08       ` Laszlo Ersek
  0 siblings, 2 replies; 15+ messages in thread
From: Leif Lindholm @ 2019-06-10 14:00 UTC (permalink / raw)
  To: Gao, Liming
  Cc: devel@edk2.groups.io, sssky307@163.com,
	'announce@edk2.groups.io', Kinney, Michael D,
	afish@apple.com, Laszlo Ersek (lersek@redhat.com)

On Mon, Jun 10, 2019 at 01:50:43PM +0000, Gao, Liming wrote:
> edk2 submodule are from github openssl and berkeley-softfloat-3. If you can access edk2, you can also access them. Why you system redirect github openssl to boringssl?
> 
> * [CryptoPkg/Library/OpensslLib/openssl](https://github.com/openssl/openssl/blob/50eaac9f3337667259de725451f201e784599687/LICENSE)
> * [ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3](https://github.com/ucb-bar/berkeley-softfloat-3/blob/b64af41c3276f97f0e181920400ee056b9c88037/COPYING.txt)

Argh, no. OpenSSL has boringssl as a git submodule.

edk2/CryptoPkg/Library/OpensslLib/openssl$ cat .gitmodules
[submodule "boringssl"]
        path = boringssl
        url = https://boringssl.googlesource.com/boringssl
...


/
    Leif

> Thanks
> Liming
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of krishnaLee
> Sent: Monday, June 10, 2019 5:07 PM
> To: devel@edk2.groups.io
> Cc: 'announce@edk2.groups.io' <announce@edk2.groups.io>; leif.lindholm@linaro.org; Kinney, Michael D <michael.d.kinney@intel.com>; afish@apple.com; Laszlo Ersek (lersek@redhat.com) <lersek@redhat.com>
> Subject: Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
> 
> Hi,
> I had download it (git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git),
> but update openssl failed by command (git submodule update --init --recursive)
> Cloning into 'D:/edk2/CryptoPkg/Library/OpensslLib/openssl/boringssl'...
> fatal: unable to access 'https://boringssl.googlesource.com/boringssl/': Failed to connect to boringssl.googlesource.com port 443: Timed out
> 
> I think many chinese people need "Climbing<https://www.bing.com/dict/search?q=Climbing&FORM=BDVSP6&mkt=zh-cn> over<https://www.bing.com/dict/search?q=over&FORM=BDVSP6&mkt=zh-cn> the<https://www.bing.com/dict/search?q=the&FORM=BDVSP6&mkt=zh-cn> Wall<https://www.bing.com/dict/search?q=Wall&FORM=BDVSP6&mkt=zh-cn>" to access 'https://boringssl.googlesource.com/boringssl/'.
> 
> I am sorry about this but is there any other idea to bypass it?
> 
> 
> thanks,
> Krishna.
> 
> 
> 
> At 2019-06-06 17:54:48, "Liming Gao" <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote:
> 
> Hi, all
> 
> The tag edk2-stable201905 has been created. https://github.com/tianocore/edk2/releases/tag/edk2-stable201905
>   git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git
> 
> The tag edk2-stable201905 has been added into the main EDK II Wiki page.
>   https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
> 
> The quiet period has now ended. Thank you for your cooperation and patience. Normal commits can now be resumed.
> 
> Next edk2 stable tag (edk2-stable201908) planning has been added into wiki page.
> https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning.
> 
> If you have ideas for features in the next stable tag, please enter a Bugzilla for evaluation. Please let us know if there are existing open Bugzilla entries that should be targeted at this next stable tag.
> 
> Thanks
> Liming
> 

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-10 14:00     ` Leif Lindholm
@ 2019-06-10 14:16       ` Liming Gao
  2019-06-12  5:24         ` krishnaLee
  2019-06-11 10:08       ` Laszlo Ersek
  1 sibling, 1 reply; 15+ messages in thread
From: Liming Gao @ 2019-06-10 14:16 UTC (permalink / raw)
  To: Leif Lindholm
  Cc: devel@edk2.groups.io, sssky307@163.com,
	'announce@edk2.groups.io', Kinney, Michael D,
	afish@apple.com, Laszlo Ersek (lersek@redhat.com)


> -----Original Message-----
> From: Leif Lindholm [mailto:leif.lindholm@linaro.org]
> Sent: Monday, June 10, 2019 10:00 PM
> To: Gao, Liming <liming.gao@intel.com>
> Cc: devel@edk2.groups.io; sssky307@163.com; 'announce@edk2.groups.io' <announce@edk2.groups.io>; Kinney, Michael D
> <michael.d.kinney@intel.com>; afish@apple.com; Laszlo Ersek (lersek@redhat.com) <lersek@redhat.com>
> Subject: Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
> 
> On Mon, Jun 10, 2019 at 01:50:43PM +0000, Gao, Liming wrote:
> > edk2 submodule are from github openssl and berkeley-softfloat-3. If you can access edk2, you can also access them. Why you system
> redirect github openssl to boringssl?
> >
> > *
> [CryptoPkg/Library/OpensslLib/openssl](https://github.com/openssl/openssl/blob/50eaac9f3337667259de725451f201e784599687/LICE
> NSE)
> > *
> [ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3](https://github.com/ucb-bar/berkeley-softfloat-3/blob/b64af41c3276f97f0e181920
> 400ee056b9c88037/COPYING.txt)
> 
> Argh, no. OpenSSL has boringssl as a git submodule.
> 
> edk2/CryptoPkg/Library/OpensslLib/openssl$ cat .gitmodules
> [submodule "boringssl"]
>         path = boringssl
>         url = https://boringssl.googlesource.com/boringssl
> ...

I just notice openssl has its own submodule. https://github.com/google/boringssl is the mirror of boringssl.

Can you modify the .gitconfig with the below rule, and try again?

[url "https://github.com/google/boringssl"]
	insteadOf = https://boringssl.googlesource.com/boringssl

> 
> 
> /
>     Leif
> 
> > Thanks
> > Liming
> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of krishnaLee
> > Sent: Monday, June 10, 2019 5:07 PM
> > To: devel@edk2.groups.io
> > Cc: 'announce@edk2.groups.io' <announce@edk2.groups.io>; leif.lindholm@linaro.org; Kinney, Michael D
> <michael.d.kinney@intel.com>; afish@apple.com; Laszlo Ersek (lersek@redhat.com) <lersek@redhat.com>
> > Subject: Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
> >
> > Hi,
> > I had download it (git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git),
> > but update openssl failed by command (git submodule update --init --recursive)
> > Cloning into 'D:/edk2/CryptoPkg/Library/OpensslLib/openssl/boringssl'...
> > fatal: unable to access 'https://boringssl.googlesource.com/boringssl/': Failed to connect to boringssl.googlesource.com port 443: Timed
> out
> >
> > I think many chinese people need "Climbing<https://www.bing.com/dict/search?q=Climbing&FORM=BDVSP6&mkt=zh-cn>
> over<https://www.bing.com/dict/search?q=over&FORM=BDVSP6&mkt=zh-cn>
> the<https://www.bing.com/dict/search?q=the&FORM=BDVSP6&mkt=zh-cn>
> Wall<https://www.bing.com/dict/search?q=Wall&FORM=BDVSP6&mkt=zh-cn>" to access 'https://boringssl.googlesource.com/boringssl/'.
> >
> > I am sorry about this but is there any other idea to bypass it?
> >
> >
> > thanks,
> > Krishna.
> >
> >
> >
> > At 2019-06-06 17:54:48, "Liming Gao" <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote:
> >
> > Hi, all
> >
> > The tag edk2-stable201905 has been created. https://github.com/tianocore/edk2/releases/tag/edk2-stable201905
> >   git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git
> >
> > The tag edk2-stable201905 has been added into the main EDK II Wiki page.
> >   https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
> >
> > The quiet period has now ended. Thank you for your cooperation and patience. Normal commits can now be resumed.
> >
> > Next edk2 stable tag (edk2-stable201908) planning has been added into wiki page.
> > https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning.
> >
> > If you have ideas for features in the next stable tag, please enter a Bugzilla for evaluation. Please let us know if there are existing open
> Bugzilla entries that should be targeted at this next stable tag.
> >
> > Thanks
> > Liming
> > 

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-10 14:00     ` Leif Lindholm
  2019-06-10 14:16       ` Liming Gao
@ 2019-06-11 10:08       ` Laszlo Ersek
  2019-06-11 10:30         ` Leif Lindholm
  1 sibling, 1 reply; 15+ messages in thread
From: Laszlo Ersek @ 2019-06-11 10:08 UTC (permalink / raw)
  To: Leif Lindholm, Gao, Liming
  Cc: devel@edk2.groups.io, sssky307@163.com,
	'announce@edk2.groups.io', Kinney, Michael D,
	afish@apple.com

On 06/10/19 16:00, Leif Lindholm wrote:
> On Mon, Jun 10, 2019 at 01:50:43PM +0000, Gao, Liming wrote:
>> edk2 submodule are from github openssl and berkeley-softfloat-3. If you can access edk2, you can also access them. Why you system redirect github openssl to boringssl?
>>
>> * [CryptoPkg/Library/OpensslLib/openssl](https://github.com/openssl/openssl/blob/50eaac9f3337667259de725451f201e784599687/LICENSE)
>> * [ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3](https://github.com/ucb-bar/berkeley-softfloat-3/blob/b64af41c3276f97f0e181920400ee056b9c88037/COPYING.txt)
> 
> Argh, no. OpenSSL has boringssl as a git submodule.
> 
> edk2/CryptoPkg/Library/OpensslLib/openssl$ cat .gitmodules
> [submodule "boringssl"]
>         path = boringssl
>         url = https://boringssl.googlesource.com/boringssl
> ...
> 

That's right, but it shouldn't matter. In edk2, I always use

$ git submodule update --init --force

and I never pass the "--recursive" flag. This is also how I tested the
upgrade to OpenSSL-1.1.1b, before edk2-stable201905 was tagged. The
boringssl sub-sub-module is not needed for edk2's purposes.

We might want to drop "--recursive" from "OpenSSL-HOWTO.txt", instead.

Thanks
Laszlo

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-11 10:08       ` Laszlo Ersek
@ 2019-06-11 10:30         ` Leif Lindholm
  2019-06-11 15:46           ` Laszlo Ersek
  0 siblings, 1 reply; 15+ messages in thread
From: Leif Lindholm @ 2019-06-11 10:30 UTC (permalink / raw)
  To: devel, lersek
  Cc: Gao, Liming, sssky307@163.com, 'announce@edk2.groups.io',
	Kinney, Michael D, afish@apple.com

On Tue, Jun 11, 2019 at 12:08:34PM +0200, Laszlo Ersek wrote:
> > Argh, no. OpenSSL has boringssl as a git submodule.
> > 
> > edk2/CryptoPkg/Library/OpensslLib/openssl$ cat .gitmodules
> > [submodule "boringssl"]
> >         path = boringssl
> >         url = https://boringssl.googlesource.com/boringssl
> > ...
> > 
> 
> That's right, but it shouldn't matter. In edk2, I always use
> 
> $ git submodule update --init --force
> 
> and I never pass the "--recursive" flag. This is also how I tested the
> upgrade to OpenSSL-1.1.1b, before edk2-stable201905 was tagged. The
> boringssl sub-sub-module is not needed for edk2's purposes.
> 
> We might want to drop "--recursive" from "OpenSSL-HOWTO.txt", instead.

The instructions have spread to many other places (build instructions
in wiki and edk2-platforms Readme.md being two of them).
That's not to say we shouldn't change it, but that we need to go
through and update those places too.

And frankly, if we've accepted the need to support submodules, we
need to document how edk2 interacts with submodules, not how each
individual submodule interacts with edk2 - so the git instructions in
OpenSSL-HOWTO.txt should probably be deleted.

This might be a good topic to bring to the next design meeting.

Presumably the above will be a useful workaround for the original
reporter in the meantime.

Regards,

Leif

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-11 10:30         ` Leif Lindholm
@ 2019-06-11 15:46           ` Laszlo Ersek
  2019-06-11 16:08             ` Leif Lindholm
  0 siblings, 1 reply; 15+ messages in thread
From: Laszlo Ersek @ 2019-06-11 15:46 UTC (permalink / raw)
  To: Leif Lindholm, devel
  Cc: Gao, Liming, sssky307@163.com, 'announce@edk2.groups.io',
	Kinney, Michael D, afish@apple.com

On 06/11/19 12:30, Leif Lindholm wrote:
> On Tue, Jun 11, 2019 at 12:08:34PM +0200, Laszlo Ersek wrote:
>>> Argh, no. OpenSSL has boringssl as a git submodule.
>>>
>>> edk2/CryptoPkg/Library/OpensslLib/openssl$ cat .gitmodules
>>> [submodule "boringssl"]
>>>         path = boringssl
>>>         url = https://boringssl.googlesource.com/boringssl
>>> ...
>>>
>>
>> That's right, but it shouldn't matter. In edk2, I always use
>>
>> $ git submodule update --init --force
>>
>> and I never pass the "--recursive" flag. This is also how I tested the
>> upgrade to OpenSSL-1.1.1b, before edk2-stable201905 was tagged. The
>> boringssl sub-sub-module is not needed for edk2's purposes.
>>
>> We might want to drop "--recursive" from "OpenSSL-HOWTO.txt", instead.
> 
> The instructions have spread to many other places (build instructions
> in wiki and edk2-platforms Readme.md being two of them).
> That's not to say we shouldn't change it, but that we need to go
> through and update those places too.
> 
> And frankly, if we've accepted the need to support submodules, we
> need to document how edk2 interacts with submodules, not how each
> individual submodule interacts with edk2 - so the git instructions in
> OpenSSL-HOWTO.txt should probably be deleted.
> 
> This might be a good topic to bring to the next design meeting.
> 
> Presumably the above will be a useful workaround for the original
> reporter in the meantime.

To be clear -- the problem *exists* only because the original reporter
is stuck behind a restrictive firewall. There is nothing *technically*
wrong with the current instructions in "OpenSSL-HOWTO.txt". There is
nothing particular in how "edk2 interacts with submodules". We're
discussing workarounds for a political problem.

Thanks
Laszlo

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-11 15:46           ` Laszlo Ersek
@ 2019-06-11 16:08             ` Leif Lindholm
  2019-06-12  8:18               ` Laszlo Ersek
  0 siblings, 1 reply; 15+ messages in thread
From: Leif Lindholm @ 2019-06-11 16:08 UTC (permalink / raw)
  To: Laszlo Ersek
  Cc: devel, Gao, Liming, sssky307@163.com,
	'announce@edk2.groups.io', Kinney, Michael D,
	afish@apple.com

On Tue, Jun 11, 2019 at 05:46:37PM +0200, Laszlo Ersek wrote:
> > The instructions have spread to many other places (build instructions
> > in wiki and edk2-platforms Readme.md being two of them).
> > That's not to say we shouldn't change it, but that we need to go
> > through and update those places too.
> > 
> > And frankly, if we've accepted the need to support submodules, we
> > need to document how edk2 interacts with submodules, not how each
> > individual submodule interacts with edk2 - so the git instructions in
> > OpenSSL-HOWTO.txt should probably be deleted.
> > 
> > This might be a good topic to bring to the next design meeting.
> > 
> > Presumably the above will be a useful workaround for the original
> > reporter in the meantime.
> 
> To be clear -- the problem *exists* only because the original reporter
> is stuck behind a restrictive firewall. There is nothing *technically*
> wrong with the current instructions in "OpenSSL-HOWTO.txt". There is
> nothing particular in how "edk2 interacts with submodules". We're
> discussing workarounds for a political problem.

At this point in time we are discussing a workaround for a political
problem. But relying on submodules means relinquishing elements of
control and consistency (if github goes down, we're consistently
down).

In this instance, we explicitly don't care about the submodule for
that other project (and I really hope this is the norm) - so we
shouldn't be documenting steps that rely on that additional
submodule existing. Whether its inaccessibility is for political (not
just this one, but "oh, someone told me there was pirated things on
that host"), technical ("server went down") or financial ("where is me
domain, me noggin' noggin' domain, it's all gone for beer and
tobacco") reasons.

(Why yes, I may be going slightly loopy from too much python.)

This is why I am referring to anything other than a central definition
of the relationship between edk2 and its submodules as a workaround. I
am not suggesting any shortcomings in the technical aspect.

/
    Leif

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-10 14:16       ` Liming Gao
@ 2019-06-12  5:24         ` krishnaLee
  0 siblings, 0 replies; 15+ messages in thread
From: krishnaLee @ 2019-06-12  5:24 UTC (permalink / raw)
  To: devel
  Cc: Leif Lindholm, 'announce@edk2.groups.io',
	Kinney, Michael D, afish@apple.com,
	Laszlo Ersek (lersek@redhat.com), liming.gao

[-- Attachment #1: Type: text/plain, Size: 4253 bytes --]

Dear All,
I just want build a piece of  new OVMF.fd for QEMU,I tried to build it, passed even if update boringssl failed.


thank you,
Krishna

At 2019-06-10 22:16:46, "Liming Gao" <liming.gao@intel.com> wrote:
>
>> -----Original Message-----
>> From: Leif Lindholm [mailto:leif.lindholm@linaro.org]
>> Sent: Monday, June 10, 2019 10:00 PM
>> To: Gao, Liming <liming.gao@intel.com>
>> Cc: devel@edk2.groups.io; sssky307@163.com; 'announce@edk2.groups.io' <announce@edk2.groups.io>; Kinney, Michael D
>> <michael.d.kinney@intel.com>; afish@apple.com; Laszlo Ersek (lersek@redhat.com) <lersek@redhat.com>
>> Subject: Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
>> 
>> On Mon, Jun 10, 2019 at 01:50:43PM +0000, Gao, Liming wrote:
>> > edk2 submodule are from github openssl and berkeley-softfloat-3. If you can access edk2, you can also access them. Why you system
>> redirect github openssl to boringssl?
>> >
>> > *
>> [CryptoPkg/Library/OpensslLib/openssl](https://github.com/openssl/openssl/blob/50eaac9f3337667259de725451f201e784599687/LICE
>> NSE)
>> > *
>> [ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3](https://github.com/ucb-bar/berkeley-softfloat-3/blob/b64af41c3276f97f0e181920
>> 400ee056b9c88037/COPYING.txt)
>> 
>> Argh, no. OpenSSL has boringssl as a git submodule.
>> 
>> edk2/CryptoPkg/Library/OpensslLib/openssl$ cat .gitmodules
>> [submodule "boringssl"]
>>         path = boringssl
>>         url = https://boringssl.googlesource.com/boringssl
>> ...
>
>I just notice openssl has its own submodule. https://github.com/google/boringssl is the mirror of boringssl.
>
>Can you modify the .gitconfig with the below rule, and try again?
>
>[url "https://github.com/google/boringssl"]
>	insteadOf = https://boringssl.googlesource.com/boringssl
>
>> 
>> 
>> /
>>     Leif
>> 
>> > Thanks
>> > Liming
>> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of krishnaLee
>> > Sent: Monday, June 10, 2019 5:07 PM
>> > To: devel@edk2.groups.io
>> > Cc: 'announce@edk2.groups.io' <announce@edk2.groups.io>; leif.lindholm@linaro.org; Kinney, Michael D
>> <michael.d.kinney@intel.com>; afish@apple.com; Laszlo Ersek (lersek@redhat.com) <lersek@redhat.com>
>> > Subject: Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
>> >
>> > Hi,
>> > I had download it (git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git),
>> > but update openssl failed by command (git submodule update --init --recursive)
>> > Cloning into 'D:/edk2/CryptoPkg/Library/OpensslLib/openssl/boringssl'...
>> > fatal: unable to access 'https://boringssl.googlesource.com/boringssl/': Failed to connect to boringssl.googlesource.com port 443: Timed
>> out
>> >
>> > I think many chinese people need "Climbing<https://www.bing.com/dict/search?q=Climbing&FORM=BDVSP6&mkt=zh-cn>
>> over<https://www.bing.com/dict/search?q=over&FORM=BDVSP6&mkt=zh-cn>
>> the<https://www.bing.com/dict/search?q=the&FORM=BDVSP6&mkt=zh-cn>
>> Wall<https://www.bing.com/dict/search?q=Wall&FORM=BDVSP6&mkt=zh-cn>" to access 'https://boringssl.googlesource.com/boringssl/'.
>> >
>> > I am sorry about this but is there any other idea to bypass it?
>> >
>> >
>> > thanks,
>> > Krishna.
>> >
>> >
>> >
>> > At 2019-06-06 17:54:48, "Liming Gao" <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote:
>> >
>> > Hi, all
>> >
>> > The tag edk2-stable201905 has been created. https://github.com/tianocore/edk2/releases/tag/edk2-stable201905
>> >   git clone -b edk2-stable201905 https://github.com/tianocore/edk2.git
>> >
>> > The tag edk2-stable201905 has been added into the main EDK II Wiki page.
>> >   https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
>> >
>> > The quiet period has now ended. Thank you for your cooperation and patience. Normal commits can now be resumed.
>> >
>> > Next edk2 stable tag (edk2-stable201908) planning has been added into wiki page.
>> > https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning.
>> >
>> > If you have ideas for features in the next stable tag, please enter a Bugzilla for evaluation. Please let us know if there are existing open
>> Bugzilla entries that should be targeted at this next stable tag.
>> >
>> > Thanks
>> > Liming
>> > 
>
>

[-- Attachment #2: Type: text/html, Size: 5224 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-11 16:08             ` Leif Lindholm
@ 2019-06-12  8:18               ` Laszlo Ersek
  2019-06-12  9:21                 ` Leif Lindholm
  0 siblings, 1 reply; 15+ messages in thread
From: Laszlo Ersek @ 2019-06-12  8:18 UTC (permalink / raw)
  To: Leif Lindholm
  Cc: devel, Gao, Liming, sssky307@163.com,
	'announce@edk2.groups.io', Kinney, Michael D,
	afish@apple.com

On 06/11/19 18:08, Leif Lindholm wrote:
> On Tue, Jun 11, 2019 at 05:46:37PM +0200, Laszlo Ersek wrote:
>>> The instructions have spread to many other places (build instructions
>>> in wiki and edk2-platforms Readme.md being two of them).
>>> That's not to say we shouldn't change it, but that we need to go
>>> through and update those places too.
>>>
>>> And frankly, if we've accepted the need to support submodules, we
>>> need to document how edk2 interacts with submodules, not how each
>>> individual submodule interacts with edk2 - so the git instructions in
>>> OpenSSL-HOWTO.txt should probably be deleted.
>>>
>>> This might be a good topic to bring to the next design meeting.
>>>
>>> Presumably the above will be a useful workaround for the original
>>> reporter in the meantime.
>>
>> To be clear -- the problem *exists* only because the original reporter
>> is stuck behind a restrictive firewall. There is nothing *technically*
>> wrong with the current instructions in "OpenSSL-HOWTO.txt". There is
>> nothing particular in how "edk2 interacts with submodules". We're
>> discussing workarounds for a political problem.
> 
> At this point in time we are discussing a workaround for a political
> problem. But relying on submodules means relinquishing elements of
> control and consistency (if github goes down, we're consistently
> down).
> 
> In this instance, we explicitly don't care about the submodule for
> that other project (and I really hope this is the norm) - so we
> shouldn't be documenting steps that rely on that additional
> submodule existing.

Yes; this is why I suggested dropping "--recursive" from the
instructions. As far as I remember, it was meant as a convenience for
users cloning the edk2 repo from zero.

> Whether its inaccessibility is for political (not
> just this one, but "oh, someone told me there was pirated things on
> that host"), technical ("server went down") or financial ("where is me
> domain, me noggin' noggin' domain, it's all gone for beer and
> tobacco") reasons.
> 
> (Why yes, I may be going slightly loopy from too much python.)
> 
> This is why I am referring to anything other than a central definition
> of the relationship between edk2 and its submodules as a workaround. I
> am not suggesting any shortcomings in the technical aspect.

Can you provide an example definition then? I'm having trouble imagining
one.

Or do you have QEMU in mind, as an example? AIUI, the QEMU project has
server-side jobs that continuously mirror all submodule repositories
from their primary locations to the QEMU git server. And then submodule
URLs in the main QEMU tree (the "superproject") point to the mirrored
subprojects on "git.qemu.org". This makes sure all submodules can be
cloned as long as QEMU itself can be cloned.

In edk2, the direct submodules (OpenSSL and SoftFloat) are both on
github, same as edk2 itself. OpenSSL seems to have three submodules,
"pyca-cryptography" (on github), "krb5" (ditto), and "boringssl" (on
"googlesource.com"). "boringssl" has a mirror at
<https://github.com/google/boringssl>, but:

- in order to change the URL in OpenSSL, we'd either have to convince
the OpenSSL developers to reference the github mirror rather than the
central boringssl repo, or we'd have to diverge from OpenSSL upstream in
our submodule (with a commit that updates the URL)

- we *really* don't need boringssl:

  - Readme.md at <https://github.com/google/boringssl> states as much
    up-front ("it is not intended for general use, as OpenSSL is. We
    don't recommend that third parties depend upon it")

  - In OpenSSL, the boringssl submodule was introduced in commit
    ab29eca645cd ("Run BoringSSL tests on Travis", 2016-11-24). It looks
    completely useless for superprojects (i.e. for communities that
    don't actively develop OpenSSL itself).

In short I don't see how we can define a uniform / blanket relationship
between edk2 and all of its sub-sub-modules. We could provide a list
that discussed each case separately. And this list could change every
time we moved forward to a new OpenSSL (or other direct submodule) release.

I'm sorry if this is just wild speculation but I really don't understand
what you have in mind, for the definition. Can you please give an example?

Thanks
Laszlo

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-12  8:18               ` Laszlo Ersek
@ 2019-06-12  9:21                 ` Leif Lindholm
  2019-06-12  9:37                   ` Laszlo Ersek
  0 siblings, 1 reply; 15+ messages in thread
From: Leif Lindholm @ 2019-06-12  9:21 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: devel, Gao, Liming, Kinney, Michael D, afish@apple.com

On Wed, Jun 12, 2019 at 10:18:24AM +0200, Laszlo Ersek wrote:
> > In this instance, we explicitly don't care about the submodule for
> > that other project (and I really hope this is the norm) - so we
> > shouldn't be documenting steps that rely on that additional
> > submodule existing.
> 
> Yes; this is why I suggested dropping "--recursive" from the
> instructions. As far as I remember, it was meant as a convenience for
> users cloning the edk2 repo from zero.

But we've never actually relied on that behaviour, so it's not so much
convenience as cargo culting.

> > This is why I am referring to anything other than a central definition
> > of the relationship between edk2 and its submodules as a workaround. I
> > am not suggesting any shortcomings in the technical aspect.
> 
> Can you provide an example definition then? I'm having trouble imagining
> one.

Laszlo, I think you've misunderstood me somewhere.

What I am saying is:
- We should have a policy (i.e., a section in toplevel Readme.md)
  regarding submodules.
  - That policy *should* include the requirement to not permit
    submodules requiring submodules for our purposes.
  - That policy should include the steps required to get the edk2
    repository to a buildable state.
  - Nothing related to submodules should be documented anywhere else
    in the tree. Sure, OpenSSL-HOWTO.txt can still be there, but
    the section "HOW to Install OpenSSL for UEFI Building" should go.

Regards,

Leif

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-12  9:21                 ` Leif Lindholm
@ 2019-06-12  9:37                   ` Laszlo Ersek
  2019-06-12 13:30                     ` Liming Gao
  0 siblings, 1 reply; 15+ messages in thread
From: Laszlo Ersek @ 2019-06-12  9:37 UTC (permalink / raw)
  To: Leif Lindholm; +Cc: devel, Gao, Liming, Kinney, Michael D, afish@apple.com

On 06/12/19 11:21, Leif Lindholm wrote:
> On Wed, Jun 12, 2019 at 10:18:24AM +0200, Laszlo Ersek wrote:
>>> In this instance, we explicitly don't care about the submodule for
>>> that other project (and I really hope this is the norm) - so we
>>> shouldn't be documenting steps that rely on that additional
>>> submodule existing.
>>
>> Yes; this is why I suggested dropping "--recursive" from the
>> instructions. As far as I remember, it was meant as a convenience for
>> users cloning the edk2 repo from zero.
> 
> But we've never actually relied on that behaviour, so it's not so much
> convenience as cargo culting.
> 
>>> This is why I am referring to anything other than a central definition
>>> of the relationship between edk2 and its submodules as a workaround. I
>>> am not suggesting any shortcomings in the technical aspect.
>>
>> Can you provide an example definition then? I'm having trouble imagining
>> one.
> 
> Laszlo, I think you've misunderstood me somewhere.

That's for certain. :)

> What I am saying is:
> - We should have a policy (i.e., a section in toplevel Readme.md)
>   regarding submodules.
>   - That policy *should* include the requirement to not permit
>     submodules requiring submodules for our purposes.
>   - That policy should include the steps required to get the edk2
>     repository to a buildable state.
>   - Nothing related to submodules should be documented anywhere else
>     in the tree. Sure, OpenSSL-HOWTO.txt can still be there, but
>     the section "HOW to Install OpenSSL for UEFI Building" should go.

Got it now. Good idea.

Thanks!
Laszlo

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-12  9:37                   ` Laszlo Ersek
@ 2019-06-12 13:30                     ` Liming Gao
  2019-06-12 17:00                       ` Leif Lindholm
  0 siblings, 1 reply; 15+ messages in thread
From: Liming Gao @ 2019-06-12 13:30 UTC (permalink / raw)
  To: devel@edk2.groups.io, lersek@redhat.com, Leif Lindholm
  Cc: Kinney, Michael D, afish@apple.com

Leif:

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Laszlo Ersek
> Sent: Wednesday, June 12, 2019 5:38 PM
> To: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: devel@edk2.groups.io; Gao, Liming <liming.gao@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; afish@apple.com
> Subject: Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
> 
> On 06/12/19 11:21, Leif Lindholm wrote:
> > On Wed, Jun 12, 2019 at 10:18:24AM +0200, Laszlo Ersek wrote:
> >>> In this instance, we explicitly don't care about the submodule for
> >>> that other project (and I really hope this is the norm) - so we
> >>> shouldn't be documenting steps that rely on that additional
> >>> submodule existing.
> >>
> >> Yes; this is why I suggested dropping "--recursive" from the
> >> instructions. As far as I remember, it was meant as a convenience for
> >> users cloning the edk2 repo from zero.
> >
> > But we've never actually relied on that behaviour, so it's not so much
> > convenience as cargo culting.
> >
> >>> This is why I am referring to anything other than a central definition
> >>> of the relationship between edk2 and its submodules as a workaround. I
> >>> am not suggesting any shortcomings in the technical aspect.
> >>
> >> Can you provide an example definition then? I'm having trouble imagining
> >> one.
> >
> > Laszlo, I think you've misunderstood me somewhere.
> 
> That's for certain. :)
> 
> > What I am saying is:
> > - We should have a policy (i.e., a section in toplevel Readme.md)
> >   regarding submodules.
> >   - That policy *should* include the requirement to not permit
> >     submodules requiring submodules for our purposes.
> >   - That policy should include the steps required to get the edk2
> >     repository to a buildable state.
> >   - Nothing related to submodules should be documented anywhere else
> >     in the tree. Sure, OpenSSL-HOWTO.txt can still be there, but
> >     the section "HOW to Install OpenSSL for UEFI Building" should go.
> 
> Got it now. Good idea.

Can you submit one BZ for it? I think CryptoPkg maintain should list the clear usage of openssl.

> 
> Thanks!
> Laszlo
> 
> 


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-devel] EDK II Stable Tag release edk2-stable201905 completed
  2019-06-12 13:30                     ` Liming Gao
@ 2019-06-12 17:00                       ` Leif Lindholm
  0 siblings, 0 replies; 15+ messages in thread
From: Leif Lindholm @ 2019-06-12 17:00 UTC (permalink / raw)
  To: Gao, Liming
  Cc: devel@edk2.groups.io, lersek@redhat.com, Kinney, Michael D,
	afish@apple.com

Hi Liming,

On Wed, Jun 12, 2019 at 01:30:23PM +0000, Gao, Liming wrote:
> > > What I am saying is:
> > > - We should have a policy (i.e., a section in toplevel Readme.md)
> > >   regarding submodules.
> > >   - That policy *should* include the requirement to not permit
> > >     submodules requiring submodules for our purposes.
> > >   - That policy should include the steps required to get the edk2
> > >     repository to a buildable state.
> > >   - Nothing related to submodules should be documented anywhere else
> > >     in the tree. Sure, OpenSSL-HOWTO.txt can still be there, but
> > >     the section "HOW to Install OpenSSL for UEFI Building" should go.
> > 
> > Got it now. Good idea.
> 
> Can you submit one BZ for it? I think CryptoPkg maintain should list
> the clear usage of openssl.

I have raised https://bugzilla.tianocore.org/show_bug.cgi?id=1910.

Regards,

Leif

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-06-12 17:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-06  9:54 EDK II Stable Tag release edk2-stable201905 completed Liming Gao
2019-06-10  9:06 ` [edk2-devel] " krishnaLee
2019-06-10 13:50   ` Liming Gao
2019-06-10 14:00     ` Leif Lindholm
2019-06-10 14:16       ` Liming Gao
2019-06-12  5:24         ` krishnaLee
2019-06-11 10:08       ` Laszlo Ersek
2019-06-11 10:30         ` Leif Lindholm
2019-06-11 15:46           ` Laszlo Ersek
2019-06-11 16:08             ` Leif Lindholm
2019-06-12  8:18               ` Laszlo Ersek
2019-06-12  9:21                 ` Leif Lindholm
2019-06-12  9:37                   ` Laszlo Ersek
2019-06-12 13:30                     ` Liming Gao
2019-06-12 17:00                       ` Leif Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox