{"action":"closed","number":152,"pull_request":{"url":"https://api.github.com/repos/juju/utils/pulls/152","id":45551468,"html_url":"https://github.com/juju/utils/pull/152","diff_url":"https://github.com/juju/utils/pull/152.diff","patch_url":"https://github.com/juju/utils/pull/152.patch","issue_url":"https://api.github.com/repos/juju/utils/issues/152","number":152,"state":"closed","locked":false,"title":"Added a RandomString function","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":"Code shamelessly taken from https://github.com/axw/juju/blob/azure-next/provider/azure/utils.go as requested in http://reviews.vapour.ws/r/2665/ :)\r\n\r\nAdded a couple of tests on top.\r\n\r\n(Review request: http://reviews.vapour.ws/r/2726/)","created_at":"2015-09-21T13:57:57Z","updated_at":"2015-09-22T08:36:00Z","closed_at":"2015-09-22T08:36:00Z","merged_at":"2015-09-22T08:36:00Z","merge_commit_sha":"f53346ee251ec2dca8d8551651f9238eae25d6a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juju/utils/pulls/152/commits","review_comments_url":"https://api.github.com/repos/juju/utils/pulls/152/comments","review_comment_url":"https://api.github.com/repos/juju/utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juju/utils/issues/152/comments","statuses_url":"https://api.github.com/repos/juju/utils/statuses/c3453e2bd98790f7a60f83239c534fc01955b1d0","head":{"label":"bogdanteleaga:randomstring","ref":"randomstring","sha":"c3453e2bd98790f7a60f83239c534fc01955b1d0","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":22340647,"name":"utils","full_name":"bogdanteleaga/utils","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/utils","description":"General utility functions","fork":true,"url":"https://api.github.com/repos/bogdanteleaga/utils","forks_url":"https://api.github.com/repos/bogdanteleaga/utils/forks","keys_url":"https://api.github.com/repos/bogdanteleaga/utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bogdanteleaga/utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bogdanteleaga/utils/teams","hooks_url":"https://api.github.com/repos/bogdanteleaga/utils/hooks","issue_events_url":"https://api.github.com/repos/bogdanteleaga/utils/issues/events{/number}","events_url":"https://api.github.com/repos/bogdanteleaga/utils/events","assignees_url":"https://api.github.com/repos/bogdanteleaga/utils/assignees{/user}","branches_url":"https://api.github.com/repos/bogdanteleaga/utils/branches{/branch}","tags_url":"https://api.github.com/repos/bogdanteleaga/utils/tags","blobs_url":"https://api.github.com/repos/bogdanteleaga/utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bogdanteleaga/utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bogdanteleaga/utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/bogdanteleaga/utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bogdanteleaga/utils/statuses/{sha}","languages_url":"https://api.github.com/repos/bogdanteleaga/utils/languages","stargazers_url":"https://api.github.com/repos/bogdanteleaga/utils/stargazers","contributors_url":"https://api.github.com/repos/bogdanteleaga/utils/contributors","subscribers_url":"https://api.github.com/repos/bogdanteleaga/utils/subscribers","subscription_url":"https://api.github.com/repos/bogdanteleaga/utils/subscription","commits_url":"https://api.github.com/repos/bogdanteleaga/utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/bogdanteleaga/utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/bogdanteleaga/utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/bogdanteleaga/utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/bogdanteleaga/utils/contents/{+path}","compare_url":"https://api.github.com/repos/bogdanteleaga/utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bogdanteleaga/utils/merges","archive_url":"https://api.github.com/repos/bogdanteleaga/utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bogdanteleaga/utils/downloads","issues_url":"https://api.github.com/repos/bogdanteleaga/utils/issues{/number}","pulls_url":"https://api.github.com/repos/bogdanteleaga/utils/pulls{/number}","milestones_url":"https://api.github.com/repos/bogdanteleaga/utils/milestones{/number}","notifications_url":"https://api.github.com/repos/bogdanteleaga/utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bogdanteleaga/utils/labels{/name}","releases_url":"https://api.github.com/repos/bogdanteleaga/utils/releases{/id}","created_at":"2014-07-28T11:44:38Z","updated_at":"2014-07-28T11:49:56Z","pushed_at":"2015-09-22T08:32:38Z","git_url":"git://github.com/bogdanteleaga/utils.git","ssh_url":"git@github.com:bogdanteleaga/utils.git","clone_url":"https://github.com/bogdanteleaga/utils.git","svn_url":"https://github.com/bogdanteleaga/utils","homepage":null,"size":961,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"juju:master","ref":"master","sha":"49519612df1b9156f8a42862c4ec2c47a041fff2","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":20486959,"name":"utils","full_name":"juju/utils","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/utils","description":"General utility functions","fork":false,"url":"https://api.github.com/repos/juju/utils","forks_url":"https://api.github.com/repos/juju/utils/forks","keys_url":"https://api.github.com/repos/juju/utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juju/utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juju/utils/teams","hooks_url":"https://api.github.com/repos/juju/utils/hooks","issue_events_url":"https://api.github.com/repos/juju/utils/issues/events{/number}","events_url":"https://api.github.com/repos/juju/utils/events","assignees_url":"https://api.github.com/repos/juju/utils/assignees{/user}","branches_url":"https://api.github.com/repos/juju/utils/branches{/branch}","tags_url":"https://api.github.com/repos/juju/utils/tags","blobs_url":"https://api.github.com/repos/juju/utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juju/utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juju/utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/juju/utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juju/utils/statuses/{sha}","languages_url":"https://api.github.com/repos/juju/utils/languages","stargazers_url":"https://api.github.com/repos/juju/utils/stargazers","contributors_url":"https://api.github.com/repos/juju/utils/contributors","subscribers_url":"https://api.github.com/repos/juju/utils/subscribers","subscription_url":"https://api.github.com/repos/juju/utils/subscription","commits_url":"https://api.github.com/repos/juju/utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/juju/utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/juju/utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/juju/utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/juju/utils/contents/{+path}","compare_url":"https://api.github.com/repos/juju/utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juju/utils/merges","archive_url":"https://api.github.com/repos/juju/utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juju/utils/downloads","issues_url":"https://api.github.com/repos/juju/utils/issues{/number}","pulls_url":"https://api.github.com/repos/juju/utils/pulls{/number}","milestones_url":"https://api.github.com/repos/juju/utils/milestones{/number}","notifications_url":"https://api.github.com/repos/juju/utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juju/utils/labels{/name}","releases_url":"https://api.github.com/repos/juju/utils/releases{/id}","created_at":"2014-06-04T14:30:35Z","updated_at":"2015-09-17T08:11:27Z","pushed_at":"2015-09-22T08:36:00Z","git_url":"git://github.com/juju/utils.git","ssh_url":"git@github.com:juju/utils.git","clone_url":"https://github.com/juju/utils.git","svn_url":"https://github.com/juju/utils","homepage":null,"size":1637,"stargazers_count":30,"watchers_count":30,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":4,"forks":34,"open_issues":4,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/utils/pulls/152"},"html":{"href":"https://github.com/juju/utils/pull/152"},"issue":{"href":"https://api.github.com/repos/juju/utils/issues/152"},"comments":{"href":"https://api.github.com/repos/juju/utils/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/utils/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/juju/utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juju/utils/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/juju/utils/statuses/c3453e2bd98790f7a60f83239c534fc01955b1d0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":2,"review_comments":0,"commits":2,"additions":77,"deletions":0,"changed_files":2}}