{"action":"created","comment":{"url":"https://api.github.com/repos/juju/juju/pulls/comments/40200258","id":40200258,"diff_hunk":"@@ -19,34 +28,34 @@ $ErrorActionPreference = \"Stop\"\n \n function ExecRetry($command, $maxRetryCount = 10, $retryInterval=2)","path":"cloudconfig/powershell_helpers.go","position":25,"original_position":25,"commit_id":"93e5a00f3f61971e1734db34f5695fedf887b0b9","original_commit_id":"93e5a00f3f61971e1734db34f5695fedf887b0b9","user":{"login":"mattyw","id":160718,"avatar_url":"https://avatars.githubusercontent.com/u/160718?v=3","gravatar_id":"","url":"https://api.github.com/users/mattyw","html_url":"https://github.com/mattyw","followers_url":"https://api.github.com/users/mattyw/followers","following_url":"https://api.github.com/users/mattyw/following{/other_user}","gists_url":"https://api.github.com/users/mattyw/gists{/gist_id}","starred_url":"https://api.github.com/users/mattyw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattyw/subscriptions","organizations_url":"https://api.github.com/users/mattyw/orgs","repos_url":"https://api.github.com/users/mattyw/repos","events_url":"https://api.github.com/users/mattyw/events{/privacy}","received_events_url":"https://api.github.com/users/mattyw/received_events","type":"User","site_admin":false},"body":"I'm afraid I really don't like doing this. If we need code in another file I'd much rather have that code in a seperate file and read it when needed. If we need a package var I'd read it in a package init()\r\n\r\nhttp://paste.ubuntu.com/12530761/","created_at":"2015-09-23T13:07:58Z","updated_at":"2015-09-23T13:07:58Z","html_url":"https://github.com/juju/juju/pull/3355#discussion_r40200258","pull_request_url":"https://api.github.com/repos/juju/juju/pulls/3355","_links":{"self":{"href":"https://api.github.com/repos/juju/juju/pulls/comments/40200258"},"html":{"href":"https://github.com/juju/juju/pull/3355#discussion_r40200258"},"pull_request":{"href":"https://api.github.com/repos/juju/juju/pulls/3355"}}},"pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/3355","id":45770993,"html_url":"https://github.com/juju/juju/pull/3355","diff_url":"https://github.com/juju/juju/pull/3355.diff","patch_url":"https://github.com/juju/juju/pull/3355.patch","issue_url":"https://api.github.com/repos/juju/juju/issues/3355","number":3355,"state":"open","locked":false,"title":"fwport: windows public clouds master","user":{"login":"bogdanteleaga","id":6207800,"avatar_url":"https://avatars.githubusercontent.com/u/6207800?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanteleaga","html_url":"https://github.com/bogdanteleaga","followers_url":"https://api.github.com/users/bogdanteleaga/followers","following_url":"https://api.github.com/users/bogdanteleaga/following{/other_user}","gists_url":"https://api.github.com/users/bogdanteleaga/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanteleaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanteleaga/subscriptions","organizations_url":"https://api.github.com/users/bogdanteleaga/orgs","repos_url":"https://api.github.com/users/bogdanteleaga/repos","events_url":"https://api.github.com/users/bogdanteleaga/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanteleaga/received_events","type":"User","site_admin":false},"body":"Forward port of windows public clouds on master.\r\n\r\nAlmost all of this is cherry-picked besides the last 3 commits which amount to:\r\n- Removing some dead code\r\n- Switching to the new os and series packages","created_at":"2015-09-23T12:04:58Z","updated_at":"2015-09-23T13:07:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68a09a1f1b9538f8039885a9be4344a02a0032c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juju/juju/pulls/3355/commits","review_comments_url":"https://api.github.com/repos/juju/juju/pulls/3355/comments","review_comment_url":"https://api.github.com/repos/juju/juju/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juju/juju/issues/3355/comments","statuses_url":"https://api.github.com/repos/juju/juju/statuses/93e5a00f3f61971e1734db34f5695fedf887b0b9","head":{"label":"bogdanteleaga:windows-public-clouds-master","ref":"windows-public-clouds-master","sha":"93e5a00f3f61971e1734db34f5695fedf887b0b9","user":{"login":"bogdanteleaga","id":6207800,"avatar_url":"https://avatars.githubusercontent.com/u/6207800?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanteleaga","html_url":"https://github.com/bogdanteleaga","followers_url":"https://api.github.com/users/bogdanteleaga/followers","following_url":"https://api.github.com/users/bogdanteleaga/following{/other_user}","gists_url":"https://api.github.com/users/bogdanteleaga/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanteleaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanteleaga/subscriptions","organizations_url":"https://api.github.com/users/bogdanteleaga/orgs","repos_url":"https://api.github.com/users/bogdanteleaga/repos","events_url":"https://api.github.com/users/bogdanteleaga/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanteleaga/received_events","type":"User","site_admin":false},"repo":{"id":22211417,"name":"juju","full_name":"bogdanteleaga/juju","owner":{"login":"bogdanteleaga","id":6207800,"avatar_url":"https://avatars.githubusercontent.com/u/6207800?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanteleaga","html_url":"https://github.com/bogdanteleaga","followers_url":"https://api.github.com/users/bogdanteleaga/followers","following_url":"https://api.github.com/users/bogdanteleaga/following{/other_user}","gists_url":"https://api.github.com/users/bogdanteleaga/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanteleaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanteleaga/subscriptions","organizations_url":"https://api.github.com/users/bogdanteleaga/orgs","repos_url":"https://api.github.com/users/bogdanteleaga/repos","events_url":"https://api.github.com/users/bogdanteleaga/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanteleaga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bogdanteleaga/juju","description":"juju is devops distilled","fork":true,"url":"https://api.github.com/repos/bogdanteleaga/juju","forks_url":"https://api.github.com/repos/bogdanteleaga/juju/forks","keys_url":"https://api.github.com/repos/bogdanteleaga/juju/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bogdanteleaga/juju/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bogdanteleaga/juju/teams","hooks_url":"https://api.github.com/repos/bogdanteleaga/juju/hooks","issue_events_url":"https://api.github.com/repos/bogdanteleaga/juju/issues/events{/number}","events_url":"https://api.github.com/repos/bogdanteleaga/juju/events","assignees_url":"https://api.github.com/repos/bogdanteleaga/juju/assignees{/user}","branches_url":"https://api.github.com/repos/bogdanteleaga/juju/branches{/branch}","tags_url":"https://api.github.com/repos/bogdanteleaga/juju/tags","blobs_url":"https://api.github.com/repos/bogdanteleaga/juju/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bogdanteleaga/juju/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bogdanteleaga/juju/git/refs{/sha}","trees_url":"https://api.github.com/repos/bogdanteleaga/juju/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bogdanteleaga/juju/statuses/{sha}","languages_url":"https://api.github.com/repos/bogdanteleaga/juju/languages","stargazers_url":"https://api.github.com/repos/bogdanteleaga/juju/stargazers","contributors_url":"https://api.github.com/repos/bogdanteleaga/juju/contributors","subscribers_url":"https://api.github.com/repos/bogdanteleaga/juju/subscribers","subscription_url":"https://api.github.com/repos/bogdanteleaga/juju/subscription","commits_url":"https://api.github.com/repos/bogdanteleaga/juju/commits{/sha}","git_commits_url":"https://api.github.com/repos/bogdanteleaga/juju/git/commits{/sha}","comments_url":"https://api.github.com/repos/bogdanteleaga/juju/comments{/number}","issue_comment_url":"https://api.github.com/repos/bogdanteleaga/juju/issues/comments{/number}","contents_url":"https://api.github.com/repos/bogdanteleaga/juju/contents/{+path}","compare_url":"https://api.github.com/repos/bogdanteleaga/juju/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bogdanteleaga/juju/merges","archive_url":"https://api.github.com/repos/bogdanteleaga/juju/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bogdanteleaga/juju/downloads","issues_url":"https://api.github.com/repos/bogdanteleaga/juju/issues{/number}","pulls_url":"https://api.github.com/repos/bogdanteleaga/juju/pulls{/number}","milestones_url":"https://api.github.com/repos/bogdanteleaga/juju/milestones{/number}","notifications_url":"https://api.github.com/repos/bogdanteleaga/juju/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bogdanteleaga/juju/labels{/name}","releases_url":"https://api.github.com/repos/bogdanteleaga/juju/releases{/id}","created_at":"2014-07-24T12:05:59Z","updated_at":"2015-04-15T11:38:20Z","pushed_at":"2015-09-23T12:34:58Z","git_url":"git://github.com/bogdanteleaga/juju.git","ssh_url":"git@github.com:bogdanteleaga/juju.git","clone_url":"https://github.com/bogdanteleaga/juju.git","svn_url":"https://github.com/bogdanteleaga/juju","homepage":"juju.ubuntu.com","size":58835,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"juju:master","ref":"master","sha":"43e5720628495cd7572a210595d397e5d5f01a56","user":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"repo":{"id":20445947,"name":"juju","full_name":"juju/juju","owner":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juju/juju","description":"juju is devops distilled","fork":false,"url":"https://api.github.com/repos/juju/juju","forks_url":"https://api.github.com/repos/juju/juju/forks","keys_url":"https://api.github.com/repos/juju/juju/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juju/juju/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juju/juju/teams","hooks_url":"https://api.github.com/repos/juju/juju/hooks","issue_events_url":"https://api.github.com/repos/juju/juju/issues/events{/number}","events_url":"https://api.github.com/repos/juju/juju/events","assignees_url":"https://api.github.com/repos/juju/juju/assignees{/user}","branches_url":"https://api.github.com/repos/juju/juju/branches{/branch}","tags_url":"https://api.github.com/repos/juju/juju/tags","blobs_url":"https://api.github.com/repos/juju/juju/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juju/juju/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juju/juju/git/refs{/sha}","trees_url":"https://api.github.com/repos/juju/juju/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juju/juju/statuses/{sha}","languages_url":"https://api.github.com/repos/juju/juju/languages","stargazers_url":"https://api.github.com/repos/juju/juju/stargazers","contributors_url":"https://api.github.com/repos/juju/juju/contributors","subscribers_url":"https://api.github.com/repos/juju/juju/subscribers","subscription_url":"https://api.github.com/repos/juju/juju/subscription","commits_url":"https://api.github.com/repos/juju/juju/commits{/sha}","git_commits_url":"https://api.github.com/repos/juju/juju/git/commits{/sha}","comments_url":"https://api.github.com/repos/juju/juju/comments{/number}","issue_comment_url":"https://api.github.com/repos/juju/juju/issues/comments{/number}","contents_url":"https://api.github.com/repos/juju/juju/contents/{+path}","compare_url":"https://api.github.com/repos/juju/juju/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juju/juju/merges","archive_url":"https://api.github.com/repos/juju/juju/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juju/juju/downloads","issues_url":"https://api.github.com/repos/juju/juju/issues{/number}","pulls_url":"https://api.github.com/repos/juju/juju/pulls{/number}","milestones_url":"https://api.github.com/repos/juju/juju/milestones{/number}","notifications_url":"https://api.github.com/repos/juju/juju/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juju/juju/labels{/name}","releases_url":"https://api.github.com/repos/juju/juju/releases{/id}","created_at":"2014-06-03T14:28:10Z","updated_at":"2015-09-22T12:36:24Z","pushed_at":"2015-09-23T12:47:25Z","git_url":"git://github.com/juju/juju.git","ssh_url":"git@github.com:juju/juju.git","clone_url":"https://github.com/juju/juju.git","svn_url":"https://github.com/juju/juju","homepage":"juju.ubuntu.com","size":96483,"stargazers_count":326,"watchers_count":326,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":103,"forks":109,"open_issues":103,"watchers":326,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/juju/pulls/3355"},"html":{"href":"https://github.com/juju/juju/pull/3355"},"issue":{"href":"https://api.github.com/repos/juju/juju/issues/3355"},"comments":{"href":"https://api.github.com/repos/juju/juju/issues/3355/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/juju/pulls/3355/comments"},"review_comment":{"href":"https://api.github.com/repos/juju/juju/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juju/juju/pulls/3355/commits"},"statuses":{"href":"https://api.github.com/repos/juju/juju/statuses/93e5a00f3f61971e1734db34f5695fedf887b0b9"}}}}