chef / chef/chef-cli

FEATURE: `chef generate generator .` should update existing code_generator cookbook

Open
#95 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Help Wanted Triage: Feature Request
Dominant language
Ruby
Stars
18
Forks
23
Avg merge
5d 17h
Merged PRs (30d)
1

Description

We use a custom code_generator. We created it awhile ago. Now there is a build-cookbook generator. would be nice if we could just rerun the generator inside our code_generator cookbook to get the updates and new files/recipes. This approach seems to work for both cookbook and repo generators, but there is no PATH option for this one

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the chef generate generator . command and compare how the cookbook and repo generators support rerunning in an existing location. Determine how the code_generator cookbook should receive updates and new files, including whether it needs a PATH option; done means rerunning the command updates that cookbook without recreating it.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.