{"action":"created","comment":{"url":"https://api.github.com/repos/librariesio/libraries.io/pulls/comments/227192213","pull_request_review_id":167174818,"id":227192213,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzE5MjIxMw==","diff_hunk":"@@ -1,38 +1,63 @@\n-server '51.15.130.54',    user: 'root', roles: %w{cron}\n-\n-server '163.172.185.77',  user: 'root', roles: %w{app web}\n-server '163.172.154.122', user: 'root', roles: %w{app web}\n-server '163.172.161.163', user: 'root', roles: %w{app web}\n-server '163.172.139.6',   user: 'root', roles: %w{app web}\n-\n-server '163.172.139.253', user: 'root', roles: %w{app worker}\n-server '163.172.138.184', user: 'root', roles: %w{app worker}\n-server '163.172.155.116', user: 'root', roles: %w{app worker}\n-server '163.172.165.101', user: 'root', roles: %w{app worker}\n-server '51.15.141.224', user: 'root', roles: %w{app worker}\n-\n-namespace :deploy do\n-  task :restart do\n-    on roles(:app) do |host|\n-      execute \"sleep #{rand(100)} && restart librariesio\"\n-    end\n-  end\n-\n-  task :restart_web do\n-    on roles(:web) do |host|\n-      execute \"sleep #{rand(100)} && restart librariesio\"\n-    end\n-  end\n-\n-  task :stop do\n-    on roles(:worker) do |host|\n-      execute \"stop librariesio\"\n-    end\n-  end\n-  task :start do\n-    on roles(:worker) do |host|\n-      execute \"start librariesio\"\n-    end\n-  end\n-  after :publishing, :restart\n+require \"fog/google\"\n+require \"json\"\n+google_creds = JSON.load(File.open('.google_creds.json'))","path":"config/deploy/production.rb","position":40,"original_position":40,"commit_id":"2ba8f51bd84bb64660bfeae4705c25c9ec93dccc","original_commit_id":"2ba8f51bd84bb64660bfeae4705c25c9ec93dccc","user":{"login":"blarghmatey","id":479088,"node_id":"MDQ6VXNlcjQ3OTA4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/479088?v=4","gravatar_id":"","url":"https://api.github.com/users/blarghmatey","html_url":"https://github.com/blarghmatey","followers_url":"https://api.github.com/users/blarghmatey/followers","following_url":"https://api.github.com/users/blarghmatey/following{/other_user}","gists_url":"https://api.github.com/users/blarghmatey/gists{/gist_id}","starred_url":"https://api.github.com/users/blarghmatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blarghmatey/subscriptions","organizations_url":"https://api.github.com/users/blarghmatey/orgs","repos_url":"https://api.github.com/users/blarghmatey/repos","events_url":"https://api.github.com/users/blarghmatey/events{/privacy}","received_events_url":"https://api.github.com/users/blarghmatey/received_events","type":"User","site_admin":false},"body":"Because this gets run from your local laptop that wouldn't work. If you have a GCP instance that you plan to run the capistrano commands from then yes, it would probably work.","created_at":"2018-10-23T01:27:51Z","updated_at":"2018-10-23T01:27:51Z","html_url":"https://github.com/librariesio/libraries.io/pull/2234#discussion_r227192213","pull_request_url":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/comments/227192213"},"html":{"href":"https://github.com/librariesio/libraries.io/pull/2234#discussion_r227192213"},"pull_request":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234"}},"in_reply_to_id":227009244},"pull_request":{"url":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234","id":223092849,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMDkyODQ5","html_url":"https://github.com/librariesio/libraries.io/pull/2234","diff_url":"https://github.com/librariesio/libraries.io/pull/2234.diff","patch_url":"https://github.com/librariesio/libraries.io/pull/2234.patch","issue_url":"https://api.github.com/repos/librariesio/libraries.io/issues/2234","number":2234,"state":"open","locked":false,"title":"Updated capistrano configs for deploying to GCP","user":{"login":"blarghmatey","id":479088,"node_id":"MDQ6VXNlcjQ3OTA4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/479088?v=4","gravatar_id":"","url":"https://api.github.com/users/blarghmatey","html_url":"https://github.com/blarghmatey","followers_url":"https://api.github.com/users/blarghmatey/followers","following_url":"https://api.github.com/users/blarghmatey/following{/other_user}","gists_url":"https://api.github.com/users/blarghmatey/gists{/gist_id}","starred_url":"https://api.github.com/users/blarghmatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blarghmatey/subscriptions","organizations_url":"https://api.github.com/users/blarghmatey/orgs","repos_url":"https://api.github.com/users/blarghmatey/repos","events_url":"https://api.github.com/users/blarghmatey/events{/privacy}","received_events_url":"https://api.github.com/users/blarghmatey/received_events","type":"User","site_admin":false},"body":"Thanks taking the time to contribute. This template should help guide you through the process of creating a pull request for review. Please erase any part of this template that is not relevant to your pull request:\r\n\r\n\r\n- [ ] Have you followed the guidelines for [contributors](http://docs.libraries.io/contributorshandbook)?\r\n- [ ] Have you checked to ensure there aren't other open pull requests on the repository for a similar change?\r\n- [ ] Is there a corresponding ticket for your pull request?\r\n- [ ] Have you written new tests for your changes?\r\n- [ ] Have you successfully run the project with your changes locally?\r\n\r\nIf so then please replace this section with a link to the ticket(s) it addressed, an explanation of your change and why you think we should include it. Thanks again! \r\n","created_at":"2018-10-16T02:02:06Z","updated_at":"2018-10-23T01:27:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc0efb457f210fad88860b8287d889fce5817556","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234/commits","review_comments_url":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234/comments","review_comment_url":"https://api.github.com/repos/librariesio/libraries.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librariesio/libraries.io/issues/2234/comments","statuses_url":"https://api.github.com/repos/librariesio/libraries.io/statuses/2ba8f51bd84bb64660bfeae4705c25c9ec93dccc","head":{"label":"BoundlessNotions:gce_cap_fixes","ref":"gce_cap_fixes","sha":"2ba8f51bd84bb64660bfeae4705c25c9ec93dccc","user":{"login":"BoundlessNotions","id":19217177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjE3MTc3","avatar_url":"https://avatars1.githubusercontent.com/u/19217177?v=4","gravatar_id":"","url":"https://api.github.com/users/BoundlessNotions","html_url":"https://github.com/BoundlessNotions","followers_url":"https://api.github.com/users/BoundlessNotions/followers","following_url":"https://api.github.com/users/BoundlessNotions/following{/other_user}","gists_url":"https://api.github.com/users/BoundlessNotions/gists{/gist_id}","starred_url":"https://api.github.com/users/BoundlessNotions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoundlessNotions/subscriptions","organizations_url":"https://api.github.com/users/BoundlessNotions/orgs","repos_url":"https://api.github.com/users/BoundlessNotions/repos","events_url":"https://api.github.com/users/BoundlessNotions/events{/privacy}","received_events_url":"https://api.github.com/users/BoundlessNotions/received_events","type":"Organization","site_admin":false},"repo":{"id":142509151,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI1MDkxNTE=","name":"libraries.io","full_name":"BoundlessNotions/libraries.io","private":false,"owner":{"login":"BoundlessNotions","id":19217177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjE3MTc3","avatar_url":"https://avatars1.githubusercontent.com/u/19217177?v=4","gravatar_id":"","url":"https://api.github.com/users/BoundlessNotions","html_url":"https://github.com/BoundlessNotions","followers_url":"https://api.github.com/users/BoundlessNotions/followers","following_url":"https://api.github.com/users/BoundlessNotions/following{/other_user}","gists_url":"https://api.github.com/users/BoundlessNotions/gists{/gist_id}","starred_url":"https://api.github.com/users/BoundlessNotions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoundlessNotions/subscriptions","organizations_url":"https://api.github.com/users/BoundlessNotions/orgs","repos_url":"https://api.github.com/users/BoundlessNotions/repos","events_url":"https://api.github.com/users/BoundlessNotions/events{/privacy}","received_events_url":"https://api.github.com/users/BoundlessNotions/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BoundlessNotions/libraries.io","description":":books: The Open Source Discovery Service","fork":true,"url":"https://api.github.com/repos/BoundlessNotions/libraries.io","forks_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/forks","keys_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/teams","hooks_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/hooks","issue_events_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/issues/events{/number}","events_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/events","assignees_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/assignees{/user}","branches_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/branches{/branch}","tags_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/tags","blobs_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/statuses/{sha}","languages_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/languages","stargazers_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/stargazers","contributors_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/contributors","subscribers_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/subscribers","subscription_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/subscription","commits_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/contents/{+path}","compare_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/merges","archive_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/downloads","issues_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/issues{/number}","pulls_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/pulls{/number}","milestones_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/milestones{/number}","notifications_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/labels{/name}","releases_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/releases{/id}","deployments_url":"https://api.github.com/repos/BoundlessNotions/libraries.io/deployments","created_at":"2018-07-27T00:43:30Z","updated_at":"2018-08-09T23:37:18Z","pushed_at":"2018-10-13T11:32:11Z","git_url":"git://github.com/BoundlessNotions/libraries.io.git","ssh_url":"git@github.com:BoundlessNotions/libraries.io.git","clone_url":"https://github.com/BoundlessNotions/libraries.io.git","svn_url":"https://github.com/BoundlessNotions/libraries.io","homepage":"https://libraries.io","size":19527,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"librariesio:master","ref":"master","sha":"12181f9c88d82a090af5cb1458feb90d7f2065c7","user":{"login":"librariesio","id":11243589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjQzNTg5","avatar_url":"https://avatars2.githubusercontent.com/u/11243589?v=4","gravatar_id":"","url":"https://api.github.com/users/librariesio","html_url":"https://github.com/librariesio","followers_url":"https://api.github.com/users/librariesio/followers","following_url":"https://api.github.com/users/librariesio/following{/other_user}","gists_url":"https://api.github.com/users/librariesio/gists{/gist_id}","starred_url":"https://api.github.com/users/librariesio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librariesio/subscriptions","organizations_url":"https://api.github.com/users/librariesio/orgs","repos_url":"https://api.github.com/users/librariesio/repos","events_url":"https://api.github.com/users/librariesio/events{/privacy}","received_events_url":"https://api.github.com/users/librariesio/received_events","type":"Organization","site_admin":false},"repo":{"id":24641222,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY0MTIyMg==","name":"libraries.io","full_name":"librariesio/libraries.io","private":false,"owner":{"login":"librariesio","id":11243589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjQzNTg5","avatar_url":"https://avatars2.githubusercontent.com/u/11243589?v=4","gravatar_id":"","url":"https://api.github.com/users/librariesio","html_url":"https://github.com/librariesio","followers_url":"https://api.github.com/users/librariesio/followers","following_url":"https://api.github.com/users/librariesio/following{/other_user}","gists_url":"https://api.github.com/users/librariesio/gists{/gist_id}","starred_url":"https://api.github.com/users/librariesio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librariesio/subscriptions","organizations_url":"https://api.github.com/users/librariesio/orgs","repos_url":"https://api.github.com/users/librariesio/repos","events_url":"https://api.github.com/users/librariesio/events{/privacy}","received_events_url":"https://api.github.com/users/librariesio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/librariesio/libraries.io","description":":books: The Open Source Discovery Service","fork":false,"url":"https://api.github.com/repos/librariesio/libraries.io","forks_url":"https://api.github.com/repos/librariesio/libraries.io/forks","keys_url":"https://api.github.com/repos/librariesio/libraries.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librariesio/libraries.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librariesio/libraries.io/teams","hooks_url":"https://api.github.com/repos/librariesio/libraries.io/hooks","issue_events_url":"https://api.github.com/repos/librariesio/libraries.io/issues/events{/number}","events_url":"https://api.github.com/repos/librariesio/libraries.io/events","assignees_url":"https://api.github.com/repos/librariesio/libraries.io/assignees{/user}","branches_url":"https://api.github.com/repos/librariesio/libraries.io/branches{/branch}","tags_url":"https://api.github.com/repos/librariesio/libraries.io/tags","blobs_url":"https://api.github.com/repos/librariesio/libraries.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librariesio/libraries.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librariesio/libraries.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/librariesio/libraries.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librariesio/libraries.io/statuses/{sha}","languages_url":"https://api.github.com/repos/librariesio/libraries.io/languages","stargazers_url":"https://api.github.com/repos/librariesio/libraries.io/stargazers","contributors_url":"https://api.github.com/repos/librariesio/libraries.io/contributors","subscribers_url":"https://api.github.com/repos/librariesio/libraries.io/subscribers","subscription_url":"https://api.github.com/repos/librariesio/libraries.io/subscription","commits_url":"https://api.github.com/repos/librariesio/libraries.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/librariesio/libraries.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/librariesio/libraries.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/librariesio/libraries.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/librariesio/libraries.io/contents/{+path}","compare_url":"https://api.github.com/repos/librariesio/libraries.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librariesio/libraries.io/merges","archive_url":"https://api.github.com/repos/librariesio/libraries.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librariesio/libraries.io/downloads","issues_url":"https://api.github.com/repos/librariesio/libraries.io/issues{/number}","pulls_url":"https://api.github.com/repos/librariesio/libraries.io/pulls{/number}","milestones_url":"https://api.github.com/repos/librariesio/libraries.io/milestones{/number}","notifications_url":"https://api.github.com/repos/librariesio/libraries.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librariesio/libraries.io/labels{/name}","releases_url":"https://api.github.com/repos/librariesio/libraries.io/releases{/id}","deployments_url":"https://api.github.com/repos/librariesio/libraries.io/deployments","created_at":"2014-09-30T14:26:33Z","updated_at":"2018-10-23T01:18:47Z","pushed_at":"2018-10-23T01:18:46Z","git_url":"git://github.com/librariesio/libraries.io.git","ssh_url":"git@github.com:librariesio/libraries.io.git","clone_url":"https://github.com/librariesio/libraries.io.git","svn_url":"https://github.com/librariesio/libraries.io","homepage":"https://libraries.io","size":19534,"stargazers_count":693,"watchers_count":693,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":125,"mirror_url":null,"archived":false,"open_issues_count":148,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":125,"open_issues":148,"watchers":693,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234"},"html":{"href":"https://github.com/librariesio/libraries.io/pull/2234"},"issue":{"href":"https://api.github.com/repos/librariesio/libraries.io/issues/2234"},"comments":{"href":"https://api.github.com/repos/librariesio/libraries.io/issues/2234/comments"},"review_comments":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234/comments"},"review_comment":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/2234/commits"},"statuses":{"href":"https://api.github.com/repos/librariesio/libraries.io/statuses/2ba8f51bd84bb64660bfeae4705c25c9ec93dccc"}},"author_association":"NONE"}}
{"actor":{"display_login":"blarghmatey"}}