{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/comments/57290477","id":57290477,"diff_hunk":"@@ -126,7 +128,9 @@ def export_project(self):\n                              \"route\"]\n \n             # output of this export is kind List\n-            args = [\"export\", \",\".join(resources), \"-o\", \"json\"]\n+            args = [\"export\", \",\".join(resources),\n+                    \"-l\", self.label_selector,","path":"openshift2nulecule/openshift.py","position":23,"original_position":23,"commit_id":"7731db4202c252c9e39776f99ea4b0bc76e93e93","original_commit_id":"7731db4202c252c9e39776f99ea4b0bc76e93e93","user":{"login":"kadel","id":57206,"avatar_url":"https://avatars.githubusercontent.com/u/57206?v=3","gravatar_id":"","url":"https://api.github.com/users/kadel","html_url":"https://github.com/kadel","followers_url":"https://api.github.com/users/kadel/followers","following_url":"https://api.github.com/users/kadel/following{/other_user}","gists_url":"https://api.github.com/users/kadel/gists{/gist_id}","starred_url":"https://api.github.com/users/kadel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadel/subscriptions","organizations_url":"https://api.github.com/users/kadel/orgs","repos_url":"https://api.github.com/users/kadel/repos","events_url":"https://api.github.com/users/kadel/events{/privacy}","received_events_url":"https://api.github.com/users/kadel/received_events","type":"User","site_admin":false},"body":"What if `--label-selector` is not specified from commandline?","created_at":"2016-03-24T09:18:23Z","updated_at":"2016-03-24T09:18:23Z","html_url":"https://github.com/projectatomic/openshift2nulecule/pull/50#discussion_r57290477","pull_request_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/comments/57290477"},"html":{"href":"https://github.com/projectatomic/openshift2nulecule/pull/50#discussion_r57290477"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50","id":63911143,"html_url":"https://github.com/projectatomic/openshift2nulecule/pull/50","diff_url":"https://github.com/projectatomic/openshift2nulecule/pull/50.diff","patch_url":"https://github.com/projectatomic/openshift2nulecule/pull/50.patch","issue_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/issues/50","number":50,"state":"open","locked":false,"title":"Now export only the app that is required","user":{"login":"surajssd","id":5815795,"avatar_url":"https://avatars.githubusercontent.com/u/5815795?v=3","gravatar_id":"","url":"https://api.github.com/users/surajssd","html_url":"https://github.com/surajssd","followers_url":"https://api.github.com/users/surajssd/followers","following_url":"https://api.github.com/users/surajssd/following{/other_user}","gists_url":"https://api.github.com/users/surajssd/gists{/gist_id}","starred_url":"https://api.github.com/users/surajssd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajssd/subscriptions","organizations_url":"https://api.github.com/users/surajssd/orgs","repos_url":"https://api.github.com/users/surajssd/repos","events_url":"https://api.github.com/users/surajssd/events{/privacy}","received_events_url":"https://api.github.com/users/surajssd/received_events","type":"User","site_admin":false},"body":"Added an option called as `--label-selector`, which acts as a filter using which only specific app can be exported, rather than exporting all the apps in the project.\r\n\r\nFixes issue #40","created_at":"2016-03-23T16:26:47Z","updated_at":"2016-03-24T09:18:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c89e89ed9e30d169c40bd4a77df966728168172","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50/commits","review_comments_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50/comments","review_comment_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/issues/50/comments","statuses_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/statuses/7731db4202c252c9e39776f99ea4b0bc76e93e93","head":{"label":"surajssd:label-selector","ref":"label-selector","sha":"7731db4202c252c9e39776f99ea4b0bc76e93e93","user":{"login":"surajssd","id":5815795,"avatar_url":"https://avatars.githubusercontent.com/u/5815795?v=3","gravatar_id":"","url":"https://api.github.com/users/surajssd","html_url":"https://github.com/surajssd","followers_url":"https://api.github.com/users/surajssd/followers","following_url":"https://api.github.com/users/surajssd/following{/other_user}","gists_url":"https://api.github.com/users/surajssd/gists{/gist_id}","starred_url":"https://api.github.com/users/surajssd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajssd/subscriptions","organizations_url":"https://api.github.com/users/surajssd/orgs","repos_url":"https://api.github.com/users/surajssd/repos","events_url":"https://api.github.com/users/surajssd/events{/privacy}","received_events_url":"https://api.github.com/users/surajssd/received_events","type":"User","site_admin":false},"repo":{"id":52518695,"name":"openshift2nulecule","full_name":"surajssd/openshift2nulecule","owner":{"login":"surajssd","id":5815795,"avatar_url":"https://avatars.githubusercontent.com/u/5815795?v=3","gravatar_id":"","url":"https://api.github.com/users/surajssd","html_url":"https://github.com/surajssd","followers_url":"https://api.github.com/users/surajssd/followers","following_url":"https://api.github.com/users/surajssd/following{/other_user}","gists_url":"https://api.github.com/users/surajssd/gists{/gist_id}","starred_url":"https://api.github.com/users/surajssd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajssd/subscriptions","organizations_url":"https://api.github.com/users/surajssd/orgs","repos_url":"https://api.github.com/users/surajssd/repos","events_url":"https://api.github.com/users/surajssd/events{/privacy}","received_events_url":"https://api.github.com/users/surajssd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/surajssd/openshift2nulecule","description":"Create Nulecule application from OpenShift project","fork":true,"url":"https://api.github.com/repos/surajssd/openshift2nulecule","forks_url":"https://api.github.com/repos/surajssd/openshift2nulecule/forks","keys_url":"https://api.github.com/repos/surajssd/openshift2nulecule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/surajssd/openshift2nulecule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/surajssd/openshift2nulecule/teams","hooks_url":"https://api.github.com/repos/surajssd/openshift2nulecule/hooks","issue_events_url":"https://api.github.com/repos/surajssd/openshift2nulecule/issues/events{/number}","events_url":"https://api.github.com/repos/surajssd/openshift2nulecule/events","assignees_url":"https://api.github.com/repos/surajssd/openshift2nulecule/assignees{/user}","branches_url":"https://api.github.com/repos/surajssd/openshift2nulecule/branches{/branch}","tags_url":"https://api.github.com/repos/surajssd/openshift2nulecule/tags","blobs_url":"https://api.github.com/repos/surajssd/openshift2nulecule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/surajssd/openshift2nulecule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/surajssd/openshift2nulecule/git/refs{/sha}","trees_url":"https://api.github.com/repos/surajssd/openshift2nulecule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/surajssd/openshift2nulecule/statuses/{sha}","languages_url":"https://api.github.com/repos/surajssd/openshift2nulecule/languages","stargazers_url":"https://api.github.com/repos/surajssd/openshift2nulecule/stargazers","contributors_url":"https://api.github.com/repos/surajssd/openshift2nulecule/contributors","subscribers_url":"https://api.github.com/repos/surajssd/openshift2nulecule/subscribers","subscription_url":"https://api.github.com/repos/surajssd/openshift2nulecule/subscription","commits_url":"https://api.github.com/repos/surajssd/openshift2nulecule/commits{/sha}","git_commits_url":"https://api.github.com/repos/surajssd/openshift2nulecule/git/commits{/sha}","comments_url":"https://api.github.com/repos/surajssd/openshift2nulecule/comments{/number}","issue_comment_url":"https://api.github.com/repos/surajssd/openshift2nulecule/issues/comments{/number}","contents_url":"https://api.github.com/repos/surajssd/openshift2nulecule/contents/{+path}","compare_url":"https://api.github.com/repos/surajssd/openshift2nulecule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/surajssd/openshift2nulecule/merges","archive_url":"https://api.github.com/repos/surajssd/openshift2nulecule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/surajssd/openshift2nulecule/downloads","issues_url":"https://api.github.com/repos/surajssd/openshift2nulecule/issues{/number}","pulls_url":"https://api.github.com/repos/surajssd/openshift2nulecule/pulls{/number}","milestones_url":"https://api.github.com/repos/surajssd/openshift2nulecule/milestones{/number}","notifications_url":"https://api.github.com/repos/surajssd/openshift2nulecule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/surajssd/openshift2nulecule/labels{/name}","releases_url":"https://api.github.com/repos/surajssd/openshift2nulecule/releases{/id}","deployments_url":"https://api.github.com/repos/surajssd/openshift2nulecule/deployments","created_at":"2016-02-25T11:11:08Z","updated_at":"2016-02-25T11:11:08Z","pushed_at":"2016-03-23T16:26:13Z","git_url":"git://github.com/surajssd/openshift2nulecule.git","ssh_url":"git@github.com:surajssd/openshift2nulecule.git","clone_url":"https://github.com/surajssd/openshift2nulecule.git","svn_url":"https://github.com/surajssd/openshift2nulecule","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"projectatomic:master","ref":"master","sha":"b8e7d43a366e1f7372beada8c41a428398b2700a","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":51935066,"name":"openshift2nulecule","full_name":"projectatomic/openshift2nulecule","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/openshift2nulecule","description":"Create Nulecule application from OpenShift project","fork":false,"url":"https://api.github.com/repos/projectatomic/openshift2nulecule","forks_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/forks","keys_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/teams","hooks_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/events","assignees_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/tags","blobs_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/languages","stargazers_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/subscription","commits_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/merges","archive_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/downloads","issues_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/openshift2nulecule/deployments","created_at":"2016-02-17T16:02:10Z","updated_at":"2016-02-25T01:33:58Z","pushed_at":"2016-03-23T16:26:47Z","git_url":"git://github.com/projectatomic/openshift2nulecule.git","ssh_url":"git@github.com:projectatomic/openshift2nulecule.git","clone_url":"https://github.com/projectatomic/openshift2nulecule.git","svn_url":"https://github.com/projectatomic/openshift2nulecule","homepage":null,"size":93,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50"},"html":{"href":"https://github.com/projectatomic/openshift2nulecule/pull/50"},"issue":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/issues/50"},"comments":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/openshift2nulecule/statuses/7731db4202c252c9e39776f99ea4b0bc76e93e93"}}}}