microsoft / microsoft/azure-linux-dev-tools
overlays: file-add source field should be optional
Open
area: overlays
enhancement
usability
- Dominant language
- Go
- Stars
- 18
- Forks
- 27
- Avg merge
- 4d 33m
- Merged PRs (30d)
- 24
Description
The common use case for `file-add` is probably going to be where `file` == `source`, so it would be good for the `source` field to be optional so we don't always have to specify both of them with the same value
--
_Imported on behalf of @ddstreet_
Contributor guide
Research direction
Locate the overlays implementation that handles the `file-add` operation and its `file` and `source` fields. Check how omitted fields are currently validated or interpreted, then verify that omitting `source` uses `file` as the source without changing explicit `source` values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100