{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/yaydoc/pulls/comments/124305356","pull_request_review_id":46581426,"id":124305356,"diff_hunk":"@@ -0,0 +1,51 @@\n+#!/bin/sh\n+\n+while getopts e:h:n:u: option\n+do\n+ case \"${option}\"\n+ in\n+ e) EMAIL=${OPTARG};;\n+ h) API_KEY=${OPTARG};;\n+ n) APP_NAME=${OPTARG};;\n+ u) UNIQUE_ID=${OPTARG};;\n+ esac\n+done\n+\n+export HEROKU_API_KEY=$API_KEY\n+\n+BASE=$(pwd)\n+\n+cd temp/$EMAIL/${UNIQUE_ID}_preview\n+\n+mkdir -p app\n+cd app\n+\n+curl https://nodejs.org/dist/v6.11.0/node-v6.11.0-linux-x64.tar.gz | tar xzv > /dev/null\n+\n+cp $BASE/web.js .\n+rsync -av --progress ../ . --exclude app\n+\n+cd ..\n+tar czfv slug.tgz ./app > /dev/null\n+\n+heroku create $APP_NAME\n+\n+Arr=($(curl -u \":$API_KEY\" -X POST \\\n+-H 'Content-Type:application/json' \\\n+-H 'Accept: application/vnd.heroku+json; version=3' \\\n+-d '{\"process_types\": {\"web\":\"node-v6.11.0-linux-x64/bin/node web.js\"}}' \\\n+-n https://api.heroku.com/apps/${APP_NAME}/slugs | \\\n+python3 -c \"import sys, json; obj=json.load(sys.stdin); print(obj['blob']['url'] + '\\n' +obj['id'])\"))","path":"heroku_deploy.sh","position":38,"original_position":38,"commit_id":"a00336d3336bc492d610f44fe09f378eb6eb5de5","original_commit_id":"a00336d3336bc492d610f44fe09f378eb6eb5de5","user":{"login":"pri22296","id":11555869,"avatar_url":"https://avatars0.githubusercontent.com/u/11555869?v=3","gravatar_id":"","url":"https://api.github.com/users/pri22296","html_url":"https://github.com/pri22296","followers_url":"https://api.github.com/users/pri22296/followers","following_url":"https://api.github.com/users/pri22296/following{/other_user}","gists_url":"https://api.github.com/users/pri22296/gists{/gist_id}","starred_url":"https://api.github.com/users/pri22296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pri22296/subscriptions","organizations_url":"https://api.github.com/users/pri22296/orgs","repos_url":"https://api.github.com/users/pri22296/repos","events_url":"https://api.github.com/users/pri22296/events{/privacy}","received_events_url":"https://api.github.com/users/pri22296/received_events","type":"User","site_admin":false},"body":"any specific reason to use python3?","created_at":"2017-06-27T15:16:06Z","updated_at":"2017-06-27T15:21:15Z","html_url":"https://github.com/fossasia/yaydoc/pull/193#discussion_r124305356","pull_request_url":"https://api.github.com/repos/fossasia/yaydoc/pulls/193","_links":{"self":{"href":"https://api.github.com/repos/fossasia/yaydoc/pulls/comments/124305356"},"html":{"href":"https://github.com/fossasia/yaydoc/pull/193#discussion_r124305356"},"pull_request":{"href":"https://api.github.com/repos/fossasia/yaydoc/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/yaydoc/pulls/193","id":127694657,"html_url":"https://github.com/fossasia/yaydoc/pull/193","diff_url":"https://github.com/fossasia/yaydoc/pull/193.diff","patch_url":"https://github.com/fossasia/yaydoc/pull/193.patch","issue_url":"https://api.github.com/repos/fossasia/yaydoc/issues/193","number":193,"state":"open","locked":false,"title":"Fixes #74 Enable deployment of docs to Heroku","user":{"login":"imujjwal96","id":8245662,"avatar_url":"https://avatars3.githubusercontent.com/u/8245662?v=3","gravatar_id":"","url":"https://api.github.com/users/imujjwal96","html_url":"https://github.com/imujjwal96","followers_url":"https://api.github.com/users/imujjwal96/followers","following_url":"https://api.github.com/users/imujjwal96/following{/other_user}","gists_url":"https://api.github.com/users/imujjwal96/gists{/gist_id}","starred_url":"https://api.github.com/users/imujjwal96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imujjwal96/subscriptions","organizations_url":"https://api.github.com/users/imujjwal96/orgs","repos_url":"https://api.github.com/users/imujjwal96/repos","events_url":"https://api.github.com/users/imujjwal96/events{/privacy}","received_events_url":"https://api.github.com/users/imujjwal96/received_events","type":"User","site_admin":false},"body":"<!--\r\nThanks for submitting a change to yaydoc!\r\n\r\nTo make it possible for us to get your change reviewed and merged please fill out below information carefully.\r\n\r\n--\r\n## Related Issue\r\n<!--- This project only accepts pull requests related to open issues -->\r\n<!--- If suggesting a new feature or change, please discuss it in an issue first -->\r\n<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->\r\n<!--- Please link to the issue here: -->\r\nIssue: #74 \r\n\r\n## Screenshots (if appropriate):\r\n![screenshot_20170627_185337](https://user-images.githubusercontent.com/8245662/27589838-6f35e83c-5b6a-11e7-9ae8-ff0326a4a53e.png)\r\n![screenshot_20170627_185440](https://user-images.githubusercontent.com/8245662/27589850-7664675a-5b6a-11e7-8864-47413801ee5e.png)\r\n![screenshot_20170627_185529](https://user-images.githubusercontent.com/8245662/27589857-7b0b882e-5b6a-11e7-95dd-270fd175dbca.png)\r\n\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix \r\n- [x] New feature\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n- [x] I have read the [Contribution & Best practices Guide](https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia) and my PR follows them.\r\n- [x] There is a corresponding issue for this pull request.\r\n- [x] Mentioned the Issue number in the pull request commit message `Fixes #<number> commit message`\r\n- [x] There is only one commit per issue.\r\n","created_at":"2017-06-27T13:30:50Z","updated_at":"2017-06-27T15:21:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"397418a76e3ceabdac956be76b0bd17646087999","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sch00lb0y","id":10010900,"avatar_url":"https://avatars0.githubusercontent.com/u/10010900?v=3","gravatar_id":"","url":"https://api.github.com/users/sch00lb0y","html_url":"https://github.com/sch00lb0y","followers_url":"https://api.github.com/users/sch00lb0y/followers","following_url":"https://api.github.com/users/sch00lb0y/following{/other_user}","gists_url":"https://api.github.com/users/sch00lb0y/gists{/gist_id}","starred_url":"https://api.github.com/users/sch00lb0y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sch00lb0y/subscriptions","organizations_url":"https://api.github.com/users/sch00lb0y/orgs","repos_url":"https://api.github.com/users/sch00lb0y/repos","events_url":"https://api.github.com/users/sch00lb0y/events{/privacy}","received_events_url":"https://api.github.com/users/sch00lb0y/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/yaydoc/pulls/193/commits","review_comments_url":"https://api.github.com/repos/fossasia/yaydoc/pulls/193/comments","review_comment_url":"https://api.github.com/repos/fossasia/yaydoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/yaydoc/issues/193/comments","statuses_url":"https://api.github.com/repos/fossasia/yaydoc/statuses/a00336d3336bc492d610f44fe09f378eb6eb5de5","head":{"label":"imujjwal96:issue74","ref":"issue74","sha":"a00336d3336bc492d610f44fe09f378eb6eb5de5","user":{"login":"imujjwal96","id":8245662,"avatar_url":"https://avatars3.githubusercontent.com/u/8245662?v=3","gravatar_id":"","url":"https://api.github.com/users/imujjwal96","html_url":"https://github.com/imujjwal96","followers_url":"https://api.github.com/users/imujjwal96/followers","following_url":"https://api.github.com/users/imujjwal96/following{/other_user}","gists_url":"https://api.github.com/users/imujjwal96/gists{/gist_id}","starred_url":"https://api.github.com/users/imujjwal96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imujjwal96/subscriptions","organizations_url":"https://api.github.com/users/imujjwal96/orgs","repos_url":"https://api.github.com/users/imujjwal96/repos","events_url":"https://api.github.com/users/imujjwal96/events{/privacy}","received_events_url":"https://api.github.com/users/imujjwal96/received_events","type":"User","site_admin":false},"repo":{"id":93080345,"name":"yaydoc","full_name":"imujjwal96/yaydoc","owner":{"login":"imujjwal96","id":8245662,"avatar_url":"https://avatars3.githubusercontent.com/u/8245662?v=3","gravatar_id":"","url":"https://api.github.com/users/imujjwal96","html_url":"https://github.com/imujjwal96","followers_url":"https://api.github.com/users/imujjwal96/followers","following_url":"https://api.github.com/users/imujjwal96/following{/other_user}","gists_url":"https://api.github.com/users/imujjwal96/gists{/gist_id}","starred_url":"https://api.github.com/users/imujjwal96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imujjwal96/subscriptions","organizations_url":"https://api.github.com/users/imujjwal96/orgs","repos_url":"https://api.github.com/users/imujjwal96/repos","events_url":"https://api.github.com/users/imujjwal96/events{/privacy}","received_events_url":"https://api.github.com/users/imujjwal96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imujjwal96/yaydoc","description":"Docs! Yay!","fork":true,"url":"https://api.github.com/repos/imujjwal96/yaydoc","forks_url":"https://api.github.com/repos/imujjwal96/yaydoc/forks","keys_url":"https://api.github.com/repos/imujjwal96/yaydoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imujjwal96/yaydoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imujjwal96/yaydoc/teams","hooks_url":"https://api.github.com/repos/imujjwal96/yaydoc/hooks","issue_events_url":"https://api.github.com/repos/imujjwal96/yaydoc/issues/events{/number}","events_url":"https://api.github.com/repos/imujjwal96/yaydoc/events","assignees_url":"https://api.github.com/repos/imujjwal96/yaydoc/assignees{/user}","branches_url":"https://api.github.com/repos/imujjwal96/yaydoc/branches{/branch}","tags_url":"https://api.github.com/repos/imujjwal96/yaydoc/tags","blobs_url":"https://api.github.com/repos/imujjwal96/yaydoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imujjwal96/yaydoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imujjwal96/yaydoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/imujjwal96/yaydoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imujjwal96/yaydoc/statuses/{sha}","languages_url":"https://api.github.com/repos/imujjwal96/yaydoc/languages","stargazers_url":"https://api.github.com/repos/imujjwal96/yaydoc/stargazers","contributors_url":"https://api.github.com/repos/imujjwal96/yaydoc/contributors","subscribers_url":"https://api.github.com/repos/imujjwal96/yaydoc/subscribers","subscription_url":"https://api.github.com/repos/imujjwal96/yaydoc/subscription","commits_url":"https://api.github.com/repos/imujjwal96/yaydoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/imujjwal96/yaydoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/imujjwal96/yaydoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/imujjwal96/yaydoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/imujjwal96/yaydoc/contents/{+path}","compare_url":"https://api.github.com/repos/imujjwal96/yaydoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imujjwal96/yaydoc/merges","archive_url":"https://api.github.com/repos/imujjwal96/yaydoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imujjwal96/yaydoc/downloads","issues_url":"https://api.github.com/repos/imujjwal96/yaydoc/issues{/number}","pulls_url":"https://api.github.com/repos/imujjwal96/yaydoc/pulls{/number}","milestones_url":"https://api.github.com/repos/imujjwal96/yaydoc/milestones{/number}","notifications_url":"https://api.github.com/repos/imujjwal96/yaydoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imujjwal96/yaydoc/labels{/name}","releases_url":"https://api.github.com/repos/imujjwal96/yaydoc/releases{/id}","deployments_url":"https://api.github.com/repos/imujjwal96/yaydoc/deployments","created_at":"2017-06-01T17:01:17Z","updated_at":"2017-06-01T17:01:18Z","pushed_at":"2017-06-27T13:40:03Z","git_url":"git://github.com/imujjwal96/yaydoc.git","ssh_url":"git@github.com:imujjwal96/yaydoc.git","clone_url":"https://github.com/imujjwal96/yaydoc.git","svn_url":"https://github.com/imujjwal96/yaydoc","homepage":null,"size":465,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"fossasia:master","ref":"master","sha":"1b3196ce36c4f5c9bb76bae8b5efa252cd9781fc","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars0.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":90524814,"name":"yaydoc","full_name":"fossasia/yaydoc","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars0.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/yaydoc","description":"Docs! Yay!","fork":false,"url":"https://api.github.com/repos/fossasia/yaydoc","forks_url":"https://api.github.com/repos/fossasia/yaydoc/forks","keys_url":"https://api.github.com/repos/fossasia/yaydoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/yaydoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/yaydoc/teams","hooks_url":"https://api.github.com/repos/fossasia/yaydoc/hooks","issue_events_url":"https://api.github.com/repos/fossasia/yaydoc/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/yaydoc/events","assignees_url":"https://api.github.com/repos/fossasia/yaydoc/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/yaydoc/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/yaydoc/tags","blobs_url":"https://api.github.com/repos/fossasia/yaydoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/yaydoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/yaydoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/yaydoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/yaydoc/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/yaydoc/languages","stargazers_url":"https://api.github.com/repos/fossasia/yaydoc/stargazers","contributors_url":"https://api.github.com/repos/fossasia/yaydoc/contributors","subscribers_url":"https://api.github.com/repos/fossasia/yaydoc/subscribers","subscription_url":"https://api.github.com/repos/fossasia/yaydoc/subscription","commits_url":"https://api.github.com/repos/fossasia/yaydoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/yaydoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/yaydoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/yaydoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/yaydoc/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/yaydoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/yaydoc/merges","archive_url":"https://api.github.com/repos/fossasia/yaydoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/yaydoc/downloads","issues_url":"https://api.github.com/repos/fossasia/yaydoc/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/yaydoc/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/yaydoc/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/yaydoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/yaydoc/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/yaydoc/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/yaydoc/deployments","created_at":"2017-05-07T10:26:43Z","updated_at":"2017-06-27T12:52:52Z","pushed_at":"2017-06-27T15:06:01Z","git_url":"git://github.com/fossasia/yaydoc.git","ssh_url":"git@github.com:fossasia/yaydoc.git","clone_url":"https://github.com/fossasia/yaydoc.git","svn_url":"https://github.com/fossasia/yaydoc","homepage":"http://yaydoc.fossasia.org","size":622,"stargazers_count":6,"watchers_count":6,"language":"CSS","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/yaydoc/pulls/193"},"html":{"href":"https://github.com/fossasia/yaydoc/pull/193"},"issue":{"href":"https://api.github.com/repos/fossasia/yaydoc/issues/193"},"comments":{"href":"https://api.github.com/repos/fossasia/yaydoc/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/yaydoc/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/yaydoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/yaydoc/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/yaydoc/statuses/a00336d3336bc492d610f44fe09f378eb6eb5de5"}}}}
{"actor":{"display_login":"pri22296"}}