<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 1, 2020, at 4:35 PM, Matthew Carlson <<a href="mailto:matthewfcarlson@gmail.com" class="">matthewfcarlson@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Hello all,<div class=""><br class=""></div><div class="">A recent topic on the RFC mailing list went out and the work on moving Basetools/Sources/Python to a separate repo has started. See the RFC conversation here: <a href="https://edk2.groups.io/g/rfc/topic/74009714#270" class="">https://edk2.groups.io/g/rfc/topic/74009714#270</a></div><div class=""><br class=""></div><div class="">The repo in question is here: <a href="https://github.com/tianocore/edk2-basetools" class="">https://github.com/tianocore/edk2-basetools</a></div><div class=""><br class=""></div><div class="">The current plan is shortly after the stable tag is created, a series of patches will come into edk2 that redirects the build system into the new python module as well as adds additional documentation. You can see a sample of this work here: <a href="https://github.com/matthewfcarlson/edk2" class="">https://github.com/matthewfcarlson/edk2</a> as this has a branch that has the work required to use the basetools pip module. The patches won't delete the Basetools/Sources/Python folder but will allow users to select between them. After a certain grace period, the python folder will be deleted and the pip module will be the de facto way of using basetools.</div><div class=""><br class=""></div><div class="">Three questions need to be answered:</div><div class=""><br class=""></div><div class="">1. After the patches that enable the pip module land, how long should the grace period be?</div><div class="">2. During the grace period, should basetools commits land in both places or just in the edk2-basetools directory?</div><div class="">3. How should the user be able to select which basetools to use (the one in EDK2 or the pip module)? Currently the approach being considered is a simple environmental variable? One of the key considerations is transparency since it won't be apparent what is being used for a particular build without some sort of mechanism to notify the developer. With two seperate versions of Basetools, it becomes very easy for the version of basetools you're using to not be the one you expect.</div><div class=""><br class=""></div></div></div></div></div></div></blockquote><div><br class=""></div><div>Matthew,</div><div><br class=""></div><div>I’ll throw out some current developer centric ideas. </div><div><br class=""></div><div>1) If you `source edksetup.sh` (edksetup.bat) you get the current behavior, and you add an argument you get the pip flavor? So maybe `edksetup.bat pip-basetools`?</div><div>2) We have similar issues to this with env variables and the build command dumps them out when it runs. Can we use the current EDK_TOOL_PATH? Or maybe add an extra print to show that the pip module is being used?</div><div><br class=""></div><div>Thanks,</div><div><br class=""></div><div>Andrew Fish</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">Thank you.</div><div class=""><div class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class="">-Matthew Carlson</div></div></div></div></div></div></div></div>



</div></blockquote></div><br class=""></body></html>

<div width="1" style="color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>


You receive all messages sent to this group.



<p>

<a target="_blank" href="https://edk2.groups.io/g/devel/message/64928">View/Reply Online (#64928)</a> |


  


|


  
    <a target="_blank" href="https://groups.io/mt/76572200/1813853">Mute This Topic</a>
  

| <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>



<br>

<a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> |
<a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |

<a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>

 [edk2-devel-archive@redhat.com]<br>
<div width="1" style="color:white;clear:both">_._,_._,_</div>