{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1192","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1192/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1192/events","html_url":"https://github.com/dart-lang/pub/issues/1192","id":85646424,"number":1192,"title":"Add install/uninstall/activate/deactivate hooks to pub","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Priority-Low","name":"Priority-Low","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T22:24:15Z","updated_at":"2015-06-05T22:24:16Z","closed_at":null,"body":"<a href=\"https://github.com/sethladd\"><img src=\"https://avatars.githubusercontent.com/u/5479?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [sethladd](https://github.com/sethladd)**\n_Originally opened as dart-lang/sdk#21584_\n\n----\n\nTo repro:\n\npub global activate stagehand\nmkdir empty\ncd empty\nstagehand webapp\n&nbsp;&nbsp;(say Y to analytics)\npub global deactivate stagehand\n\ncat ~/.stagehand\n\nExpected: ~/.stagehand file is deleted (or, a notice is sent to stagehand that the package is getting deleted)\n\nActual: apparently (?) no signal on uninstall"},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109461673","html_url":"https://github.com/dart-lang/pub/issues/1192#issuecomment-109461673","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1192","id":109461673,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:24:16Z","updated_at":"2015-06-05T22:24:16Z","body":"<a href=\"https://github.com/sethladd\"><img src=\"https://avatars.githubusercontent.com/u/5479?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [sethladd](https://github.com/sethladd)**\n\n----\n\nIf there's a lifecycle callback that pub is sending, and that stagehand is not listening to, please let us know and then close this issue. :)  Thanks for taking a look!"}}