{"action":"created","issue":{"url":"https://api.github.com/repos/nerdvegas/rez/issues/238","labels_url":"https://api.github.com/repos/nerdvegas/rez/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/nerdvegas/rez/issues/238/comments","events_url":"https://api.github.com/repos/nerdvegas/rez/issues/238/events","html_url":"https://github.com/nerdvegas/rez/pull/238","id":101772945,"number":238,"title":"Cli callbacks","user":{"login":"elrond79","id":71800,"avatar_url":"https://avatars.githubusercontent.com/u/71800?v=3","gravatar_id":"","url":"https://api.github.com/users/elrond79","html_url":"https://github.com/elrond79","followers_url":"https://api.github.com/users/elrond79/followers","following_url":"https://api.github.com/users/elrond79/following{/other_user}","gists_url":"https://api.github.com/users/elrond79/gists{/gist_id}","starred_url":"https://api.github.com/users/elrond79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrond79/subscriptions","organizations_url":"https://api.github.com/users/elrond79/orgs","repos_url":"https://api.github.com/users/elrond79/repos","events_url":"https://api.github.com/users/elrond79/events{/privacy}","received_events_url":"https://api.github.com/users/elrond79/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-18T23:35:23Z","updated_at":"2015-08-19T22:35:47Z","closed_at":"2015-08-19T19:51:11Z","pull_request":{"url":"https://api.github.com/repos/nerdvegas/rez/pulls/238","html_url":"https://github.com/nerdvegas/rez/pull/238","diff_url":"https://github.com/nerdvegas/rez/pull/238.diff","patch_url":"https://github.com/nerdvegas/rez/pull/238.patch"},"body":"We wanted a way to run some checks before allowing rez-release to run, so I added a configurable callback system for cli commands\r\n\r\nbasically, you can set arbitrary python code to run before or after specific commands (and the pre-callbacks have a chance to abort)"},"comment":{"url":"https://api.github.com/repos/nerdvegas/rez/issues/comments/132810804","html_url":"https://github.com/nerdvegas/rez/pull/238#issuecomment-132810804","issue_url":"https://api.github.com/repos/nerdvegas/rez/issues/238","id":132810804,"user":{"login":"nerdvegas","id":1632842,"avatar_url":"https://avatars.githubusercontent.com/u/1632842?v=3","gravatar_id":"","url":"https://api.github.com/users/nerdvegas","html_url":"https://github.com/nerdvegas","followers_url":"https://api.github.com/users/nerdvegas/followers","following_url":"https://api.github.com/users/nerdvegas/following{/other_user}","gists_url":"https://api.github.com/users/nerdvegas/gists{/gist_id}","starred_url":"https://api.github.com/users/nerdvegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerdvegas/subscriptions","organizations_url":"https://api.github.com/users/nerdvegas/orgs","repos_url":"https://api.github.com/users/nerdvegas/repos","events_url":"https://api.github.com/users/nerdvegas/events{/privacy}","received_events_url":"https://api.github.com/users/nerdvegas/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T22:35:47Z","updated_at":"2015-08-19T22:35:47Z","body":"Awesome, apologies it isn't documented anywhere yet. Starting on that soon.\n\nA\n\n\nOn Wed, Aug 19, 2015 at 3:20 PM, Paul Molodowitch <notifications@github.com>\nwrote:\n\n> Cool... just got our callback working with the existing\n> release_hooks.command... I like it, does exactly what we need!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/nerdvegas/rez/pull/238#issuecomment-132805350>.\n>\n"}}