{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/47484","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47484/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47484/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47484/events","html_url":"https://github.com/Homebrew/homebrew/pull/47484","id":124201274,"number":47484,"title":"cleanup: move code away from cmd/","user":{"login":"bfontaine","id":1334295,"avatar_url":"https://avatars.githubusercontent.com/u/1334295?v=3","gravatar_id":"","url":"https://api.github.com/users/bfontaine","html_url":"https://github.com/bfontaine","followers_url":"https://api.github.com/users/bfontaine/followers","following_url":"https://api.github.com/users/bfontaine/following{/other_user}","gists_url":"https://api.github.com/users/bfontaine/gists{/gist_id}","starred_url":"https://api.github.com/users/bfontaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfontaine/subscriptions","organizations_url":"https://api.github.com/users/bfontaine/orgs","repos_url":"https://api.github.com/users/bfontaine/repos","events_url":"https://api.github.com/users/bfontaine/events{/privacy}","received_events_url":"https://api.github.com/users/bfontaine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/maintainer%20feedback","name":"maintainer feedback","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T12:00:18Z","updated_at":"2015-12-29T12:04:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/47484","html_url":"https://github.com/Homebrew/homebrew/pull/47484","diff_url":"https://github.com/Homebrew/homebrew/pull/47484.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/47484.patch"},"body":"I’ll had more tests/docs when everybody will be ok/happy with this change. It moves everything from `cmd/cleanup.rb` to `cleanup.rb` and move `cleanup_formula` to `Formula#cleanup` as well as `cleanup_keg` to `Keg#cleanup`."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/167774875","html_url":"https://github.com/Homebrew/homebrew/pull/47484#issuecomment-167774875","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47484","id":167774875,"user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"created_at":"2015-12-29T12:04:39Z","updated_at":"2015-12-29T12:04:39Z","body":"Approach makes sense :+1: "}}