{"action":"created","issue":{"url":"https://api.github.com/repos/habitat-sh/habitat/issues/4827","repository_url":"https://api.github.com/repos/habitat-sh/habitat","labels_url":"https://api.github.com/repos/habitat-sh/habitat/issues/4827/labels{/name}","comments_url":"https://api.github.com/repos/habitat-sh/habitat/issues/4827/comments","events_url":"https://api.github.com/repos/habitat-sh/habitat/issues/4827/events","html_url":"https://github.com/habitat-sh/habitat/issues/4827","id":309536119,"number":4827,"title":"Add a `hab config diff` subcommand","user":{"login":"cnunciato","id":274700,"avatar_url":"https://avatars3.githubusercontent.com/u/274700?v=4","gravatar_id":"","url":"https://api.github.com/users/cnunciato","html_url":"https://github.com/cnunciato","followers_url":"https://api.github.com/users/cnunciato/followers","following_url":"https://api.github.com/users/cnunciato/following{/other_user}","gists_url":"https://api.github.com/users/cnunciato/gists{/gist_id}","starred_url":"https://api.github.com/users/cnunciato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnunciato/subscriptions","organizations_url":"https://api.github.com/users/cnunciato/orgs","repos_url":"https://api.github.com/users/cnunciato/repos","events_url":"https://api.github.com/users/cnunciato/events{/privacy}","received_events_url":"https://api.github.com/users/cnunciato/received_events","type":"User","site_admin":false},"labels":[{"id":621115295,"url":"https://api.github.com/repos/habitat-sh/habitat/labels/A-cli","name":"A-cli","color":"87B09A","default":false},{"id":621115721,"url":"https://api.github.com/repos/habitat-sh/habitat/labels/C-feature","name":"C-feature","color":"ff9012","default":false},{"id":621119782,"url":"https://api.github.com/repos/habitat-sh/habitat/labels/E-hard","name":"E-hard","color":"4296b4","default":false},{"id":621119785,"url":"https://api.github.com/repos/habitat-sh/habitat/labels/L-rust","name":"L-rust","color":"5c6670","default":false},{"id":859405755,"url":"https://api.github.com/repos/habitat-sh/habitat/labels/V-devx","name":"V-devx","color":"0fb0bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T21:20:22Z","updated_at":"2018-03-28T21:22:41Z","closed_at":null,"author_association":"OWNER","body":"One of the great things about `knife` is that it'll tell you, with `knife diff`, whether the config you're about to upload to the Chef server is different from what's already there. It's a great way to double-check changes that can often be dangerous before you make them, and to share those changes with your team for validation.\r\n\r\nhttps://docs.chef.io/knife_diff.html\r\n\r\nI'd like to propose a new subcommand, `hab [sup] config diff` perhaps, that'd do the same thing. For example, if I had a service already running in production, with a config entry of `port = 80`, and I wanted to apply some config that changed port to 443 and added a `host` property, the output might be something like \r\n\r\n```\r\n- port = 80\r\n+ port = 443\r\n+ host = \"example.com\"\r\n``` \r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/habitat-sh/habitat/issues/comments/377041506","html_url":"https://github.com/habitat-sh/habitat/issues/4827#issuecomment-377041506","issue_url":"https://api.github.com/repos/habitat-sh/habitat/issues/4827","id":377041506,"user":{"login":"tashimi","id":719646,"avatar_url":"https://avatars2.githubusercontent.com/u/719646?v=4","gravatar_id":"","url":"https://api.github.com/users/tashimi","html_url":"https://github.com/tashimi","followers_url":"https://api.github.com/users/tashimi/followers","following_url":"https://api.github.com/users/tashimi/following{/other_user}","gists_url":"https://api.github.com/users/tashimi/gists{/gist_id}","starred_url":"https://api.github.com/users/tashimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tashimi/subscriptions","organizations_url":"https://api.github.com/users/tashimi/orgs","repos_url":"https://api.github.com/users/tashimi/repos","events_url":"https://api.github.com/users/tashimi/events{/privacy}","received_events_url":"https://api.github.com/users/tashimi/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T21:22:41Z","updated_at":"2018-03-28T21:22:41Z","author_association":"OWNER","body":"![tenor-229592140](https://user-images.githubusercontent.com/719646/38057185-7683c608-3293-11e8-8f9c-785141242e91.gif)\r\n"}}
{"actor":{"display_login":"tashimi"}}