linuxboot / linuxboot/uefisettings
Start reading the default values in `NUMERIC`
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 95
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Similarly to how ONE_OF was fixed in c0599ade83438ae4f050f6c2c169ee946e847f58, we also need to fix NUMERIC.
Otherwise we sometimes see something like this in hii list-questions:
Question {
name: "PXE boot wait time",
answer: "Error: failed to fill whole buffer",
options: [],
help: "Wait time in seconds to press ESC key to abort the PXE boot. Use either +/- or numeric keys to set the value.",
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing NUMERIC handling with the ONE_OF fix in commit c0599ade83438ae4f050f6c2c169ee946e847f58 and reproduce the output with hii list-questions. Trace how default values are read for NUMERIC and verify that the PXE boot wait time is reported instead of the buffer error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100