{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/13358","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/13358/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/13358/comments","events_url":"https://api.github.com/repos/atom/atom/issues/13358/events","html_url":"https://github.com/atom/atom/pull/13358","id":192443292,"number":13358,"title":"Add initialize() hook to packages","user":{"login":"matthewwithanm","id":126263,"avatar_url":"https://avatars.githubusercontent.com/u/126263?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewwithanm","html_url":"https://github.com/matthewwithanm","followers_url":"https://api.github.com/users/matthewwithanm/followers","following_url":"https://api.github.com/users/matthewwithanm/following{/other_user}","gists_url":"https://api.github.com/users/matthewwithanm/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewwithanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewwithanm/subscriptions","organizations_url":"https://api.github.com/users/matthewwithanm/orgs","repos_url":"https://api.github.com/users/matthewwithanm/repos","events_url":"https://api.github.com/users/matthewwithanm/events{/privacy}","received_events_url":"https://api.github.com/users/matthewwithanm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-30T00:36:56Z","updated_at":"2016-12-01T03:06:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/13358","html_url":"https://github.com/atom/atom/pull/13358","diff_url":"https://github.com/atom/atom/pull/13358.diff","patch_url":"https://github.com/atom/atom/pull/13358.patch"},"body":"This adds a new hook, `initialize()` to packages. This is meant to be called before any interaction with the package. Like `activate()`, it's passed the serialized state from the previous session. Unlike `activate()`, it's called _before_ deserialization, enabling item deserialization that's dependent on serialized package state.\r\n\r\nIt might be a little weird that a function called \"initialize\" can be called multiple times…open to bikeshedding the name!"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/264066640","html_url":"https://github.com/atom/atom/pull/13358#issuecomment-264066640","issue_url":"https://api.github.com/repos/atom/atom/issues/13358","id":264066640,"user":{"login":"nathansobo","id":1789,"avatar_url":"https://avatars.githubusercontent.com/u/1789?v=3","gravatar_id":"","url":"https://api.github.com/users/nathansobo","html_url":"https://github.com/nathansobo","followers_url":"https://api.github.com/users/nathansobo/followers","following_url":"https://api.github.com/users/nathansobo/following{/other_user}","gists_url":"https://api.github.com/users/nathansobo/gists{/gist_id}","starred_url":"https://api.github.com/users/nathansobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathansobo/subscriptions","organizations_url":"https://api.github.com/users/nathansobo/orgs","repos_url":"https://api.github.com/users/nathansobo/repos","events_url":"https://api.github.com/users/nathansobo/events{/privacy}","received_events_url":"https://api.github.com/users/nathansobo/received_events","type":"User","site_admin":true},"created_at":"2016-12-01T03:06:28Z","updated_at":"2016-12-01T03:06:28Z","body":"@damieng I'm assuming the AppVeyor x64 failure is unrelated?"}}
{"actor":{"display_login":"nathansobo"}}