From: "Laszlo Ersek" <lersek@redhat.com>
To: devel@edk2.groups.io, sean.brogan@microsoft.com
Subject: Re: [edk2-devel] RFC for Edk2-Library
Date: Wed, 8 May 2019 11:55:31 +0200 [thread overview]
Message-ID: <efc95b84-b1ca-fa58-8bd8-4421fbfff3ff@redhat.com> (raw)
In-Reply-To: <24030.1557264917803034398@groups.io>
On 05/07/19 23:35, Sean via Groups.Io wrote:
> RFC Edk2-Library creation
>
> Create a new tianocore owned repository to host a python library
> package in support of UEFI development. This package will allow easy
> sharing of python library code to facilitate reuse. Inclusion of this
> package and dependency management should be managed using Pip/Pypi. To
> start this is a supplemental package and is not required to be used
> for edk2 builds.
[1]
> Examples of content here
>
> * Edk2 file type parsing
> * UEFI structure encode/decode in python
> * Packaging tools (Capsules generation, signing, INF gen, Cat gen)
> * TPM support code
> * Potentially move content from basetools/source/python/common/*
[2]
> * No command line tools/interface
>
> Maintainers
>
> * Sean Brogan
> * Bret Barkelew
> * Placeholder for existing maintainer from the basetools
>
> License
>
> * BSD + Patent (edk2 aligned)
>
> Contribution process and issue tracking
>
> * Follow Github PR process for contributions and issue tracking
> * Contributor forks repo in github
> * Contributor creates branch for work
> * Contributor updates release notes to indicate change (if necessary)
> * Contributor submits PR to master branch of tianocore/Edk2-Library
> repo
> * Review feedback is given in PR
> * Python Tests are run on the repo (new contributions need unit tests)
> * Python Style (flake8) must pass
> * All review feedback must be completed, maintainers approved, and
> tests run successfully before PR is *squash merged* into master
The sentences
[1] "To start this is a supplemental package and is not required to be
used for edk2 builds."
[2] "Potentially move content from basetools/source/python/common/*"
foreshadow that such a code movement might happen down the road, and the
external package could become a requirement for building edk2.
That step would mean the following:
(a) Edk2 would not remain buildable from a single command
git clone --recurse-submodules
Building edk2 would require GNU/Linux users to start tracking
packages with "pip", which is independent of any given distro's own
package management, and may cause conflicts if not used carefully:
https://developer.fedoraproject.org/tech/languages/python/pypi-installation.html
This requirement on "pip" would only go away once the external
python dependencies were packaged for at least the larger GNU/Linux
distros.
(b) Edk2 users running into build problems related to the external
python dependencies would have to contribute through a github-only
workflow. That's not a deal-breaker per se -- if we want to
contribute to other edk2 dependencies, such as OpenSSL or nasm, we
also have to conform to their specific development models, clearly.
However, "squash merge" is a catastrophically bad development model,
and I'd object to introducing a new edk2 build dependency that
followed that model.
(There are other issues with the GitHub.com development workflow, as
discussed elsewhere, but "squash merge" takes the cake.)
Problem (a) would be solvable in the long term (through collaboration
with distro maintainers, i.e. downstream packaging), but problem (b)
would not be. Thus I'm fine with the proposal, in its current form, only
if the new package is 100% an addition on top of edk2, even in the long
term, and not in any part intended as a future replacement for current
edk2 functionality.
Thanks,
Laszlo
next prev parent reply other threads:[~2019-05-08 9:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-07 21:35 RFC for Edk2-Library Sean
2019-05-08 9:55 ` Laszlo Ersek [this message]
2019-05-09 18:06 ` [edk2-devel] " Michael D Kinney
2019-05-09 22:55 ` Laszlo Ersek
2019-05-10 0:01 ` Michael D Kinney
2019-05-10 2:23 ` Michael D Kinney
2019-05-10 2:48 ` Sean
2019-05-13 14:46 ` Laszlo Ersek
2019-05-13 10:46 ` Laszlo Ersek
2019-05-13 18:20 ` Michael D Kinney
2019-05-13 20:28 ` Laszlo Ersek
2019-05-23 2:32 ` Michael D Kinney
2019-05-30 2:15 ` [edk2-devel] RFC for edk2-tools-library v2 previously known as " Sean
2019-05-31 17:39 ` Sean
2019-05-31 23:22 ` Michael D Kinney
2019-06-28 20:39 ` Sean
2019-06-11 18:40 ` [edk2-devel] " kondal.r.purma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=efc95b84-b1ca-fa58-8bd8-4421fbfff3ff@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox