{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju/issues/5851","repository_url":"https://api.github.com/repos/juju/juju","labels_url":"https://api.github.com/repos/juju/juju/issues/5851/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju/issues/5851/comments","events_url":"https://api.github.com/repos/juju/juju/issues/5851/events","html_url":"https://github.com/juju/juju/pull/5851","id":166796839,"number":5851,"title":"environs: refactor PrepareForBootstrap","user":{"login":"axw","id":843579,"avatar_url":"https://avatars.githubusercontent.com/u/843579?v=3","gravatar_id":"","url":"https://api.github.com/users/axw","html_url":"https://github.com/axw","followers_url":"https://api.github.com/users/axw/followers","following_url":"https://api.github.com/users/axw/following{/other_user}","gists_url":"https://api.github.com/users/axw/gists{/gist_id}","starred_url":"https://api.github.com/users/axw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axw/subscriptions","organizations_url":"https://api.github.com/users/axw/orgs","repos_url":"https://api.github.com/users/axw/repos","events_url":"https://api.github.com/users/axw/events{/privacy}","received_events_url":"https://api.github.com/users/axw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-21T11:27:26Z","updated_at":"2016-07-25T05:29:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/5851","html_url":"https://github.com/juju/juju/pull/5851","diff_url":"https://github.com/juju/juju/pull/5851.diff","patch_url":"https://github.com/juju/juju/pull/5851.patch"},"body":"We move PrepareForBootstrap off EnvironProvider,\nonto Environ, and change its purpose. Once upon\na time it had a dual purpose: to add things to\nthe initial config, and to perform possibly-interactive\npre-bootstrap environment initialisation. We now\nhave the EnvironProvider.BootstrapConfig method\nfor initialising config; and the pre-bootstrap\ninit is best situated next to Bootstrap, on Environ.\n\nApart from clarifying the purpose of the method,\nthis change means that there is now exactly one\nprovider method for constructing an Environ, and that\nis EnvironProvider.Open.\n\nThere is a small change to jujuclient related to\nbootstrapping: to store the cloud type in bootstrap\nconfig. This will become necessary when we remove\n\"type\" from model config.\n\n(Review request: http://reviews.vapour.ws/r/5289/)"},"comment":{"url":"https://api.github.com/repos/juju/juju/issues/comments/234843958","html_url":"https://github.com/juju/juju/pull/5851#issuecomment-234843958","issue_url":"https://api.github.com/repos/juju/juju/issues/5851","id":234843958,"user":{"login":"jujubot","id":7779494,"avatar_url":"https://avatars.githubusercontent.com/u/7779494?v=3","gravatar_id":"","url":"https://api.github.com/users/jujubot","html_url":"https://github.com/jujubot","followers_url":"https://api.github.com/users/jujubot/followers","following_url":"https://api.github.com/users/jujubot/following{/other_user}","gists_url":"https://api.github.com/users/jujubot/gists{/gist_id}","starred_url":"https://api.github.com/users/jujubot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jujubot/subscriptions","organizations_url":"https://api.github.com/users/jujubot/orgs","repos_url":"https://api.github.com/users/jujubot/repos","events_url":"https://api.github.com/users/jujubot/events{/privacy}","received_events_url":"https://api.github.com/users/jujubot/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T05:29:22Z","updated_at":"2016-07-25T05:29:22Z","body":"Build failed: Tests failed\n        build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8532\n"}}
{"actor":{"display_login":"jujubot"}}