[bug] (minor) when adding an option the updated YAML is reordered
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
when you ask it to add a new option because a modifiable list didn't contain it, then the elements of the updated yaml within each element get completely reordered. It makes for unnecessarily noisy diffs _and_ its frequently a conceptually worse order (or at least harder to read) than the original one.
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue by adding an option that is missing from a modifiable list, then locate the code path that updates the YAML. Check how ordering changes within each element and verify that the updated YAML preserves the original, more readable order and produces less noisy diffs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100