{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/omaraltayyan/bench/pulls/1","id":80933596,"html_url":"https://github.com/omaraltayyan/bench/pull/1","diff_url":"https://github.com/omaraltayyan/bench/pull/1.diff","patch_url":"https://github.com/omaraltayyan/bench/pull/1.patch","issue_url":"https://api.github.com/repos/omaraltayyan/bench/issues/1","number":1,"state":"open","locked":false,"title":"fixed a bug in nginx config","user":{"login":"omaraltayyan","id":8036586,"avatar_url":"https://avatars.githubusercontent.com/u/8036586?v=3","gravatar_id":"","url":"https://api.github.com/users/omaraltayyan","html_url":"https://github.com/omaraltayyan","followers_url":"https://api.github.com/users/omaraltayyan/followers","following_url":"https://api.github.com/users/omaraltayyan/following{/other_user}","gists_url":"https://api.github.com/users/omaraltayyan/gists{/gist_id}","starred_url":"https://api.github.com/users/omaraltayyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omaraltayyan/subscriptions","organizations_url":"https://api.github.com/users/omaraltayyan/orgs","repos_url":"https://api.github.com/users/omaraltayyan/repos","events_url":"https://api.github.com/users/omaraltayyan/events{/privacy}","received_events_url":"https://api.github.com/users/omaraltayyan/received_events","type":"User","site_admin":false},"body":"i found a bug when the user of the bench is currently using a dns-multitenant setup and he has multiple sites, and then he decides to switch to multiport setup, then all the sites present on the server get assigned the same port \"80\" and you can't change the port of any site due to the exception \"Port 80 is being used by...\" \r\n\r\nso i fixed the bug by assigning a new port number that is not in use to every unassigned site, so afterwards the user can set his own port number for each site without having to face this exception and failing at this task","created_at":"2016-08-11T10:19:41Z","updated_at":"2016-08-11T10:19:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cff45e39252294ea47cf61f2cd0455e3013a8fba","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/omaraltayyan/bench/pulls/1/commits","review_comments_url":"https://api.github.com/repos/omaraltayyan/bench/pulls/1/comments","review_comment_url":"https://api.github.com/repos/omaraltayyan/bench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omaraltayyan/bench/issues/1/comments","statuses_url":"https://api.github.com/repos/omaraltayyan/bench/statuses/504876cdd54733b054d18966cfb2d4c6de665449","head":{"label":"omaraltayyan:omaraltayyan-patch-nginx","ref":"omaraltayyan-patch-nginx","sha":"504876cdd54733b054d18966cfb2d4c6de665449","user":{"login":"omaraltayyan","id":8036586,"avatar_url":"https://avatars.githubusercontent.com/u/8036586?v=3","gravatar_id":"","url":"https://api.github.com/users/omaraltayyan","html_url":"https://github.com/omaraltayyan","followers_url":"https://api.github.com/users/omaraltayyan/followers","following_url":"https://api.github.com/users/omaraltayyan/following{/other_user}","gists_url":"https://api.github.com/users/omaraltayyan/gists{/gist_id}","starred_url":"https://api.github.com/users/omaraltayyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omaraltayyan/subscriptions","organizations_url":"https://api.github.com/users/omaraltayyan/orgs","repos_url":"https://api.github.com/users/omaraltayyan/repos","events_url":"https://api.github.com/users/omaraltayyan/events{/privacy}","received_events_url":"https://api.github.com/users/omaraltayyan/received_events","type":"User","site_admin":false},"repo":{"id":65459909,"name":"bench","full_name":"omaraltayyan/bench","owner":{"login":"omaraltayyan","id":8036586,"avatar_url":"https://avatars.githubusercontent.com/u/8036586?v=3","gravatar_id":"","url":"https://api.github.com/users/omaraltayyan","html_url":"https://github.com/omaraltayyan","followers_url":"https://api.github.com/users/omaraltayyan/followers","following_url":"https://api.github.com/users/omaraltayyan/following{/other_user}","gists_url":"https://api.github.com/users/omaraltayyan/gists{/gist_id}","starred_url":"https://api.github.com/users/omaraltayyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omaraltayyan/subscriptions","organizations_url":"https://api.github.com/users/omaraltayyan/orgs","repos_url":"https://api.github.com/users/omaraltayyan/repos","events_url":"https://api.github.com/users/omaraltayyan/events{/privacy}","received_events_url":"https://api.github.com/users/omaraltayyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omaraltayyan/bench","description":"Multi-tenant platform to manage Frappe / ERPNext","fork":true,"url":"https://api.github.com/repos/omaraltayyan/bench","forks_url":"https://api.github.com/repos/omaraltayyan/bench/forks","keys_url":"https://api.github.com/repos/omaraltayyan/bench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omaraltayyan/bench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omaraltayyan/bench/teams","hooks_url":"https://api.github.com/repos/omaraltayyan/bench/hooks","issue_events_url":"https://api.github.com/repos/omaraltayyan/bench/issues/events{/number}","events_url":"https://api.github.com/repos/omaraltayyan/bench/events","assignees_url":"https://api.github.com/repos/omaraltayyan/bench/assignees{/user}","branches_url":"https://api.github.com/repos/omaraltayyan/bench/branches{/branch}","tags_url":"https://api.github.com/repos/omaraltayyan/bench/tags","blobs_url":"https://api.github.com/repos/omaraltayyan/bench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omaraltayyan/bench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omaraltayyan/bench/git/refs{/sha}","trees_url":"https://api.github.com/repos/omaraltayyan/bench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omaraltayyan/bench/statuses/{sha}","languages_url":"https://api.github.com/repos/omaraltayyan/bench/languages","stargazers_url":"https://api.github.com/repos/omaraltayyan/bench/stargazers","contributors_url":"https://api.github.com/repos/omaraltayyan/bench/contributors","subscribers_url":"https://api.github.com/repos/omaraltayyan/bench/subscribers","subscription_url":"https://api.github.com/repos/omaraltayyan/bench/subscription","commits_url":"https://api.github.com/repos/omaraltayyan/bench/commits{/sha}","git_commits_url":"https://api.github.com/repos/omaraltayyan/bench/git/commits{/sha}","comments_url":"https://api.github.com/repos/omaraltayyan/bench/comments{/number}","issue_comment_url":"https://api.github.com/repos/omaraltayyan/bench/issues/comments{/number}","contents_url":"https://api.github.com/repos/omaraltayyan/bench/contents/{+path}","compare_url":"https://api.github.com/repos/omaraltayyan/bench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omaraltayyan/bench/merges","archive_url":"https://api.github.com/repos/omaraltayyan/bench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omaraltayyan/bench/downloads","issues_url":"https://api.github.com/repos/omaraltayyan/bench/issues{/number}","pulls_url":"https://api.github.com/repos/omaraltayyan/bench/pulls{/number}","milestones_url":"https://api.github.com/repos/omaraltayyan/bench/milestones{/number}","notifications_url":"https://api.github.com/repos/omaraltayyan/bench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omaraltayyan/bench/labels{/name}","releases_url":"https://api.github.com/repos/omaraltayyan/bench/releases{/id}","deployments_url":"https://api.github.com/repos/omaraltayyan/bench/deployments","created_at":"2016-08-11T10:10:35Z","updated_at":"2016-08-11T10:10:37Z","pushed_at":"2016-08-11T10:19:41Z","git_url":"git://github.com/omaraltayyan/bench.git","ssh_url":"git@github.com:omaraltayyan/bench.git","clone_url":"https://github.com/omaraltayyan/bench.git","svn_url":"https://github.com/omaraltayyan/bench","homepage":"","size":30040,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"omaraltayyan:master","ref":"master","sha":"7f8c66d4bf74d7eedc200ed93cf90d3970f6026d","user":{"login":"omaraltayyan","id":8036586,"avatar_url":"https://avatars.githubusercontent.com/u/8036586?v=3","gravatar_id":"","url":"https://api.github.com/users/omaraltayyan","html_url":"https://github.com/omaraltayyan","followers_url":"https://api.github.com/users/omaraltayyan/followers","following_url":"https://api.github.com/users/omaraltayyan/following{/other_user}","gists_url":"https://api.github.com/users/omaraltayyan/gists{/gist_id}","starred_url":"https://api.github.com/users/omaraltayyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omaraltayyan/subscriptions","organizations_url":"https://api.github.com/users/omaraltayyan/orgs","repos_url":"https://api.github.com/users/omaraltayyan/repos","events_url":"https://api.github.com/users/omaraltayyan/events{/privacy}","received_events_url":"https://api.github.com/users/omaraltayyan/received_events","type":"User","site_admin":false},"repo":{"id":65459909,"name":"bench","full_name":"omaraltayyan/bench","owner":{"login":"omaraltayyan","id":8036586,"avatar_url":"https://avatars.githubusercontent.com/u/8036586?v=3","gravatar_id":"","url":"https://api.github.com/users/omaraltayyan","html_url":"https://github.com/omaraltayyan","followers_url":"https://api.github.com/users/omaraltayyan/followers","following_url":"https://api.github.com/users/omaraltayyan/following{/other_user}","gists_url":"https://api.github.com/users/omaraltayyan/gists{/gist_id}","starred_url":"https://api.github.com/users/omaraltayyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omaraltayyan/subscriptions","organizations_url":"https://api.github.com/users/omaraltayyan/orgs","repos_url":"https://api.github.com/users/omaraltayyan/repos","events_url":"https://api.github.com/users/omaraltayyan/events{/privacy}","received_events_url":"https://api.github.com/users/omaraltayyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omaraltayyan/bench","description":"Multi-tenant platform to manage Frappe / ERPNext","fork":true,"url":"https://api.github.com/repos/omaraltayyan/bench","forks_url":"https://api.github.com/repos/omaraltayyan/bench/forks","keys_url":"https://api.github.com/repos/omaraltayyan/bench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omaraltayyan/bench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omaraltayyan/bench/teams","hooks_url":"https://api.github.com/repos/omaraltayyan/bench/hooks","issue_events_url":"https://api.github.com/repos/omaraltayyan/bench/issues/events{/number}","events_url":"https://api.github.com/repos/omaraltayyan/bench/events","assignees_url":"https://api.github.com/repos/omaraltayyan/bench/assignees{/user}","branches_url":"https://api.github.com/repos/omaraltayyan/bench/branches{/branch}","tags_url":"https://api.github.com/repos/omaraltayyan/bench/tags","blobs_url":"https://api.github.com/repos/omaraltayyan/bench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omaraltayyan/bench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omaraltayyan/bench/git/refs{/sha}","trees_url":"https://api.github.com/repos/omaraltayyan/bench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omaraltayyan/bench/statuses/{sha}","languages_url":"https://api.github.com/repos/omaraltayyan/bench/languages","stargazers_url":"https://api.github.com/repos/omaraltayyan/bench/stargazers","contributors_url":"https://api.github.com/repos/omaraltayyan/bench/contributors","subscribers_url":"https://api.github.com/repos/omaraltayyan/bench/subscribers","subscription_url":"https://api.github.com/repos/omaraltayyan/bench/subscription","commits_url":"https://api.github.com/repos/omaraltayyan/bench/commits{/sha}","git_commits_url":"https://api.github.com/repos/omaraltayyan/bench/git/commits{/sha}","comments_url":"https://api.github.com/repos/omaraltayyan/bench/comments{/number}","issue_comment_url":"https://api.github.com/repos/omaraltayyan/bench/issues/comments{/number}","contents_url":"https://api.github.com/repos/omaraltayyan/bench/contents/{+path}","compare_url":"https://api.github.com/repos/omaraltayyan/bench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omaraltayyan/bench/merges","archive_url":"https://api.github.com/repos/omaraltayyan/bench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omaraltayyan/bench/downloads","issues_url":"https://api.github.com/repos/omaraltayyan/bench/issues{/number}","pulls_url":"https://api.github.com/repos/omaraltayyan/bench/pulls{/number}","milestones_url":"https://api.github.com/repos/omaraltayyan/bench/milestones{/number}","notifications_url":"https://api.github.com/repos/omaraltayyan/bench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omaraltayyan/bench/labels{/name}","releases_url":"https://api.github.com/repos/omaraltayyan/bench/releases{/id}","deployments_url":"https://api.github.com/repos/omaraltayyan/bench/deployments","created_at":"2016-08-11T10:10:35Z","updated_at":"2016-08-11T10:10:37Z","pushed_at":"2016-08-11T10:19:41Z","git_url":"git://github.com/omaraltayyan/bench.git","ssh_url":"git@github.com:omaraltayyan/bench.git","clone_url":"https://github.com/omaraltayyan/bench.git","svn_url":"https://github.com/omaraltayyan/bench","homepage":"","size":30040,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omaraltayyan/bench/pulls/1"},"html":{"href":"https://github.com/omaraltayyan/bench/pull/1"},"issue":{"href":"https://api.github.com/repos/omaraltayyan/bench/issues/1"},"comments":{"href":"https://api.github.com/repos/omaraltayyan/bench/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/omaraltayyan/bench/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/omaraltayyan/bench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omaraltayyan/bench/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/omaraltayyan/bench/statuses/504876cdd54733b054d18966cfb2d4c6de665449"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"omaraltayyan"}}