{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju/issues/4424","repository_url":"https://api.github.com/repos/juju/juju","labels_url":"https://api.github.com/repos/juju/juju/issues/4424/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju/issues/4424/comments","events_url":"https://api.github.com/repos/juju/juju/issues/4424/events","html_url":"https://github.com/juju/juju/pull/4424","id":133702395,"number":4424,"title":"Write jujuclient files on bootstrap","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,"milestone":null,"comments":5,"created_at":"2016-02-15T12:39:35Z","updated_at":"2016-02-16T00:46:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/4424","html_url":"https://github.com/juju/juju/pull/4424","diff_url":"https://github.com/juju/juju/pull/4424.diff","patch_url":"https://github.com/juju/juju/pull/4424.patch"},"body":"In evirons.Prepare and environs.Destroy, we now\nupdate the jujuclient store accordingly. Because\nmost code is still using the configstore code,\nwe have to revert to giving the initial model\nthe same name as the controller for now.\n\nSome minor fallout/related changes:\n - UserManager API client code now accepts\n   non-local user tags, and leaves it to the\n   server to reject non-local ones. This\n   allows one to pass \"user@local\" to those\n   client methods, as well as just \"user\".\n - Removed some test code that allowed the\n   admin user to be something other than\n   \"admin@local\". This was only used by the\n   dummy provider, which called the user\n   \"dummy-admin@local\". Why is a mystery.\n - Removed dead code in destroy-controller\n   and kill-controller.\n - Drop environs.DestroyInfo, and update the\n   one external caller, destroy-model to just\n   destroy the EnvironInfo and also remove the\n   model from the jujuclient store.\n\nAlso updated the change-user-password command\nto operate off jujuclient, but still update\nconfigstore for now. While I was at it, I\nremoved the .server file code.\n\n(Review request: http://reviews.vapour.ws/r/3864/)"},"comment":{"url":"https://api.github.com/repos/juju/juju/issues/comments/184455365","html_url":"https://github.com/juju/juju/pull/4424#issuecomment-184455365","issue_url":"https://api.github.com/repos/juju/juju/issues/4424","id":184455365,"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-02-16T00:46:33Z","updated_at":"2016-02-16T00:46:33Z","body":"Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju"}}