GitHub PullRequestEvent at 2014-07-31 18:30:46
Repository: cloud-installer
Actor: mikemccracken
Payload: {"action":"opened","number":121,"pull_request":{"url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/121","id":19169560,"html_url":"https://github.com/Ubuntu-Solutions-Engineering/cloud-installer/pull/121","diff_url":"https://github.com/Ubuntu-Solutions-Engineering/cloud-installer/pull/121.diff","patch_url":"https://github.com/Ubuntu-Solutions-Engineering/cloud-installer/pull/121.patch","issue_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/issues/121","number":121,"state":"open","title":"handle case where 'cloud-install -u' is called when no file exists","user":{"login":"mikemccracken","id":1768106,"avatar_url":"https://avatars.githubusercontent.com/u/1768106?v=1","gravatar_id":"9a05dbf3cec8ce0ff907a6e9c9ca7bfe","url":"https://api.github.com/users/mikemccracken","html_url":"https://github.com/mikemccracken","followers_url":"https://api.github.com/users/mikemccracken/followers","following_url":"https://api.github.com/users/mikemccracken/following{/other_user}","gists_url":"https://api.github.com/users/mikemccracken/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemccracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemccracken/subscriptions","organizations_url":"https://api.github.com/users/mikemccracken/orgs","repos_url":"https://api.github.com/users/mikemccracken/repos","events_url":"https://api.github.com/users/mikemccracken/events{/privacy}","received_events_url":"https://api.github.com/users/mikemccracken/received_events","type":"User","site_admin":false},"body":"since cloud-install calls this script with either '-u' or '-u install-type' , we check what $1 is.\r\nif #args is 1 and it's not -u, then we're probably calling this script directly as before, and $1 is the install type, so grab that into WHAT\r\nif #args is 1 and it is -u, we need to rely on the autodetect.\r\n\r\nif #args is 2, we're probably getting a specific type from the script, so just use $2.","created_at":"2014-07-31T18:30:46Z","updated_at":"2014-07-31T18:30:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/121/commits","review_comments_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/121/comments","review_comment_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/issues/121/comments","statuses_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/statuses/d5fc3cf87f6480db1ebd448caf7edea928e35b5b","head":{"label":"mikemccracken:uninstall-arg-nofile","ref":"uninstall-arg-nofile","sha":"d5fc3cf87f6480db1ebd448caf7edea928e35b5b","user":{"login":"mikemccracken","id":1768106,"avatar_url":"https://avatars.githubusercontent.com/u/1768106?v=1","gravatar_id":"9a05dbf3cec8ce0ff907a6e9c9ca7bfe","url":"https://api.github.com/users/mikemccracken","html_url":"https://github.com/mikemccracken","followers_url":"https://api.github.com/users/mikemccracken/followers","following_url":"https://api.github.com/users/mikemccracken/following{/other_user}","gists_url":"https://api.github.com/users/mikemccracken/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemccracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemccracken/subscriptions","organizations_url":"https://api.github.com/users/mikemccracken/orgs","repos_url":"https://api.github.com/users/mikemccracken/repos","events_url":"https://api.github.com/users/mikemccracken/events{/privacy}","received_events_url":"https://api.github.com/users/mikemccracken/received_events","type":"User","site_admin":false},"repo":{"id":18927842,"name":"cloud-installer","full_name":"mikemccracken/cloud-installer","owner":{"login":"mikemccracken","id":1768106,"avatar_url":"https://avatars.githubusercontent.com/u/1768106?v=1","gravatar_id":"9a05dbf3cec8ce0ff907a6e9c9ca7bfe","url":"https://api.github.com/users/mikemccracken","html_url":"https://github.com/mikemccracken","followers_url":"https://api.github.com/users/mikemccracken/followers","following_url":"https://api.github.com/users/mikemccracken/following{/other_user}","gists_url":"https://api.github.com/users/mikemccracken/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemccracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemccracken/subscriptions","organizations_url":"https://api.github.com/users/mikemccracken/orgs","repos_url":"https://api.github.com/users/mikemccracken/repos","events_url":"https://api.github.com/users/mikemccracken/events{/privacy}","received_events_url":"https://api.github.com/users/mikemccracken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikemccracken/cloud-installer","description":"Ubuntu cloud installer","fork":true,"url":"https://api.github.com/repos/mikemccracken/cloud-installer","forks_url":"https://api.github.com/repos/mikemccracken/cloud-installer/forks","keys_url":"https://api.github.com/repos/mikemccracken/cloud-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikemccracken/cloud-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikemccracken/cloud-installer/teams","hooks_url":"https://api.github.com/repos/mikemccracken/cloud-installer/hooks","issue_events_url":"https://api.github.com/repos/mikemccracken/cloud-installer/issues/events{/number}","events_url":"https://api.github.com/repos/mikemccracken/cloud-installer/events","assignees_url":"https://api.github.com/repos/mikemccracken/cloud-installer/assignees{/user}","branches_url":"https://api.github.com/repos/mikemccracken/cloud-installer/branches{/branch}","tags_url":"https://api.github.com/repos/mikemccracken/cloud-installer/tags","blobs_url":"https://api.github.com/repos/mikemccracken/cloud-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikemccracken/cloud-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikemccracken/cloud-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikemccracken/cloud-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikemccracken/cloud-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/mikemccracken/cloud-installer/languages","stargazers_url":"https://api.github.com/repos/mikemccracken/cloud-installer/stargazers","contributors_url":"https://api.github.com/repos/mikemccracken/cloud-installer/contributors","subscribers_url":"https://api.github.com/repos/mikemccracken/cloud-installer/subscribers","subscription_url":"https://api.github.com/repos/mikemccracken/cloud-installer/subscription","commits_url":"https://api.github.com/repos/mikemccracken/cloud-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikemccracken/cloud-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikemccracken/cloud-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikemccracken/cloud-installer/issues/comments/{number}","contents_url":"https://api.github.com/repos/mikemccracken/cloud-installer/contents/{+path}","compare_url":"https://api.github.com/repos/mikemccracken/cloud-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikemccracken/cloud-installer/merges","archive_url":"https://api.github.com/repos/mikemccracken/cloud-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikemccracken/cloud-installer/downloads","issues_url":"https://api.github.com/repos/mikemccracken/cloud-installer/issues{/number}","pulls_url":"https://api.github.com/repos/mikemccracken/cloud-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/mikemccracken/cloud-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/mikemccracken/cloud-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikemccracken/cloud-installer/labels{/name}","releases_url":"https://api.github.com/repos/mikemccracken/cloud-installer/releases{/id}","created_at":"2014-04-18T22:44:38Z","updated_at":"2014-06-24T23:07:55Z","pushed_at":"2014-07-31T18:27:56Z","git_url":"git://github.com/mikemccracken/cloud-installer.git","ssh_url":"git@github.com:mikemccracken/cloud-installer.git","clone_url":"https://github.com/mikemccracken/cloud-installer.git","svn_url":"https://github.com/mikemccracken/cloud-installer","homepage":"http://ubuntu-cloud-installer.rtfd.org/","size":2127,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ubuntu-Solutions-Engineering:master","ref":"master","sha":"3a5430e1a71410554385e4988429339c1c0c7111","user":{"login":"Ubuntu-Solutions-Engineering","id":6772632,"avatar_url":"https://avatars.githubusercontent.com/u/6772632?v=1","gravatar_id":null,"url":"https://api.github.com/users/Ubuntu-Solutions-Engineering","html_url":"https://github.com/Ubuntu-Solutions-Engineering","followers_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/followers","following_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/following{/other_user}","gists_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/gists{/gist_id}","starred_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/subscriptions","organizations_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/orgs","repos_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/repos","events_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/events{/privacy}","received_events_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/received_events","type":"Organization","site_admin":false},"repo":{"id":17140192,"name":"cloud-installer","full_name":"Ubuntu-Solutions-Engineering/cloud-installer","owner":{"login":"Ubuntu-Solutions-Engineering","id":6772632,"avatar_url":"https://avatars.githubusercontent.com/u/6772632?v=1","gravatar_id":null,"url":"https://api.github.com/users/Ubuntu-Solutions-Engineering","html_url":"https://github.com/Ubuntu-Solutions-Engineering","followers_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/followers","following_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/following{/other_user}","gists_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/gists{/gist_id}","starred_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/subscriptions","organizations_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/orgs","repos_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/repos","events_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/events{/privacy}","received_events_url":"https://api.github.com/users/Ubuntu-Solutions-Engineering/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ubuntu-Solutions-Engineering/cloud-installer","description":"Ubuntu Openstack Installer","fork":false,"url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer","forks_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/forks","keys_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/teams","hooks_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/hooks","issue_events_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/issues/events{/number}","events_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/events","assignees_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/assignees{/user}","branches_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/branches{/branch}","tags_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/tags","blobs_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/languages","stargazers_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/stargazers","contributors_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/contributors","subscribers_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/subscribers","subscription_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/subscription","commits_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/issues/comments/{number}","contents_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/contents/{+path}","compare_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/merges","archive_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/downloads","issues_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/issues{/number}","pulls_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/labels{/name}","releases_url":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/releases{/id}","created_at":"2014-02-24T15:17:19Z","updated_at":"2014-07-24T04:04:56Z","pushed_at":"2014-07-31T00:39:46Z","git_url":"git://github.com/Ubuntu-Solutions-Engineering/cloud-installer.git","ssh_url":"git@github.com:Ubuntu-Solutions-Engineering/cloud-installer.git","clone_url":"https://github.com/Ubuntu-Solutions-Engineering/cloud-installer.git","svn_url":"https://github.com/Ubuntu-Solutions-Engineering/cloud-installer","homepage":"http://ubuntu-cloud-installer.rtfd.org/","size":6402,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/121"},"html":{"href":"https://github.com/Ubuntu-Solutions-Engineering/cloud-installer/pull/121"},"issue":{"href":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/issues/121"},"comments":{"href":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/Ubuntu-Solutions-Engineering/cloud-installer/statuses/d5fc3cf87f6480db1ebd448caf7edea928e35b5b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}