microsoft / microsoft/azure-linux-dev-tools
request: `azldev comp show-spec`: read-only spec viewing
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 18
- Forks
- 27
- Avg merge
- 4d 33m
- Merged PRs (30d)
- 24
Description
Pain point: To inspect an upstream spec before adding overlays, you currently need to:
- Add a bare
[components.<name>]entry tocomponents.toml - Run
azldev comp prep-sources -p <name> --skip-overlays -o /tmp/inspect - Read the spec
- Remove the temp entry
A dedicated read-only command would eliminate steps 1 and 4.
Proposed: azldev comp show-spec -p <name> — fetches and displays the upstream spec without requiring the component to be registered. Could also support --upstream-distro and --upstream-version flags.
--
Imported on behalf of @dmcilvaney
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 with the existing azldev comp prep-sources -p <name> --skip-overlays command and trace its component registration and upstream-spec fetching entry points. Add a read-only azldev comp show-spec -p <name> path that works without a components.toml entry; verify the displayed spec and, if implemented, the --upstream-distro and --upstream-version flags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100