Details
Description
Knife should have the ability to load commands from arbitrary directories.
Chatting with the folks on IRC, people want the following behaviors/features:
- There should be a "site-plugins" plugin directory, ~/.chef/knife-plugins/ for example, so users can hack something up and have it work right away without additional packaging/hassle
- for knife plugins that are distributed as gems or installed to the ruby load path, plugins should be opt-in
Opt-in can be accomplished with a set of knife plugin commands, like {{knife plugin [list,enable,disable]}} or some autodetect feature that asks for user confirmation either on first time knife is run after plugin install, or via a "command_missing" type system where the user runs knife $new_plugin_command and knife would find it if missing and prompt for install.
I'm kinda partial to the {{knife plugin [list,enable,disable]}} approach, as I think it's more discoverable--you can find what plugins you have available without knowing their exact names in advance.
Activity
Daniel DeLeo
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
Knife should have the ability to load commands from arbitrary directories. Chatting with the folks on IRC, people want the following behaviors/features: - There should be a "site-plugins" plugin directory, {{~/.chef/knife-plugins/}} for example, so users can hack something up and have it work right away without additional packaging/hassle - for knife plugins that are distributed as gems or installed to the ruby load path, plugins should be opt-in Opt-in can be accomplished with a set of knife plugin commands, like {{knife plugin {list,enable,disable}}} or some autodetect feature that asks for user confirmation either on first time knife is run after plugin install, or via a "command_missing" type system where the user runs {{knife $new_plugin_command}} and knife would find it if missing and prompt for install. I'm kinda partial to the {{knife plugin {list,enable,disable}}} approach, as I think it's more discoverable--you can find what plugins you have available without knowing their exact names in advance. |
Knife should have the ability to load commands from arbitrary directories. Chatting with the folks on IRC, people want the following behaviors/features: - There should be a "site-plugins" plugin directory, {{~/.chef/knife-plugins/}} for example, so users can hack something up and have it work right away without additional packaging/hassle - for knife plugins that are distributed as gems or installed to the ruby load path, plugins should be opt-in Opt-in can be accomplished with a set of knife plugin commands, like {{knife plugin [list,enable,disable]}} or some autodetect feature that asks for user confirmation either on first time knife is run after plugin install, or via a "command_missing" type system where the user runs {{knife $new_plugin_command}} and knife would find it if missing and prompt for install. I'm kinda partial to the {{knife plugin [list,enable,disable]}} approach, as I think it's more discoverable--you can find what plugins you have available without knowing their exact names in advance. |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.2 [ 10075 ] | |
| Fix Version/s | 0.9.0 [ 10061 ] |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.4 [ 10077 ] | |
| Fix Version/s | 0.9.2 [ 10075 ] |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.6 [ 10078 ] | |
| Fix Version/s | 0.9.4 [ 10077 ] |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.8 [ 10079 ] | |
| Fix Version/s | 0.9.6 [ 10078 ] |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.10 [ 10080 ] | |
| Fix Version/s | 0.9.8 [ 10079 ] |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.12 [ 10082 ] | |
| Fix Version/s | 0.9.10 [ 10080 ] |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.14 [ 10083 ] | |
| Fix Version/s | 0.9.12 [ 10082 ] |
Eric Hodel
made changes -
| Assignee | Eric Hodel [ drbrain ] |
Eric Hodel
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 0.10.0 [ 10081 ] | |
| Resolution | Fixed [ 1 ] |
Eric Hodel
made changes -
| Assignee | Eric Hodel [ drbrain ] | Adam Jacob [ adam ] |
Daniel DeLeo
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee | Adam Jacob [ adam ] | Daniel DeLeo [ dan@kallistec.com ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | jira [ 11800 ] | New OSS [ 19301 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 19301 ] | OSS: Product Management [ 27210 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
259d 7h 23m | 1 | Eric Hodel | 08/Feb/11 11:49 PM | |||||
|
13d 23h 7m | 1 | Daniel DeLeo | 22/Feb/11 10:57 PM |
Awesome.
I just added per-directory knife configurations, some of which might become useful in this as well.