Allow conditional resource manifest args
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 523
- Forks
- 75
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 24
Description
Summary of the new feature / enhancement
It would be useful to have conditional args passed to resources, like OS or architecture, for example.
Proposed technical implementation details (optional)
Add a new arg object:
{
"condition": "<expression>",
"args": [ <args> ]
}
condition would accept a valid expression and args is only appended if condition evaluates to true. Of course, some functions won't be available.
args would be an array and itself can take any valid arg string or object.
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
No files, tests, or entry points are named. Start by locating resource manifest argument parsing and expression evaluation, then determine how conditional argument objects fit the existing manifest schema. Done means valid conditions append their args, false conditions do not, and supported versus unavailable functions are defined and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100