microsoft / mu_feature_config

Project Mu - Feature Repo - UEFI User Config and Management Support
https://microsoft.github.io/mu/
Other
20 stars 27 forks source link

[Feature]: Add AutoGen from Policy to XML #356

Closed os-d closed 3 months ago

os-d commented 5 months ago

Feature Overview

Many end consumers of config knobs use policy from PolicyServicePkg to get their configuration options. To enable a platform to easily create config knobs that map 1:1 with the policy, create a tool that will generate XML from a given policy structure. This will be intended to help during tuning time and that a platform will craft their configuration options to be meaningful to their platform after this point.

Solution Overview

See above.

Alternatives Considered

No response

Urgency

Medium

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

MarcChen46 commented 5 months ago

Since the XML has multiple fields like name, type, default, help, and the config knob may use a customized type that need to declare Enum, in that case, we may need to define a rule how to put those information in policy structure with comment well, then the tool could generate all the required elements in XML files accordingly.

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had activity in 45 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

github-actions[bot] commented 3 months ago

This issue has been automatically been closed because it did not have any activity in 45 days and no follow up within 7 days after being marked stale. Thank you for your contributions.