microsoft / microsoft/azure-linux-dev-tools

overlays: file-add source field should be optional

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.