Update generators to allow use of own license template file
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 18
- Forks
- 23
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 1
Description
Currently, the chef generators only allow for a constrained list of licenses (@ https://github.com/opscode/chef-dk/blob/master/lib/chef-dk/generator.rb#L73 ) when creating a repo.
It would be great if we could provide a license name (in knife.rb?) that matches a file in https://github.com/opscode/chef-dk/tree/master/lib/chef-dk/skeletons/code_generator/templates/default
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 lib/chef-dk/generator.rb around the constrained license list and inspect the templates under lib/chef-dk/skeletons/code_generator/templates/default. Check how knife.rb values are read, then verify that a configured license name can select a matching template file when generating a repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100