{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/comments/37872199","id":37872199,"diff_hunk":"@@ -19,17 +19,19 @@ def parse\n       appliance_desc = \"Repo URL containing appliance scripts and configs(COPY/LINK/TEMPLATE)\"\n       build_desc     = \"Repo URL containing the build config and kickstart\"\n       manageiq_desc  = \"Repo URL containing the main manageiq code\"\n+      vsphere_desc   = \"Build only the vsphere image.  Defaults to false and builds all images.\"\n \n       @options = Trollop.options do\n         banner \"Usage: build.rb [options]\"\n \n-        opt :type,        type_desc,     :type => :string,  :default => DEFAULT_TYPE, :short => \"t\"\n-        opt :reference,   git_ref_desc,  :type => :string,  :default => DEFAULT_REF,  :short => \"r\"\n-        opt :local,       local_desc,    :type => :boolean, :default => false,        :short => \"l\"\n-        opt :fileshare,   share_desc,    :type => :boolean, :default => true,         :short => \"s\"\n-        opt :appliance_url, appliance_desc,  :type => :string,  :default => APPLIANCE_URL, :short => \"A\"\n-        opt :build_url, build_desc, :type => :string,  :default => BUILD_URL, :short => \"B\"\n-        opt :manageiq_url, manageiq_desc, :type => :string,  :default => MANAGEIQ_URL, :short => \"M\"\n+        opt :type,          type_desc,      :type => :string,  :short => \"t\", :default => DEFAULT_TYPE\n+        opt :reference,     git_ref_desc,   :type => :string,  :short => \"r\", :default => DEFAULT_REF\n+        opt :local,         local_desc,     :type => :boolean, :short => \"l\", :default => false\n+        opt :fileshare,     share_desc,     :type => :boolean, :short => \"s\", :default => true\n+        opt :appliance_url, appliance_desc, :type => :string,  :short => \"A\", :default => APPLIANCE_URL\n+        opt :build_url,     build_desc,     :type => :string,  :short => \"B\", :default => BUILD_URL\n+        opt :manageiq_url,  manageiq_desc,  :type => :string,  :short => \"M\", :default => MANAGEIQ_URL\n+        opt :vsphere_only,  vsphere_desc,   :type => :boolean, :short => \"V\", :default => false","path":"scripts/cli.rb","position":23,"original_position":23,"commit_id":"2f4358101c1489a8b9dc17ad7a99303b7502a486","original_commit_id":"2f4358101c1489a8b9dc17ad7a99303b7502a486","user":{"login":"Fryguy","id":52120,"avatar_url":"https://avatars.githubusercontent.com/u/52120?v=3","gravatar_id":"","url":"https://api.github.com/users/Fryguy","html_url":"https://github.com/Fryguy","followers_url":"https://api.github.com/users/Fryguy/followers","following_url":"https://api.github.com/users/Fryguy/following{/other_user}","gists_url":"https://api.github.com/users/Fryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Fryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fryguy/subscriptions","organizations_url":"https://api.github.com/users/Fryguy/orgs","repos_url":"https://api.github.com/users/Fryguy/repos","events_url":"https://api.github.com/users/Fryguy/events{/privacy}","received_events_url":"https://api.github.com/users/Fryguy/received_events","type":"User","site_admin":false},"body":"Oh I just saw the --targets comment from @abellotti .  I didn't realize it was already suggested :)","created_at":"2015-08-25T14:34:51Z","updated_at":"2015-08-25T14:34:51Z","html_url":"https://github.com/ManageIQ/manageiq-appliance-build/pull/28#discussion_r37872199","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/comments/37872199"},"html":{"href":"https://github.com/ManageIQ/manageiq-appliance-build/pull/28#discussion_r37872199"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28","id":43087135,"html_url":"https://github.com/ManageIQ/manageiq-appliance-build/pull/28","diff_url":"https://github.com/ManageIQ/manageiq-appliance-build/pull/28.diff","patch_url":"https://github.com/ManageIQ/manageiq-appliance-build/pull/28.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/issues/28","number":28,"state":"open","locked":false,"title":"[WIP] Remove unused productization / add --vsphere-only CLI","user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"body":"* Remove productization since we don't use it for building images\r\n* Add CLI option `--vsphere-only` to build only vsphere (since targets.yml is now gone)\r\n* Use Pathnames instead of building paths using Strings","created_at":"2015-08-21T22:24:51Z","updated_at":"2015-08-25T14:34:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a69661b6c850d37548278db9a91bd7c3599beae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/issues/28/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/statuses/2f4358101c1489a8b9dc17ad7a99303b7502a486","head":{"label":"jrafanie:remove_unused_productization","ref":"remove_unused_productization","sha":"2f4358101c1489a8b9dc17ad7a99303b7502a486","user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"repo":{"id":38121610,"name":"manageiq-appliance-build","full_name":"jrafanie/manageiq-appliance-build","owner":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jrafanie/manageiq-appliance-build","description":"Scripts to build ManageIQ appliances","fork":true,"url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build","forks_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/forks","keys_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/teams","hooks_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/hooks","issue_events_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/issues/events{/number}","events_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/events","assignees_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/assignees{/user}","branches_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/branches{/branch}","tags_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/tags","blobs_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/statuses/{sha}","languages_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/languages","stargazers_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/stargazers","contributors_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/contributors","subscribers_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/subscribers","subscription_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/subscription","commits_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/contents/{+path}","compare_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/merges","archive_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/downloads","issues_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/issues{/number}","pulls_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/pulls{/number}","milestones_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/milestones{/number}","notifications_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/labels{/name}","releases_url":"https://api.github.com/repos/jrafanie/manageiq-appliance-build/releases{/id}","created_at":"2015-06-26T16:31:11Z","updated_at":"2015-06-26T16:31:11Z","pushed_at":"2015-08-25T14:32:05Z","git_url":"git://github.com/jrafanie/manageiq-appliance-build.git","ssh_url":"git@github.com:jrafanie/manageiq-appliance-build.git","clone_url":"https://github.com/jrafanie/manageiq-appliance-build.git","svn_url":"https://github.com/jrafanie/manageiq-appliance-build","homepage":null,"size":260,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"7bb8ba65e359cc51edc20d2527113053163f02ad","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":38112825,"name":"manageiq-appliance-build","full_name":"ManageIQ/manageiq-appliance-build","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq-appliance-build","description":"Scripts to build ManageIQ appliances","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build","forks_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/releases{/id}","created_at":"2015-06-26T13:32:44Z","updated_at":"2015-06-26T15:30:18Z","pushed_at":"2015-08-25T14:27:11Z","git_url":"git://github.com/ManageIQ/manageiq-appliance-build.git","ssh_url":"git@github.com:ManageIQ/manageiq-appliance-build.git","clone_url":"https://github.com/ManageIQ/manageiq-appliance-build.git","svn_url":"https://github.com/ManageIQ/manageiq-appliance-build","homepage":null,"size":622,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28"},"html":{"href":"https://github.com/ManageIQ/manageiq-appliance-build/pull/28"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/issues/28"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq-appliance-build/statuses/2f4358101c1489a8b9dc17ad7a99303b7502a486"}}}}