Replies: 1 comment 1 reply
-
Though I guess this could also be implemented via Python functions or UefiBuilder.
|
Beta Was this translation helpful? Give feedback.
-
Though I guess this could also be implemented via Python functions or UefiBuilder.
|
Beta Was this translation helpful? Give feedback.
-
This is a discussion on the current proposal of Edk2-Pytool modifications necessary for a v1.0.0 release. Please find the attached document for the proposal.
Please provide feedback on current proposed changes, any additional changes you would like to see, and any User stories missed that need to be accounted for.
Edk2-Pytools Proposal.docx
Proposals
stuart_<cmd>
tostuart <cmd>
.stuart_setup
andstuart_ci_setup
intostuart_init
.stuart_ci_build
with--checks
flag forstuart_build
.Updates
Introduce command aliasing
It was requested by multiple people to a multiple build paradigm, or the ability to call invocables from other invocables. The current idea is to add command alias's to the configuration files as it allows the flexibility of developers to create combinations of commands as they see fit. This would probably be in a 1.1.0 release as a new feature rather than a part of the 1.0.0 release, but could be very beneficial.
Below would be an example of adding an alias to run
stuart update
andstuart build
through an aliasThis can already be easily done on a user-by-user basis through scripts, but by enabling it in the configuration file, that functionality can easily be shared across a dev team where applicable. More thought will need to be put into this to ensure complex aliasing can be handled
Configuration Chaining
The original idea was to provide a singular override for configurations (repository level and package level override). It was brought up that additional override levels would be beneficial. The new idea is to follow the folder hierarchy up to the workspace root and overriding any configs along the way.
Beta Was this translation helpful? Give feedback.
All reactions