{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/102297260","pull_request_review_id":23050219,"id":102297260,"diff_hunk":"@@ -0,0 +1,214 @@\n+'use strict';\n+var distHelper = require('./dist.js');\n+var fs = require('fs');\n+var Github = require('github');\n+var gh = new Github();\n+var async = require('async');\n+\n+function encode(file) {\n+  var bitmap = fs.readFileSync(file);\n+  return new Buffer(bitmap).toString('base64');\n+}\n+\n+var Gemfile = __dirname + '/Gemfile';\n+\n+var walk = function(dir, done) {\n+  var results = [];\n+  fs.readdir(dir, function(err, list) {\n+    if (err) return done(err);","path":"src/backend/deploy.js","position":18,"original_position":18,"commit_id":"628e9404ecc574b178bfbcf64b697bdfc94e5a5f","original_commit_id":"628e9404ecc574b178bfbcf64b697bdfc94e5a5f","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Expected { after 'if' condition. (curly)](https://www.codacy.com/app/dev_19/open-event-webapp/pullRequest?prid=523441)","created_at":"2017-02-21T19:36:24Z","updated_at":"2017-02-21T19:36:24Z","html_url":"https://github.com/fossasia/open-event-webapp/pull/1032#discussion_r102297260","pull_request_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/102297260"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/1032#discussion_r102297260"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032","id":106720480,"html_url":"https://github.com/fossasia/open-event-webapp/pull/1032","diff_url":"https://github.com/fossasia/open-event-webapp/pull/1032.diff","patch_url":"https://github.com/fossasia/open-event-webapp/pull/1032.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1032","number":1032,"state":"open","locked":false,"title":"Adds the feature of Automatic Deployment to Github","user":{"login":"Princu7","id":8847265,"avatar_url":"https://avatars.githubusercontent.com/u/8847265?v=3","gravatar_id":"","url":"https://api.github.com/users/Princu7","html_url":"https://github.com/Princu7","followers_url":"https://api.github.com/users/Princu7/followers","following_url":"https://api.github.com/users/Princu7/following{/other_user}","gists_url":"https://api.github.com/users/Princu7/gists{/gist_id}","starred_url":"https://api.github.com/users/Princu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Princu7/subscriptions","organizations_url":"https://api.github.com/users/Princu7/orgs","repos_url":"https://api.github.com/users/Princu7/repos","events_url":"https://api.github.com/users/Princu7/events{/privacy}","received_events_url":"https://api.github.com/users/Princu7/received_events","type":"User","site_admin":false},"body":"@aayusharora @mariobehling  Resolves #947 \r\nTest Server: http://secure-meadow-20680.herokuapp.com\r\n\r\nPlease test the working of the server. Also, the feature won't work right away on the official server as we will have to do some modifications to the Heroku config variables and other things. Will do that after this gets reviewed :)","created_at":"2017-02-17T12:03:06Z","updated_at":"2017-02-21T19:36:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9aec86a6fd921d4ab0983744e2030e7f1e4bab3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1032/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/628e9404ecc574b178bfbcf64b697bdfc94e5a5f","head":{"label":"Princu7:finalDeploy","ref":"finalDeploy","sha":"628e9404ecc574b178bfbcf64b697bdfc94e5a5f","user":{"login":"Princu7","id":8847265,"avatar_url":"https://avatars.githubusercontent.com/u/8847265?v=3","gravatar_id":"","url":"https://api.github.com/users/Princu7","html_url":"https://github.com/Princu7","followers_url":"https://api.github.com/users/Princu7/followers","following_url":"https://api.github.com/users/Princu7/following{/other_user}","gists_url":"https://api.github.com/users/Princu7/gists{/gist_id}","starred_url":"https://api.github.com/users/Princu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Princu7/subscriptions","organizations_url":"https://api.github.com/users/Princu7/orgs","repos_url":"https://api.github.com/users/Princu7/repos","events_url":"https://api.github.com/users/Princu7/events{/privacy}","received_events_url":"https://api.github.com/users/Princu7/received_events","type":"User","site_admin":false},"repo":{"id":67641576,"name":"open-event-webapp","full_name":"Princu7/open-event-webapp","owner":{"login":"Princu7","id":8847265,"avatar_url":"https://avatars.githubusercontent.com/u/8847265?v=3","gravatar_id":"","url":"https://api.github.com/users/Princu7","html_url":"https://github.com/Princu7","followers_url":"https://api.github.com/users/Princu7/followers","following_url":"https://api.github.com/users/Princu7/following{/other_user}","gists_url":"https://api.github.com/users/Princu7/gists{/gist_id}","starred_url":"https://api.github.com/users/Princu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Princu7/subscriptions","organizations_url":"https://api.github.com/users/Princu7/orgs","repos_url":"https://api.github.com/users/Princu7/repos","events_url":"https://api.github.com/users/Princu7/events{/privacy}","received_events_url":"https://api.github.com/users/Princu7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Princu7/open-event-webapp","description":"Open Event Web App Generator","fork":true,"url":"https://api.github.com/repos/Princu7/open-event-webapp","forks_url":"https://api.github.com/repos/Princu7/open-event-webapp/forks","keys_url":"https://api.github.com/repos/Princu7/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Princu7/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Princu7/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/Princu7/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/Princu7/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/Princu7/open-event-webapp/events","assignees_url":"https://api.github.com/repos/Princu7/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/Princu7/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/Princu7/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Princu7/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/Princu7/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/Princu7/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/Princu7/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/Princu7/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/Princu7/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/Princu7/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Princu7/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Princu7/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Princu7/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/Princu7/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Princu7/open-event-webapp/merges","archive_url":"https://api.github.com/repos/Princu7/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Princu7/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/Princu7/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/Princu7/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/Princu7/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/Princu7/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Princu7/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/Princu7/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/Princu7/open-event-webapp/deployments","created_at":"2016-09-07T20:36:22Z","updated_at":"2016-09-07T20:36:23Z","pushed_at":"2017-02-21T19:30:08Z","git_url":"git://github.com/Princu7/open-event-webapp.git","ssh_url":"git@github.com:Princu7/open-event-webapp.git","clone_url":"https://github.com/Princu7/open-event-webapp.git","svn_url":"https://github.com/Princu7/open-event-webapp","homepage":"http://opev-webgen-dev.herokuapp.com","size":58578,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"fb778b5d8e22fc1296cb35905edcab70d949e47f","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.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":35269905,"name":"open-event-webapp","full_name":"fossasia/open-event-webapp","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.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/open-event-webapp","description":"Open Event Web App Generator http://opev-webgen-dev.herokuapp.com","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-webapp","forks_url":"https://api.github.com/repos/fossasia/open-event-webapp/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-webapp/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-webapp/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-webapp/deployments","created_at":"2015-05-08T09:11:00Z","updated_at":"2017-02-20T05:39:53Z","pushed_at":"2017-02-21T19:30:10Z","git_url":"git://github.com/fossasia/open-event-webapp.git","ssh_url":"git@github.com:fossasia/open-event-webapp.git","clone_url":"https://github.com/fossasia/open-event-webapp.git","svn_url":"https://github.com/fossasia/open-event-webapp","homepage":"http://fossasia.github.io/open-event-webapp/","size":52207,"stargazers_count":182,"watchers_count":182,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":216,"mirror_url":null,"open_issues_count":22,"forks":216,"open_issues":22,"watchers":182,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/1032"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1032"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1032/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1032/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/628e9404ecc574b178bfbcf64b697bdfc94e5a5f"}}}}
{"actor":{"display_login":"codacy-bot"}}