{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/5","id":63517029,"html_url":"https://github.com/pythonkr/pyconapac-2016/pull/5","diff_url":"https://github.com/pythonkr/pyconapac-2016/pull/5.diff","patch_url":"https://github.com/pythonkr/pyconapac-2016/pull/5.patch","issue_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/issues/5","number":5,"state":"open","locked":false,"title":"Deployment script","user":{"login":"woojing","id":1728928,"avatar_url":"https://avatars.githubusercontent.com/u/1728928?v=3","gravatar_id":"","url":"https://api.github.com/users/woojing","html_url":"https://github.com/woojing","followers_url":"https://api.github.com/users/woojing/followers","following_url":"https://api.github.com/users/woojing/following{/other_user}","gists_url":"https://api.github.com/users/woojing/gists{/gist_id}","starred_url":"https://api.github.com/users/woojing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woojing/subscriptions","organizations_url":"https://api.github.com/users/woojing/orgs","repos_url":"https://api.github.com/users/woojing/repos","events_url":"https://api.github.com/users/woojing/events{/privacy}","received_events_url":"https://api.github.com/users/woojing/received_events","type":"User","site_admin":false},"body":"환경변수에 아래 세 값을 설정해야합니다.\r\n`PYCON_HOST`: 배포할 호스트\r\n`PYCON_PORT`: SSH 포트\r\n`PYCON_USER`: SSH 유저명\r\n\r\nfabric이 설치되어있는것을 전제로 하고 있습니다.\r\nfabric 설치 `apt-get install fabric`\r\n\r\n기본값은 dev.pycon.kr에 현재 워킹카피의 커밋을 배포 하도록 되어있습니다.\r\nex) `fab deploy` -> dev.pycon.kr 에 현재 sha1을 배포\r\n\r\nwww에 배포시 매개변수를 주어야 합니다.\r\nex) `fab deploy:target=www` -> www.pycon.kr에 현재 sha1을 배포\r\n\r\n특정 커밋을 배포할때에는 매개변수를 주어야합니다.\r\nex) `fab deploy:target=dev,sha1=2389fdasf` -> dev.pycon.kr에 2389fdasf 커밋을 배포\r\n\r\n","created_at":"2016-03-21T02:37:26Z","updated_at":"2016-03-21T02:37:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/5/commits","review_comments_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/5/comments","review_comment_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/issues/5/comments","statuses_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/statuses/59b50c93da48598bafca45b4aa8e0186e68583ba","head":{"label":"woojing:deployment-script","ref":"deployment-script","sha":"59b50c93da48598bafca45b4aa8e0186e68583ba","user":{"login":"woojing","id":1728928,"avatar_url":"https://avatars.githubusercontent.com/u/1728928?v=3","gravatar_id":"","url":"https://api.github.com/users/woojing","html_url":"https://github.com/woojing","followers_url":"https://api.github.com/users/woojing/followers","following_url":"https://api.github.com/users/woojing/following{/other_user}","gists_url":"https://api.github.com/users/woojing/gists{/gist_id}","starred_url":"https://api.github.com/users/woojing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woojing/subscriptions","organizations_url":"https://api.github.com/users/woojing/orgs","repos_url":"https://api.github.com/users/woojing/repos","events_url":"https://api.github.com/users/woojing/events{/privacy}","received_events_url":"https://api.github.com/users/woojing/received_events","type":"User","site_admin":false},"repo":{"id":54296256,"name":"pyconapac-2016","full_name":"woojing/pyconapac-2016","owner":{"login":"woojing","id":1728928,"avatar_url":"https://avatars.githubusercontent.com/u/1728928?v=3","gravatar_id":"","url":"https://api.github.com/users/woojing","html_url":"https://github.com/woojing","followers_url":"https://api.github.com/users/woojing/followers","following_url":"https://api.github.com/users/woojing/following{/other_user}","gists_url":"https://api.github.com/users/woojing/gists{/gist_id}","starred_url":"https://api.github.com/users/woojing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woojing/subscriptions","organizations_url":"https://api.github.com/users/woojing/orgs","repos_url":"https://api.github.com/users/woojing/repos","events_url":"https://api.github.com/users/woojing/events{/privacy}","received_events_url":"https://api.github.com/users/woojing/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/woojing/pyconapac-2016","description":"","fork":true,"url":"https://api.github.com/repos/woojing/pyconapac-2016","forks_url":"https://api.github.com/repos/woojing/pyconapac-2016/forks","keys_url":"https://api.github.com/repos/woojing/pyconapac-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woojing/pyconapac-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woojing/pyconapac-2016/teams","hooks_url":"https://api.github.com/repos/woojing/pyconapac-2016/hooks","issue_events_url":"https://api.github.com/repos/woojing/pyconapac-2016/issues/events{/number}","events_url":"https://api.github.com/repos/woojing/pyconapac-2016/events","assignees_url":"https://api.github.com/repos/woojing/pyconapac-2016/assignees{/user}","branches_url":"https://api.github.com/repos/woojing/pyconapac-2016/branches{/branch}","tags_url":"https://api.github.com/repos/woojing/pyconapac-2016/tags","blobs_url":"https://api.github.com/repos/woojing/pyconapac-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woojing/pyconapac-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woojing/pyconapac-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/woojing/pyconapac-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woojing/pyconapac-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/woojing/pyconapac-2016/languages","stargazers_url":"https://api.github.com/repos/woojing/pyconapac-2016/stargazers","contributors_url":"https://api.github.com/repos/woojing/pyconapac-2016/contributors","subscribers_url":"https://api.github.com/repos/woojing/pyconapac-2016/subscribers","subscription_url":"https://api.github.com/repos/woojing/pyconapac-2016/subscription","commits_url":"https://api.github.com/repos/woojing/pyconapac-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/woojing/pyconapac-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/woojing/pyconapac-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/woojing/pyconapac-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/woojing/pyconapac-2016/contents/{+path}","compare_url":"https://api.github.com/repos/woojing/pyconapac-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woojing/pyconapac-2016/merges","archive_url":"https://api.github.com/repos/woojing/pyconapac-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woojing/pyconapac-2016/downloads","issues_url":"https://api.github.com/repos/woojing/pyconapac-2016/issues{/number}","pulls_url":"https://api.github.com/repos/woojing/pyconapac-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/woojing/pyconapac-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/woojing/pyconapac-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woojing/pyconapac-2016/labels{/name}","releases_url":"https://api.github.com/repos/woojing/pyconapac-2016/releases{/id}","deployments_url":"https://api.github.com/repos/woojing/pyconapac-2016/deployments","created_at":"2016-03-20T02:11:52Z","updated_at":"2016-03-20T02:11:53Z","pushed_at":"2016-03-21T02:31:57Z","git_url":"git://github.com/woojing/pyconapac-2016.git","ssh_url":"git@github.com:woojing/pyconapac-2016.git","clone_url":"https://github.com/woojing/pyconapac-2016.git","svn_url":"https://github.com/woojing/pyconapac-2016","homepage":null,"size":324,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pythonkr:master","ref":"master","sha":"18fff19d638866bad427d875a1c61e8e39addcd0","user":{"login":"pythonkr","id":3192767,"avatar_url":"https://avatars.githubusercontent.com/u/3192767?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonkr","html_url":"https://github.com/pythonkr","followers_url":"https://api.github.com/users/pythonkr/followers","following_url":"https://api.github.com/users/pythonkr/following{/other_user}","gists_url":"https://api.github.com/users/pythonkr/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonkr/subscriptions","organizations_url":"https://api.github.com/users/pythonkr/orgs","repos_url":"https://api.github.com/users/pythonkr/repos","events_url":"https://api.github.com/users/pythonkr/events{/privacy}","received_events_url":"https://api.github.com/users/pythonkr/received_events","type":"Organization","site_admin":false},"repo":{"id":52463436,"name":"pyconapac-2016","full_name":"pythonkr/pyconapac-2016","owner":{"login":"pythonkr","id":3192767,"avatar_url":"https://avatars.githubusercontent.com/u/3192767?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonkr","html_url":"https://github.com/pythonkr","followers_url":"https://api.github.com/users/pythonkr/followers","following_url":"https://api.github.com/users/pythonkr/following{/other_user}","gists_url":"https://api.github.com/users/pythonkr/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonkr/subscriptions","organizations_url":"https://api.github.com/users/pythonkr/orgs","repos_url":"https://api.github.com/users/pythonkr/repos","events_url":"https://api.github.com/users/pythonkr/events{/privacy}","received_events_url":"https://api.github.com/users/pythonkr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pythonkr/pyconapac-2016","description":"","fork":false,"url":"https://api.github.com/repos/pythonkr/pyconapac-2016","forks_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/forks","keys_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/teams","hooks_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/hooks","issue_events_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/issues/events{/number}","events_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/events","assignees_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/assignees{/user}","branches_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/branches{/branch}","tags_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/tags","blobs_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/languages","stargazers_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/stargazers","contributors_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/contributors","subscribers_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/subscribers","subscription_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/subscription","commits_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/contents/{+path}","compare_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/merges","archive_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/downloads","issues_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/issues{/number}","pulls_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/labels{/name}","releases_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/releases{/id}","deployments_url":"https://api.github.com/repos/pythonkr/pyconapac-2016/deployments","created_at":"2016-02-24T18:06:47Z","updated_at":"2016-03-14T06:31:03Z","pushed_at":"2016-02-29T14:44:04Z","git_url":"git://github.com/pythonkr/pyconapac-2016.git","ssh_url":"git@github.com:pythonkr/pyconapac-2016.git","clone_url":"https://github.com/pythonkr/pyconapac-2016.git","svn_url":"https://github.com/pythonkr/pyconapac-2016","homepage":null,"size":345,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/5"},"html":{"href":"https://github.com/pythonkr/pyconapac-2016/pull/5"},"issue":{"href":"https://api.github.com/repos/pythonkr/pyconapac-2016/issues/5"},"comments":{"href":"https://api.github.com/repos/pythonkr/pyconapac-2016/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pythonkr/pyconapac-2016/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/pythonkr/pyconapac-2016/statuses/59b50c93da48598bafca45b4aa8e0186e68583ba"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":30,"deletions":0,"changed_files":1}}