GitHub PullRequestReviewCommentEvent at 2014-08-19 14:41:43
Repository: service-manager
Actor: vaughansharman
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/service-manager/pulls/comments/16418235","id":16418235,"diff_hunk":"@@ -13,6 +13,12 @@ from servicemanager.smrepo import pull_rebase_repo\n from servicemanager.actions import actions\n from servicemanager import smrepo\n \n+def ServiceCompleter(prefix, **kwargs):\n+    parsed_args = kwargs[\"parsed_args\"]\n+    application = SmApplication(configuration_dir_parameter=parsed_args.config, features=parsed_args.feature)\n+    service_resolver = ServiceResolver(application)\n+    return service_resolver.resolve_services(prefix + \"*\")","path":"bin/sm","position":17,"original_position":17,"commit_id":"ac731af04690544ba6d37edba1d1b6566aa0988c","original_commit_id":"ac731af04690544ba6d37edba1d1b6566aa0988c","user":{"login":"vaughansharman","id":2912404,"avatar_url":"https://avatars.githubusercontent.com/u/2912404?v=2","gravatar_id":"bf886471a75cd3c57a9595ec63845e5b","url":"https://api.github.com/users/vaughansharman","html_url":"https://github.com/vaughansharman","followers_url":"https://api.github.com/users/vaughansharman/followers","following_url":"https://api.github.com/users/vaughansharman/following{/other_user}","gists_url":"https://api.github.com/users/vaughansharman/gists{/gist_id}","starred_url":"https://api.github.com/users/vaughansharman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaughansharman/subscriptions","organizations_url":"https://api.github.com/users/vaughansharman/orgs","repos_url":"https://api.github.com/users/vaughansharman/repos","events_url":"https://api.github.com/users/vaughansharman/events{/privacy}","received_events_url":"https://api.github.com/users/vaughansharman/received_events","type":"User","site_admin":false},"body":"We probably need to double check *, i believe if you pass * on the command line it needs to be wrapped in quotes...","created_at":"2014-08-19T14:41:43Z","updated_at":"2014-08-19T14:41:43Z","html_url":"https://github.com/hmrc/service-manager/pull/7#discussion_r16418235","pull_request_url":"https://api.github.com/repos/hmrc/service-manager/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/hmrc/service-manager/pulls/comments/16418235"},"html":{"href":"https://github.com/hmrc/service-manager/pull/7#discussion_r16418235"},"pull_request":{"href":"https://api.github.com/repos/hmrc/service-manager/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/hmrc/service-manager/pulls/7","id":19978642,"html_url":"https://github.com/hmrc/service-manager/pull/7","diff_url":"https://github.com/hmrc/service-manager/pull/7.diff","patch_url":"https://github.com/hmrc/service-manager/pull/7.patch","issue_url":"https://api.github.com/repos/hmrc/service-manager/issues/7","number":7,"state":"open","locked":false,"title":"Added argcomplete for bash autocompletion of arguments and service names.","user":{"login":"HolyHaddock","id":171127,"avatar_url":"https://avatars.githubusercontent.com/u/171127?v=2","gravatar_id":"fbb326354c5342e959753f953bbb70f8","url":"https://api.github.com/users/HolyHaddock","html_url":"https://github.com/HolyHaddock","followers_url":"https://api.github.com/users/HolyHaddock/followers","following_url":"https://api.github.com/users/HolyHaddock/following{/other_user}","gists_url":"https://api.github.com/users/HolyHaddock/gists{/gist_id}","starred_url":"https://api.github.com/users/HolyHaddock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HolyHaddock/subscriptions","organizations_url":"https://api.github.com/users/HolyHaddock/orgs","repos_url":"https://api.github.com/users/HolyHaddock/repos","events_url":"https://api.github.com/users/HolyHaddock/events{/privacy}","received_events_url":"https://api.github.com/users/HolyHaddock/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-08-19T13:04:37Z","updated_at":"2014-08-19T14:41:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7415050a5562db336b9b307e58c61efa98ff5d72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/service-manager/pulls/7/commits","review_comments_url":"https://api.github.com/repos/hmrc/service-manager/pulls/7/comments","review_comment_url":"https://api.github.com/repos/hmrc/service-manager/pulls/comments/{number}","comments_url":"https://api.github.com/repos/hmrc/service-manager/issues/7/comments","statuses_url":"https://api.github.com/repos/hmrc/service-manager/statuses/ac731af04690544ba6d37edba1d1b6566aa0988c","head":{"label":"hmrc:bash_autocomplete_services","ref":"bash_autocomplete_services","sha":"ac731af04690544ba6d37edba1d1b6566aa0988c","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=2","gravatar_id":"9bcaae2d41c148edea77000c269ffe57","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":21166240,"name":"service-manager","full_name":"hmrc/service-manager","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=2","gravatar_id":"9bcaae2d41c148edea77000c269ffe57","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/service-manager","description":"A python tool to manage developing and testing with lots of microservices","fork":false,"url":"https://api.github.com/repos/hmrc/service-manager","forks_url":"https://api.github.com/repos/hmrc/service-manager/forks","keys_url":"https://api.github.com/repos/hmrc/service-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/service-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/service-manager/teams","hooks_url":"https://api.github.com/repos/hmrc/service-manager/hooks","issue_events_url":"https://api.github.com/repos/hmrc/service-manager/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/service-manager/events","assignees_url":"https://api.github.com/repos/hmrc/service-manager/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/service-manager/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/service-manager/tags","blobs_url":"https://api.github.com/repos/hmrc/service-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/service-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/service-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/service-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/service-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/service-manager/languages","stargazers_url":"https://api.github.com/repos/hmrc/service-manager/stargazers","contributors_url":"https://api.github.com/repos/hmrc/service-manager/contributors","subscribers_url":"https://api.github.com/repos/hmrc/service-manager/subscribers","subscription_url":"https://api.github.com/repos/hmrc/service-manager/subscription","commits_url":"https://api.github.com/repos/hmrc/service-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/service-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/service-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/service-manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/hmrc/service-manager/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/service-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/service-manager/merges","archive_url":"https://api.github.com/repos/hmrc/service-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/service-manager/downloads","issues_url":"https://api.github.com/repos/hmrc/service-manager/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/service-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/service-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/service-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/service-manager/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/service-manager/releases{/id}","created_at":"2014-06-24T13:49:14Z","updated_at":"2014-08-15T18:42:20Z","pushed_at":"2014-08-19T13:04:11Z","git_url":"git://github.com/hmrc/service-manager.git","ssh_url":"git@github.com:hmrc/service-manager.git","clone_url":"https://github.com/hmrc/service-manager.git","svn_url":"https://github.com/hmrc/service-manager","homepage":"","size":38286,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"f830592212b3195add4151ff33dfe6b8e7acec48","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=2","gravatar_id":"9bcaae2d41c148edea77000c269ffe57","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":21166240,"name":"service-manager","full_name":"hmrc/service-manager","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=2","gravatar_id":"9bcaae2d41c148edea77000c269ffe57","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/service-manager","description":"A python tool to manage developing and testing with lots of microservices","fork":false,"url":"https://api.github.com/repos/hmrc/service-manager","forks_url":"https://api.github.com/repos/hmrc/service-manager/forks","keys_url":"https://api.github.com/repos/hmrc/service-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/service-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/service-manager/teams","hooks_url":"https://api.github.com/repos/hmrc/service-manager/hooks","issue_events_url":"https://api.github.com/repos/hmrc/service-manager/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/service-manager/events","assignees_url":"https://api.github.com/repos/hmrc/service-manager/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/service-manager/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/service-manager/tags","blobs_url":"https://api.github.com/repos/hmrc/service-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/service-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/service-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/service-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/service-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/service-manager/languages","stargazers_url":"https://api.github.com/repos/hmrc/service-manager/stargazers","contributors_url":"https://api.github.com/repos/hmrc/service-manager/contributors","subscribers_url":"https://api.github.com/repos/hmrc/service-manager/subscribers","subscription_url":"https://api.github.com/repos/hmrc/service-manager/subscription","commits_url":"https://api.github.com/repos/hmrc/service-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/service-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/service-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/service-manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/hmrc/service-manager/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/service-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/service-manager/merges","archive_url":"https://api.github.com/repos/hmrc/service-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/service-manager/downloads","issues_url":"https://api.github.com/repos/hmrc/service-manager/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/service-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/service-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/service-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/service-manager/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/service-manager/releases{/id}","created_at":"2014-06-24T13:49:14Z","updated_at":"2014-08-15T18:42:20Z","pushed_at":"2014-08-19T13:04:11Z","git_url":"git://github.com/hmrc/service-manager.git","ssh_url":"git@github.com:hmrc/service-manager.git","clone_url":"https://github.com/hmrc/service-manager.git","svn_url":"https://github.com/hmrc/service-manager","homepage":"","size":38286,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/service-manager/pulls/7"},"html":{"href":"https://github.com/hmrc/service-manager/pull/7"},"issue":{"href":"https://api.github.com/repos/hmrc/service-manager/issues/7"},"comments":{"href":"https://api.github.com/repos/hmrc/service-manager/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/service-manager/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/service-manager/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/hmrc/service-manager/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/service-manager/statuses/ac731af04690544ba6d37edba1d1b6566aa0988c"}}}}