New install_strategy primarily to help reduce test-kitchen run times in some scenarios.
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 13
- Forks
- 55
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 8
Description
Describe the Enhancement:
I would like an install strategy of 'version' or whatever word makes most sense. As an example, for the Chef product.....the following actions would be expected for each version setting
14 -> if latest 14 is not installed, install latest 14.x.x
14.12 -> if latest 14.12 is not installed, install latest 14.12.x
14.14.14 -> if this exact version is not installed, install 14.14.14
Describe the Need:
From personal experience, the need is for a test-kitchen situations where the user
- has to deal with Chef baked into an image
- desires a different version of Chef to be tested with, perhaps as different set of suites for example
- would reduce testing times by not having to download/install a version every time using the :always workaround
Current Alternative
Use the :always strategy, which is lots of extra work for scenarios involving one or more restarts and a good number of test suites.
Can We Help You Implement This?:
I can take a stab at this, but the going may be relatively slow as compared to someone who knows the code base very well.
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 by tracing the existing :always install strategy and the entry points that select and resolve install versions. Define the new strategy's behavior for major, minor, and exact Chef versions, then verify that already-installed matching versions are reused and missing versions are installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100