{"action":"opened","number":257,"pull_request":{"url":"https://api.github.com/repos/intercity/intercity-next/pulls/257","id":232797166,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNzk3MTY2","html_url":"https://github.com/intercity/intercity-next/pull/257","diff_url":"https://github.com/intercity/intercity-next/pull/257.diff","patch_url":"https://github.com/intercity/intercity-next/pull/257.patch","issue_url":"https://api.github.com/repos/intercity/intercity-next/issues/257","number":257,"state":"open","locked":false,"title":"Execute SSL management commands via sudo","user":{"login":"michiels","id":42268,"node_id":"MDQ6VXNlcjQyMjY4","avatar_url":"https://avatars2.githubusercontent.com/u/42268?v=4","gravatar_id":"","url":"https://api.github.com/users/michiels","html_url":"https://github.com/michiels","followers_url":"https://api.github.com/users/michiels/followers","following_url":"https://api.github.com/users/michiels/following{/other_user}","gists_url":"https://api.github.com/users/michiels/gists{/gist_id}","starred_url":"https://api.github.com/users/michiels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michiels/subscriptions","organizations_url":"https://api.github.com/users/michiels/orgs","repos_url":"https://api.github.com/users/michiels/repos","events_url":"https://api.github.com/users/michiels/events{/privacy}","received_events_url":"https://api.github.com/users/michiels/received_events","type":"User","site_admin":false},"body":"This PR makes a small fix for #226 so that the SSL certificate adding and removal commands are executed via `sudo`. This fixes this feature for servers where a sudo account is used to manage Intercity and Dokku, instead of a full root account.","created_at":"2018-11-21T21:02:03Z","updated_at":"2018-11-21T21:02:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intercity/intercity-next/pulls/257/commits","review_comments_url":"https://api.github.com/repos/intercity/intercity-next/pulls/257/comments","review_comment_url":"https://api.github.com/repos/intercity/intercity-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intercity/intercity-next/issues/257/comments","statuses_url":"https://api.github.com/repos/intercity/intercity-next/statuses/2a89c89109f7ba0ce10c597b13656e4f8c5a4f8b","head":{"label":"intercity:install-ssl-via-sudo","ref":"install-ssl-via-sudo","sha":"2a89c89109f7ba0ce10c597b13656e4f8c5a4f8b","user":{"login":"intercity","id":5263466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNjM0NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/5263466?v=4","gravatar_id":"","url":"https://api.github.com/users/intercity","html_url":"https://github.com/intercity","followers_url":"https://api.github.com/users/intercity/followers","following_url":"https://api.github.com/users/intercity/following{/other_user}","gists_url":"https://api.github.com/users/intercity/gists{/gist_id}","starred_url":"https://api.github.com/users/intercity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercity/subscriptions","organizations_url":"https://api.github.com/users/intercity/orgs","repos_url":"https://api.github.com/users/intercity/repos","events_url":"https://api.github.com/users/intercity/events{/privacy}","received_events_url":"https://api.github.com/users/intercity/received_events","type":"Organization","site_admin":false},"repo":{"id":47646072,"node_id":"MDEwOlJlcG9zaXRvcnk0NzY0NjA3Mg==","name":"intercity-next","full_name":"intercity/intercity-next","private":false,"owner":{"login":"intercity","id":5263466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNjM0NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/5263466?v=4","gravatar_id":"","url":"https://api.github.com/users/intercity","html_url":"https://github.com/intercity","followers_url":"https://api.github.com/users/intercity/followers","following_url":"https://api.github.com/users/intercity/following{/other_user}","gists_url":"https://api.github.com/users/intercity/gists{/gist_id}","starred_url":"https://api.github.com/users/intercity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercity/subscriptions","organizations_url":"https://api.github.com/users/intercity/orgs","repos_url":"https://api.github.com/users/intercity/repos","events_url":"https://api.github.com/users/intercity/events{/privacy}","received_events_url":"https://api.github.com/users/intercity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/intercity/intercity-next","description":"Web control panel to deploy apps on your servers (with Dokku)","fork":false,"url":"https://api.github.com/repos/intercity/intercity-next","forks_url":"https://api.github.com/repos/intercity/intercity-next/forks","keys_url":"https://api.github.com/repos/intercity/intercity-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intercity/intercity-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intercity/intercity-next/teams","hooks_url":"https://api.github.com/repos/intercity/intercity-next/hooks","issue_events_url":"https://api.github.com/repos/intercity/intercity-next/issues/events{/number}","events_url":"https://api.github.com/repos/intercity/intercity-next/events","assignees_url":"https://api.github.com/repos/intercity/intercity-next/assignees{/user}","branches_url":"https://api.github.com/repos/intercity/intercity-next/branches{/branch}","tags_url":"https://api.github.com/repos/intercity/intercity-next/tags","blobs_url":"https://api.github.com/repos/intercity/intercity-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intercity/intercity-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intercity/intercity-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/intercity/intercity-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intercity/intercity-next/statuses/{sha}","languages_url":"https://api.github.com/repos/intercity/intercity-next/languages","stargazers_url":"https://api.github.com/repos/intercity/intercity-next/stargazers","contributors_url":"https://api.github.com/repos/intercity/intercity-next/contributors","subscribers_url":"https://api.github.com/repos/intercity/intercity-next/subscribers","subscription_url":"https://api.github.com/repos/intercity/intercity-next/subscription","commits_url":"https://api.github.com/repos/intercity/intercity-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/intercity/intercity-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/intercity/intercity-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/intercity/intercity-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/intercity/intercity-next/contents/{+path}","compare_url":"https://api.github.com/repos/intercity/intercity-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intercity/intercity-next/merges","archive_url":"https://api.github.com/repos/intercity/intercity-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intercity/intercity-next/downloads","issues_url":"https://api.github.com/repos/intercity/intercity-next/issues{/number}","pulls_url":"https://api.github.com/repos/intercity/intercity-next/pulls{/number}","milestones_url":"https://api.github.com/repos/intercity/intercity-next/milestones{/number}","notifications_url":"https://api.github.com/repos/intercity/intercity-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intercity/intercity-next/labels{/name}","releases_url":"https://api.github.com/repos/intercity/intercity-next/releases{/id}","deployments_url":"https://api.github.com/repos/intercity/intercity-next/deployments","created_at":"2015-12-08T19:56:17Z","updated_at":"2018-11-21T13:57:31Z","pushed_at":"2018-11-21T21:00:58Z","git_url":"git://github.com/intercity/intercity-next.git","ssh_url":"git@github.com:intercity/intercity-next.git","clone_url":"https://github.com/intercity/intercity-next.git","svn_url":"https://github.com/intercity/intercity-next","homepage":"https://intercity.io/","size":509,"stargazers_count":47,"watchers_count":47,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":46,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":46,"watchers":47,"default_branch":"master"}},"base":{"label":"intercity:master","ref":"master","sha":"3519f7bd6c40c901658620978126a480458bb6de","user":{"login":"intercity","id":5263466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNjM0NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/5263466?v=4","gravatar_id":"","url":"https://api.github.com/users/intercity","html_url":"https://github.com/intercity","followers_url":"https://api.github.com/users/intercity/followers","following_url":"https://api.github.com/users/intercity/following{/other_user}","gists_url":"https://api.github.com/users/intercity/gists{/gist_id}","starred_url":"https://api.github.com/users/intercity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercity/subscriptions","organizations_url":"https://api.github.com/users/intercity/orgs","repos_url":"https://api.github.com/users/intercity/repos","events_url":"https://api.github.com/users/intercity/events{/privacy}","received_events_url":"https://api.github.com/users/intercity/received_events","type":"Organization","site_admin":false},"repo":{"id":47646072,"node_id":"MDEwOlJlcG9zaXRvcnk0NzY0NjA3Mg==","name":"intercity-next","full_name":"intercity/intercity-next","private":false,"owner":{"login":"intercity","id":5263466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNjM0NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/5263466?v=4","gravatar_id":"","url":"https://api.github.com/users/intercity","html_url":"https://github.com/intercity","followers_url":"https://api.github.com/users/intercity/followers","following_url":"https://api.github.com/users/intercity/following{/other_user}","gists_url":"https://api.github.com/users/intercity/gists{/gist_id}","starred_url":"https://api.github.com/users/intercity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercity/subscriptions","organizations_url":"https://api.github.com/users/intercity/orgs","repos_url":"https://api.github.com/users/intercity/repos","events_url":"https://api.github.com/users/intercity/events{/privacy}","received_events_url":"https://api.github.com/users/intercity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/intercity/intercity-next","description":"Web control panel to deploy apps on your servers (with Dokku)","fork":false,"url":"https://api.github.com/repos/intercity/intercity-next","forks_url":"https://api.github.com/repos/intercity/intercity-next/forks","keys_url":"https://api.github.com/repos/intercity/intercity-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intercity/intercity-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intercity/intercity-next/teams","hooks_url":"https://api.github.com/repos/intercity/intercity-next/hooks","issue_events_url":"https://api.github.com/repos/intercity/intercity-next/issues/events{/number}","events_url":"https://api.github.com/repos/intercity/intercity-next/events","assignees_url":"https://api.github.com/repos/intercity/intercity-next/assignees{/user}","branches_url":"https://api.github.com/repos/intercity/intercity-next/branches{/branch}","tags_url":"https://api.github.com/repos/intercity/intercity-next/tags","blobs_url":"https://api.github.com/repos/intercity/intercity-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intercity/intercity-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intercity/intercity-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/intercity/intercity-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intercity/intercity-next/statuses/{sha}","languages_url":"https://api.github.com/repos/intercity/intercity-next/languages","stargazers_url":"https://api.github.com/repos/intercity/intercity-next/stargazers","contributors_url":"https://api.github.com/repos/intercity/intercity-next/contributors","subscribers_url":"https://api.github.com/repos/intercity/intercity-next/subscribers","subscription_url":"https://api.github.com/repos/intercity/intercity-next/subscription","commits_url":"https://api.github.com/repos/intercity/intercity-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/intercity/intercity-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/intercity/intercity-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/intercity/intercity-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/intercity/intercity-next/contents/{+path}","compare_url":"https://api.github.com/repos/intercity/intercity-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intercity/intercity-next/merges","archive_url":"https://api.github.com/repos/intercity/intercity-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intercity/intercity-next/downloads","issues_url":"https://api.github.com/repos/intercity/intercity-next/issues{/number}","pulls_url":"https://api.github.com/repos/intercity/intercity-next/pulls{/number}","milestones_url":"https://api.github.com/repos/intercity/intercity-next/milestones{/number}","notifications_url":"https://api.github.com/repos/intercity/intercity-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intercity/intercity-next/labels{/name}","releases_url":"https://api.github.com/repos/intercity/intercity-next/releases{/id}","deployments_url":"https://api.github.com/repos/intercity/intercity-next/deployments","created_at":"2015-12-08T19:56:17Z","updated_at":"2018-11-21T13:57:31Z","pushed_at":"2018-11-21T21:00:58Z","git_url":"git://github.com/intercity/intercity-next.git","ssh_url":"git@github.com:intercity/intercity-next.git","clone_url":"https://github.com/intercity/intercity-next.git","svn_url":"https://github.com/intercity/intercity-next","homepage":"https://intercity.io/","size":509,"stargazers_count":47,"watchers_count":47,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":46,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":46,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intercity/intercity-next/pulls/257"},"html":{"href":"https://github.com/intercity/intercity-next/pull/257"},"issue":{"href":"https://api.github.com/repos/intercity/intercity-next/issues/257"},"comments":{"href":"https://api.github.com/repos/intercity/intercity-next/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/intercity/intercity-next/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/intercity/intercity-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intercity/intercity-next/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/intercity/intercity-next/statuses/2a89c89109f7ba0ce10c597b13656e4f8c5a4f8b"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"michiels"}}