chef / chef/chef-cli

Add support for URL as a generator cookbooks parameter to the chef generate commands

Open
#40 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Aspect: UX Triage: Confirmed Triage: Feature Request Type: Design Proposal
Dominant language
Ruby
Stars
18
Forks
23
Avg merge
5d 17h
Merged PRs (30d)
1

Description

Description

As a user, I want to be able to employ a custom generator cookbook that is specified by URL to produce the various components of my cookbook.

Wouldn't the story that @jjasghar told here be better if he could have written something like the following...

$ chef generate cookbook --generator-cookbook https://github.acme.com/chef/acme-cookbook-generator acme-vim
...
$ cd acme-vim

GitHub

As a user, I want to be able to employ a custom generator cookbook that is specified by GitHub path to produce the various components of my cookbook.

$ chef generate cookbook --generator-cookbook github://acme/acme-cookbook-generator acme-vim
...
$ cd acme-vim 

Supermarket

As a user, I want to be able to employ a custom generator cookbook that is specified by supermarket path to produce the various components of my cookbook.

$ chef generate cookbook --generator-cookbook supermarket://acme-cookbook-generator acme-vim
...
$ cd acme-vim 

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 at the chef generate cookbook command and trace how --generator-cookbook is parsed and resolved. Compare the requested URL, github://, and supermarket:// forms against the existing generator cookbook handling; done means each documented command form selects the requested cookbook successfully.

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.