{"action":"created","issue":{"url":"https://api.github.com/repos/snapcore/snapcraft/issues/762","repository_url":"https://api.github.com/repos/snapcore/snapcraft","labels_url":"https://api.github.com/repos/snapcore/snapcraft/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/snapcore/snapcraft/issues/762/comments","events_url":"https://api.github.com/repos/snapcore/snapcraft/issues/762/events","html_url":"https://github.com/snapcore/snapcraft/pull/762","id":173517704,"number":762,"title":"node plugin: run build in pull phase to download dependencies.","user":{"login":"smoser","id":18865,"avatar_url":"https://avatars.githubusercontent.com/u/18865?v=3","gravatar_id":"","url":"https://api.github.com/users/smoser","html_url":"https://github.com/smoser","followers_url":"https://api.github.com/users/smoser/followers","following_url":"https://api.github.com/users/smoser/following{/other_user}","gists_url":"https://api.github.com/users/smoser/gists{/gist_id}","starred_url":"https://api.github.com/users/smoser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoser/subscriptions","organizations_url":"https://api.github.com/users/smoser/orgs","repos_url":"https://api.github.com/users/smoser/repos","events_url":"https://api.github.com/users/smoser/events{/privacy}","received_events_url":"https://api.github.com/users/smoser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-26T18:44:33Z","updated_at":"2016-08-26T18:44:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/snapcore/snapcraft/pulls/762","html_url":"https://github.com/snapcore/snapcraft/pull/762","diff_url":"https://github.com/snapcore/snapcraft/pull/762.diff","patch_url":"https://github.com/snapcore/snapcraft/pull/762.patch"},"body":"This runs the build in the pull phase to download all needed dependencies.\r\nThere is no way to 'npm install --download-only'.\r\n\r\nAdditionally, we add the --cache-min=Infinity which is required.\r\nWithout it, the run in the build phase will try to reach the npm registry.\r\n\r\nLastly, instead of '-g', use the more self-documenting long form '--global'."},"comment":{"url":"https://api.github.com/repos/snapcore/snapcraft/issues/comments/242818639","html_url":"https://github.com/snapcore/snapcraft/pull/762#issuecomment-242818639","issue_url":"https://api.github.com/repos/snapcore/snapcraft/issues/762","id":242818639,"user":{"login":"snappy-m-o","id":16308002,"avatar_url":"https://avatars.githubusercontent.com/u/16308002?v=3","gravatar_id":"","url":"https://api.github.com/users/snappy-m-o","html_url":"https://github.com/snappy-m-o","followers_url":"https://api.github.com/users/snappy-m-o/followers","following_url":"https://api.github.com/users/snappy-m-o/following{/other_user}","gists_url":"https://api.github.com/users/snappy-m-o/gists{/gist_id}","starred_url":"https://api.github.com/users/snappy-m-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snappy-m-o/subscriptions","organizations_url":"https://api.github.com/users/snappy-m-o/orgs","repos_url":"https://api.github.com/users/snappy-m-o/repos","events_url":"https://api.github.com/users/snappy-m-o/events{/privacy}","received_events_url":"https://api.github.com/users/snappy-m-o/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T18:44:41Z","updated_at":"2016-08-26T18:44:41Z","body":"Can one of the admins verify this patch?"}}
{"actor":{"display_login":"snappy-m-o"}}