{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/jarvis/pulls/comments/45666893","id":45666893,"diff_hunk":"@@ -21,11 +21,8 @@ class Jarvis < Handler\n       fancy_route(\"cla\", ::Jarvis::Command::CLA, :command => true, :flags => {\n         \"--cla-url\" => ->(_) { config.find { |c| c.name == :cla_url }.value || raise(::Jarvis::Error, \"Missing this setting in lita_config.rb: config.handlers.jarvis.cla_url\") },\n       })\n-      fancy_route(\"publish\", ::Jarvis::Command::Publish, :command => true, :flags => {\n-        \"--committer-email\" => ->(request) { request.user.metadata[\"git-email\"] || raise(::Jarvis::UserProfileError, \"Missing user setting `git-email` for user #{request.user.name}\") },\n-        \"--committer-name\" => ->(request) { request.user.name },\n-        \"--github-token\" => ->(_) { config.find { |c| c.name == :github_token }.value || raise(::Jarvis::Error, \"Missing this setting in lita_config.rb: config.handlers.jarvis.github_token\") }","path":"lib/lita/handlers/jarvis.rb","position":7,"original_position":7,"commit_id":"7361d45cd939cadd6be897c05985117a553562b5","original_commit_id":"7361d45cd939cadd6be897c05985117a553562b5","user":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"body":"Not sure, I think the `publish_gem` uses `git push origin TAGS` and not the github api?","created_at":"2015-11-23T21:57:54Z","updated_at":"2015-11-23T21:57:54Z","html_url":"https://github.com/elastic/jarvis/pull/46#discussion_r45666893","pull_request_url":"https://api.github.com/repos/elastic/jarvis/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/elastic/jarvis/pulls/comments/45666893"},"html":{"href":"https://github.com/elastic/jarvis/pull/46#discussion_r45666893"},"pull_request":{"href":"https://api.github.com/repos/elastic/jarvis/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/jarvis/pulls/46","id":51581859,"html_url":"https://github.com/elastic/jarvis/pull/46","diff_url":"https://github.com/elastic/jarvis/pull/46.diff","patch_url":"https://github.com/elastic/jarvis/pull/46.patch","issue_url":"https://api.github.com/repos/elastic/jarvis/issues/46","number":46,"state":"open","locked":false,"title":"Publish gems to rubygems","user":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"body":"This plugin reintroduce the publishing of gems to rubygems and change the following:\r\n- Jarvis will not run any test before pushing the gem instead we rely on jenkins, this only work with the master branch\r\n- It shouldn't fails to publish the plugin for the first time\r\n- It doesn't run the bundle exec rake vendor if no `vendor.json` files is present, we should be able to deploy devutils.","created_at":"2015-11-23T21:21:02Z","updated_at":"2015-11-23T21:57:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"862defba90e57f5de8d22181739ee641d5dec7f9","assignee":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/elastic/jarvis/pulls/46/commits","review_comments_url":"https://api.github.com/repos/elastic/jarvis/pulls/46/comments","review_comment_url":"https://api.github.com/repos/elastic/jarvis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/jarvis/issues/46/comments","statuses_url":"https://api.github.com/repos/elastic/jarvis/statuses/7361d45cd939cadd6be897c05985117a553562b5","head":{"label":"ph:fix/publish","ref":"fix/publish","sha":"7361d45cd939cadd6be897c05985117a553562b5","user":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"repo":{"id":26230824,"name":"jarvis","full_name":"ph/jarvis","owner":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ph/jarvis","description":"","fork":true,"url":"https://api.github.com/repos/ph/jarvis","forks_url":"https://api.github.com/repos/ph/jarvis/forks","keys_url":"https://api.github.com/repos/ph/jarvis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ph/jarvis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ph/jarvis/teams","hooks_url":"https://api.github.com/repos/ph/jarvis/hooks","issue_events_url":"https://api.github.com/repos/ph/jarvis/issues/events{/number}","events_url":"https://api.github.com/repos/ph/jarvis/events","assignees_url":"https://api.github.com/repos/ph/jarvis/assignees{/user}","branches_url":"https://api.github.com/repos/ph/jarvis/branches{/branch}","tags_url":"https://api.github.com/repos/ph/jarvis/tags","blobs_url":"https://api.github.com/repos/ph/jarvis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ph/jarvis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ph/jarvis/git/refs{/sha}","trees_url":"https://api.github.com/repos/ph/jarvis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ph/jarvis/statuses/{sha}","languages_url":"https://api.github.com/repos/ph/jarvis/languages","stargazers_url":"https://api.github.com/repos/ph/jarvis/stargazers","contributors_url":"https://api.github.com/repos/ph/jarvis/contributors","subscribers_url":"https://api.github.com/repos/ph/jarvis/subscribers","subscription_url":"https://api.github.com/repos/ph/jarvis/subscription","commits_url":"https://api.github.com/repos/ph/jarvis/commits{/sha}","git_commits_url":"https://api.github.com/repos/ph/jarvis/git/commits{/sha}","comments_url":"https://api.github.com/repos/ph/jarvis/comments{/number}","issue_comment_url":"https://api.github.com/repos/ph/jarvis/issues/comments{/number}","contents_url":"https://api.github.com/repos/ph/jarvis/contents/{+path}","compare_url":"https://api.github.com/repos/ph/jarvis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ph/jarvis/merges","archive_url":"https://api.github.com/repos/ph/jarvis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ph/jarvis/downloads","issues_url":"https://api.github.com/repos/ph/jarvis/issues{/number}","pulls_url":"https://api.github.com/repos/ph/jarvis/pulls{/number}","milestones_url":"https://api.github.com/repos/ph/jarvis/milestones{/number}","notifications_url":"https://api.github.com/repos/ph/jarvis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ph/jarvis/labels{/name}","releases_url":"https://api.github.com/repos/ph/jarvis/releases{/id}","created_at":"2014-11-05T17:22:59Z","updated_at":"2015-04-07T20:04:56Z","pushed_at":"2015-11-23T21:20:31Z","git_url":"git://github.com/ph/jarvis.git","ssh_url":"git@github.com:ph/jarvis.git","clone_url":"https://github.com/ph/jarvis.git","svn_url":"https://github.com/ph/jarvis","homepage":null,"size":159,"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":"elastic:master","ref":"master","sha":"286520b1904261ac1633abc2943a78c47e244dd4","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":24524776,"name":"jarvis","full_name":"elastic/jarvis","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/jarvis","description":"Elasticsearch's ChatOps bot, J.A.R.V.I.S.","fork":false,"url":"https://api.github.com/repos/elastic/jarvis","forks_url":"https://api.github.com/repos/elastic/jarvis/forks","keys_url":"https://api.github.com/repos/elastic/jarvis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/jarvis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/jarvis/teams","hooks_url":"https://api.github.com/repos/elastic/jarvis/hooks","issue_events_url":"https://api.github.com/repos/elastic/jarvis/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/jarvis/events","assignees_url":"https://api.github.com/repos/elastic/jarvis/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/jarvis/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/jarvis/tags","blobs_url":"https://api.github.com/repos/elastic/jarvis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/jarvis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/jarvis/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/jarvis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/jarvis/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/jarvis/languages","stargazers_url":"https://api.github.com/repos/elastic/jarvis/stargazers","contributors_url":"https://api.github.com/repos/elastic/jarvis/contributors","subscribers_url":"https://api.github.com/repos/elastic/jarvis/subscribers","subscription_url":"https://api.github.com/repos/elastic/jarvis/subscription","commits_url":"https://api.github.com/repos/elastic/jarvis/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/jarvis/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/jarvis/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/jarvis/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/jarvis/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/jarvis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/jarvis/merges","archive_url":"https://api.github.com/repos/elastic/jarvis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/jarvis/downloads","issues_url":"https://api.github.com/repos/elastic/jarvis/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/jarvis/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/jarvis/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/jarvis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/jarvis/labels{/name}","releases_url":"https://api.github.com/repos/elastic/jarvis/releases{/id}","created_at":"2014-09-27T05:57:09Z","updated_at":"2015-11-20T14:53:04Z","pushed_at":"2015-11-23T21:21:03Z","git_url":"git://github.com/elastic/jarvis.git","ssh_url":"git@github.com:elastic/jarvis.git","clone_url":"https://github.com/elastic/jarvis.git","svn_url":"https://github.com/elastic/jarvis","homepage":"","size":153,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":23,"forks":9,"open_issues":23,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/jarvis/pulls/46"},"html":{"href":"https://github.com/elastic/jarvis/pull/46"},"issue":{"href":"https://api.github.com/repos/elastic/jarvis/issues/46"},"comments":{"href":"https://api.github.com/repos/elastic/jarvis/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/jarvis/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/jarvis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/jarvis/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/jarvis/statuses/7361d45cd939cadd6be897c05985117a553562b5"}}}}