-
Notifications
You must be signed in to change notification settings - Fork 36
[Feature]: improve CSV processing and error messges #212
Copy link
Copy link
Closed
Labels
state:backlogIn the backlogIn the backlogstate:needs-maintainer-feedbackNeeds more information from a maintainer to determine next stepsNeeds more information from a maintainer to determine next stepsstate:needs-triageNeeds to triaged to determine next stepsNeeds to triaged to determine next stepstype:feature-requestA new feature proposalA new feature proposalurgency:lowLittle to no impactLittle to no impact
Metadata
Metadata
Assignees
Labels
state:backlogIn the backlogIn the backlogstate:needs-maintainer-feedbackNeeds more information from a maintainer to determine next stepsNeeds more information from a maintainer to determine next stepsstate:needs-triageNeeds to triaged to determine next stepsNeeds to triaged to determine next stepstype:feature-requestA new feature proposalA new feature proposalurgency:lowLittle to no impactLittle to no impact
Feature Overview
When dealing with multiple CSV files for profile support, error messages are sparse (i.e. the specific filename being processed is not displayed, and this can result in difficulty in finding the offending code.
Other minor annoyances:
in CSV profile, having a blank line at the end of the file causes tool failure:
Enum Knob override in Profile CSV cannot have a leading space. Example:
Modify CfgData.xml in Q35 to add enum and enum knob. Same limitation doesn't exist for
<Enums> <Enum name="EnableDisableCombo" help=""> <Value name="Disabled" value="0" help="" /> <Value name="Enabled" value="1" help="" /> </Enum> </Enums> <Knob name="ExampleEnum" type="EnableDisableCombo" default="Enabled" help="" />in CfgData.csv, add override with leading space:
enum values are a maximum of uint32_t, which is in conflict with flexibility of yaml.
Would it be possible to specify a size for enums? or to increase their default size to uint64_t to account for larger values that need storing?
Solution Overview
Minor changes/improvements
Alternatives Considered
No response
Urgency
Low
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