{"action":"created","comment":{"url":"https://api.github.com/repos/fmfi-svt/gate/pulls/comments/22588613","id":22588613,"diff_hunk":"@@ -0,0 +1,21 @@\n+\"\"\"\n+Gate server runner -- https://github.com/fmfi-svt/gate/wiki/Architecture#server\n+\"\"\"\n+\n+from .messagehandler import MessageHandler\n+import os, sys\n+import socketserver as ss","path":"gateserver/main.py","position":7,"original_position":7,"commit_id":"a188df445c8adb2ce2280a0f2899b4a13fdc194b","original_commit_id":"a188df445c8adb2ce2280a0f2899b4a13fdc194b","user":{"login":"TomiBelan","id":1022278,"avatar_url":"https://avatars.githubusercontent.com/u/1022278?v=3","gravatar_id":"","url":"https://api.github.com/users/TomiBelan","html_url":"https://github.com/TomiBelan","followers_url":"https://api.github.com/users/TomiBelan/followers","following_url":"https://api.github.com/users/TomiBelan/following{/other_user}","gists_url":"https://api.github.com/users/TomiBelan/gists{/gist_id}","starred_url":"https://api.github.com/users/TomiBelan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomiBelan/subscriptions","organizations_url":"https://api.github.com/users/TomiBelan/orgs","repos_url":"https://api.github.com/users/TomiBelan/repos","events_url":"https://api.github.com/users/TomiBelan/events{/privacy}","received_events_url":"https://api.github.com/users/TomiBelan/received_events","type":"User","site_admin":false},"body":"Vec vkusu: az tak sa mi nepaci `ss`, bud pouzi plny nazov, alebo rovno from importni ThreadingMixIn a UDPServer.\r\nSystemove importy radsej nech su pred projektovymi.","created_at":"2015-01-07T14:38:22Z","updated_at":"2015-01-07T14:38:22Z","html_url":"https://github.com/fmfi-svt/gate/pull/1#discussion_r22588613","pull_request_url":"https://api.github.com/repos/fmfi-svt/gate/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/fmfi-svt/gate/pulls/comments/22588613"},"html":{"href":"https://github.com/fmfi-svt/gate/pull/1#discussion_r22588613"},"pull_request":{"href":"https://api.github.com/repos/fmfi-svt/gate/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/fmfi-svt/gate/pulls/1","id":26828979,"html_url":"https://github.com/fmfi-svt/gate/pull/1","diff_url":"https://github.com/fmfi-svt/gate/pull/1.diff","patch_url":"https://github.com/fmfi-svt/gate/pull/1.patch","issue_url":"https://api.github.com/repos/fmfi-svt/gate/issues/1","number":1,"state":"open","locked":false,"title":"Server/init project","user":{"login":"AnotherKamila","id":963313,"avatar_url":"https://avatars.githubusercontent.com/u/963313?v=3","gravatar_id":"","url":"https://api.github.com/users/AnotherKamila","html_url":"https://github.com/AnotherKamila","followers_url":"https://api.github.com/users/AnotherKamila/followers","following_url":"https://api.github.com/users/AnotherKamila/following{/other_user}","gists_url":"https://api.github.com/users/AnotherKamila/gists{/gist_id}","starred_url":"https://api.github.com/users/AnotherKamila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnotherKamila/subscriptions","organizations_url":"https://api.github.com/users/AnotherKamila/orgs","repos_url":"https://api.github.com/users/AnotherKamila/repos","events_url":"https://api.github.com/users/AnotherKamila/events{/privacy}","received_events_url":"https://api.github.com/users/AnotherKamila/received_events","type":"User","site_admin":false},"body":"A simple echo server -- the project's skeleton.","created_at":"2015-01-05T15:11:08Z","updated_at":"2015-01-07T14:38:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e355844b1ed3be5c7bbf3da03a5b617c5e5f40b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fmfi-svt/gate/pulls/1/commits","review_comments_url":"https://api.github.com/repos/fmfi-svt/gate/pulls/1/comments","review_comment_url":"https://api.github.com/repos/fmfi-svt/gate/pulls/comments/{number}","comments_url":"https://api.github.com/repos/fmfi-svt/gate/issues/1/comments","statuses_url":"https://api.github.com/repos/fmfi-svt/gate/statuses/a188df445c8adb2ce2280a0f2899b4a13fdc194b","head":{"label":"fmfi-svt:server/init-project","ref":"server/init-project","sha":"a188df445c8adb2ce2280a0f2899b4a13fdc194b","user":{"login":"fmfi-svt","id":1397617,"avatar_url":"https://avatars.githubusercontent.com/u/1397617?v=3","gravatar_id":"","url":"https://api.github.com/users/fmfi-svt","html_url":"https://github.com/fmfi-svt","followers_url":"https://api.github.com/users/fmfi-svt/followers","following_url":"https://api.github.com/users/fmfi-svt/following{/other_user}","gists_url":"https://api.github.com/users/fmfi-svt/gists{/gist_id}","starred_url":"https://api.github.com/users/fmfi-svt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmfi-svt/subscriptions","organizations_url":"https://api.github.com/users/fmfi-svt/orgs","repos_url":"https://api.github.com/users/fmfi-svt/repos","events_url":"https://api.github.com/users/fmfi-svt/events{/privacy}","received_events_url":"https://api.github.com/users/fmfi-svt/received_events","type":"Organization","site_admin":false},"repo":{"id":25985279,"name":"gate","full_name":"fmfi-svt/gate","owner":{"login":"fmfi-svt","id":1397617,"avatar_url":"https://avatars.githubusercontent.com/u/1397617?v=3","gravatar_id":"","url":"https://api.github.com/users/fmfi-svt","html_url":"https://github.com/fmfi-svt","followers_url":"https://api.github.com/users/fmfi-svt/followers","following_url":"https://api.github.com/users/fmfi-svt/following{/other_user}","gists_url":"https://api.github.com/users/fmfi-svt/gists{/gist_id}","starred_url":"https://api.github.com/users/fmfi-svt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmfi-svt/subscriptions","organizations_url":"https://api.github.com/users/fmfi-svt/orgs","repos_url":"https://api.github.com/users/fmfi-svt/repos","events_url":"https://api.github.com/users/fmfi-svt/events{/privacy}","received_events_url":"https://api.github.com/users/fmfi-svt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fmfi-svt/gate","description":"","fork":false,"url":"https://api.github.com/repos/fmfi-svt/gate","forks_url":"https://api.github.com/repos/fmfi-svt/gate/forks","keys_url":"https://api.github.com/repos/fmfi-svt/gate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmfi-svt/gate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmfi-svt/gate/teams","hooks_url":"https://api.github.com/repos/fmfi-svt/gate/hooks","issue_events_url":"https://api.github.com/repos/fmfi-svt/gate/issues/events{/number}","events_url":"https://api.github.com/repos/fmfi-svt/gate/events","assignees_url":"https://api.github.com/repos/fmfi-svt/gate/assignees{/user}","branches_url":"https://api.github.com/repos/fmfi-svt/gate/branches{/branch}","tags_url":"https://api.github.com/repos/fmfi-svt/gate/tags","blobs_url":"https://api.github.com/repos/fmfi-svt/gate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmfi-svt/gate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmfi-svt/gate/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmfi-svt/gate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmfi-svt/gate/statuses/{sha}","languages_url":"https://api.github.com/repos/fmfi-svt/gate/languages","stargazers_url":"https://api.github.com/repos/fmfi-svt/gate/stargazers","contributors_url":"https://api.github.com/repos/fmfi-svt/gate/contributors","subscribers_url":"https://api.github.com/repos/fmfi-svt/gate/subscribers","subscription_url":"https://api.github.com/repos/fmfi-svt/gate/subscription","commits_url":"https://api.github.com/repos/fmfi-svt/gate/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmfi-svt/gate/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmfi-svt/gate/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmfi-svt/gate/issues/comments/{number}","contents_url":"https://api.github.com/repos/fmfi-svt/gate/contents/{+path}","compare_url":"https://api.github.com/repos/fmfi-svt/gate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmfi-svt/gate/merges","archive_url":"https://api.github.com/repos/fmfi-svt/gate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmfi-svt/gate/downloads","issues_url":"https://api.github.com/repos/fmfi-svt/gate/issues{/number}","pulls_url":"https://api.github.com/repos/fmfi-svt/gate/pulls{/number}","milestones_url":"https://api.github.com/repos/fmfi-svt/gate/milestones{/number}","notifications_url":"https://api.github.com/repos/fmfi-svt/gate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmfi-svt/gate/labels{/name}","releases_url":"https://api.github.com/repos/fmfi-svt/gate/releases{/id}","created_at":"2014-10-30T18:56:11Z","updated_at":"2014-10-30T18:56:11Z","pushed_at":"2015-01-07T14:24:29Z","git_url":"git://github.com/fmfi-svt/gate.git","ssh_url":"git@github.com:fmfi-svt/gate.git","clone_url":"https://github.com/fmfi-svt/gate.git","svn_url":"https://github.com/fmfi-svt/gate","homepage":null,"size":268,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"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":"fmfi-svt:server/master","ref":"server/master","sha":"56c9b1afcc4d142d7ea2a97ae17c57774631292a","user":{"login":"fmfi-svt","id":1397617,"avatar_url":"https://avatars.githubusercontent.com/u/1397617?v=3","gravatar_id":"","url":"https://api.github.com/users/fmfi-svt","html_url":"https://github.com/fmfi-svt","followers_url":"https://api.github.com/users/fmfi-svt/followers","following_url":"https://api.github.com/users/fmfi-svt/following{/other_user}","gists_url":"https://api.github.com/users/fmfi-svt/gists{/gist_id}","starred_url":"https://api.github.com/users/fmfi-svt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmfi-svt/subscriptions","organizations_url":"https://api.github.com/users/fmfi-svt/orgs","repos_url":"https://api.github.com/users/fmfi-svt/repos","events_url":"https://api.github.com/users/fmfi-svt/events{/privacy}","received_events_url":"https://api.github.com/users/fmfi-svt/received_events","type":"Organization","site_admin":false},"repo":{"id":25985279,"name":"gate","full_name":"fmfi-svt/gate","owner":{"login":"fmfi-svt","id":1397617,"avatar_url":"https://avatars.githubusercontent.com/u/1397617?v=3","gravatar_id":"","url":"https://api.github.com/users/fmfi-svt","html_url":"https://github.com/fmfi-svt","followers_url":"https://api.github.com/users/fmfi-svt/followers","following_url":"https://api.github.com/users/fmfi-svt/following{/other_user}","gists_url":"https://api.github.com/users/fmfi-svt/gists{/gist_id}","starred_url":"https://api.github.com/users/fmfi-svt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmfi-svt/subscriptions","organizations_url":"https://api.github.com/users/fmfi-svt/orgs","repos_url":"https://api.github.com/users/fmfi-svt/repos","events_url":"https://api.github.com/users/fmfi-svt/events{/privacy}","received_events_url":"https://api.github.com/users/fmfi-svt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fmfi-svt/gate","description":"","fork":false,"url":"https://api.github.com/repos/fmfi-svt/gate","forks_url":"https://api.github.com/repos/fmfi-svt/gate/forks","keys_url":"https://api.github.com/repos/fmfi-svt/gate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmfi-svt/gate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmfi-svt/gate/teams","hooks_url":"https://api.github.com/repos/fmfi-svt/gate/hooks","issue_events_url":"https://api.github.com/repos/fmfi-svt/gate/issues/events{/number}","events_url":"https://api.github.com/repos/fmfi-svt/gate/events","assignees_url":"https://api.github.com/repos/fmfi-svt/gate/assignees{/user}","branches_url":"https://api.github.com/repos/fmfi-svt/gate/branches{/branch}","tags_url":"https://api.github.com/repos/fmfi-svt/gate/tags","blobs_url":"https://api.github.com/repos/fmfi-svt/gate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmfi-svt/gate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmfi-svt/gate/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmfi-svt/gate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmfi-svt/gate/statuses/{sha}","languages_url":"https://api.github.com/repos/fmfi-svt/gate/languages","stargazers_url":"https://api.github.com/repos/fmfi-svt/gate/stargazers","contributors_url":"https://api.github.com/repos/fmfi-svt/gate/contributors","subscribers_url":"https://api.github.com/repos/fmfi-svt/gate/subscribers","subscription_url":"https://api.github.com/repos/fmfi-svt/gate/subscription","commits_url":"https://api.github.com/repos/fmfi-svt/gate/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmfi-svt/gate/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmfi-svt/gate/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmfi-svt/gate/issues/comments/{number}","contents_url":"https://api.github.com/repos/fmfi-svt/gate/contents/{+path}","compare_url":"https://api.github.com/repos/fmfi-svt/gate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmfi-svt/gate/merges","archive_url":"https://api.github.com/repos/fmfi-svt/gate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmfi-svt/gate/downloads","issues_url":"https://api.github.com/repos/fmfi-svt/gate/issues{/number}","pulls_url":"https://api.github.com/repos/fmfi-svt/gate/pulls{/number}","milestones_url":"https://api.github.com/repos/fmfi-svt/gate/milestones{/number}","notifications_url":"https://api.github.com/repos/fmfi-svt/gate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmfi-svt/gate/labels{/name}","releases_url":"https://api.github.com/repos/fmfi-svt/gate/releases{/id}","created_at":"2014-10-30T18:56:11Z","updated_at":"2014-10-30T18:56:11Z","pushed_at":"2015-01-07T14:24:29Z","git_url":"git://github.com/fmfi-svt/gate.git","ssh_url":"git@github.com:fmfi-svt/gate.git","clone_url":"https://github.com/fmfi-svt/gate.git","svn_url":"https://github.com/fmfi-svt/gate","homepage":null,"size":268,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"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/fmfi-svt/gate/pulls/1"},"html":{"href":"https://github.com/fmfi-svt/gate/pull/1"},"issue":{"href":"https://api.github.com/repos/fmfi-svt/gate/issues/1"},"comments":{"href":"https://api.github.com/repos/fmfi-svt/gate/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/fmfi-svt/gate/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/fmfi-svt/gate/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/fmfi-svt/gate/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/fmfi-svt/gate/statuses/a188df445c8adb2ce2280a0f2899b4a13fdc194b"}}}}