{"action":"created","comment":{"url":"https://api.github.com/repos/eeue56/elm-static-site/pulls/comments/54978450","id":54978450,"diff_hunk":"@@ -0,0 +1,3 @@\n+node cleanStatic.js\n+./runner.sh\n+","path":"js/run","position":3,"original_position":3,"commit_id":"35c2f0310ea22f09494166d0bd3f08095a182e80","original_commit_id":"35c2f0310ea22f09494166d0bd3f08095a182e80","user":{"login":"eeue56","id":1139198,"avatar_url":"https://avatars.githubusercontent.com/u/1139198?v=3","gravatar_id":"","url":"https://api.github.com/users/eeue56","html_url":"https://github.com/eeue56","followers_url":"https://api.github.com/users/eeue56/followers","following_url":"https://api.github.com/users/eeue56/following{/other_user}","gists_url":"https://api.github.com/users/eeue56/gists{/gist_id}","starred_url":"https://api.github.com/users/eeue56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeue56/subscriptions","organizations_url":"https://api.github.com/users/eeue56/orgs","repos_url":"https://api.github.com/users/eeue56/repos","events_url":"https://api.github.com/users/eeue56/events{/privacy}","received_events_url":"https://api.github.com/users/eeue56/received_events","type":"User","site_admin":false},"body":"should be saved as `run.sh` instead","created_at":"2016-03-04T01:26:05Z","updated_at":"2016-03-04T01:26:05Z","html_url":"https://github.com/eeue56/elm-static-site/pull/6#discussion_r54978450","pull_request_url":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/eeue56/elm-static-site/pulls/comments/54978450"},"html":{"href":"https://github.com/eeue56/elm-static-site/pull/6#discussion_r54978450"},"pull_request":{"href":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6","id":61653111,"html_url":"https://github.com/eeue56/elm-static-site/pull/6","diff_url":"https://github.com/eeue56/elm-static-site/pull/6.diff","patch_url":"https://github.com/eeue56/elm-static-site/pull/6.patch","issue_url":"https://api.github.com/repos/eeue56/elm-static-site/issues/6","number":6,"state":"open","locked":false,"title":"ported to node","user":{"login":"CrashInfinite","id":1408963,"avatar_url":"https://avatars.githubusercontent.com/u/1408963?v=3","gravatar_id":"","url":"https://api.github.com/users/CrashInfinite","html_url":"https://github.com/CrashInfinite","followers_url":"https://api.github.com/users/CrashInfinite/followers","following_url":"https://api.github.com/users/CrashInfinite/following{/other_user}","gists_url":"https://api.github.com/users/CrashInfinite/gists{/gist_id}","starred_url":"https://api.github.com/users/CrashInfinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrashInfinite/subscriptions","organizations_url":"https://api.github.com/users/CrashInfinite/orgs","repos_url":"https://api.github.com/users/CrashInfinite/repos","events_url":"https://api.github.com/users/CrashInfinite/events{/privacy}","received_events_url":"https://api.github.com/users/CrashInfinite/received_events","type":"User","site_admin":false},"body":"This ports the elm-static-site python script to node.\r\n\r\n-- To Do --\r\n- fix executeBash function to run ./runner.sh from inside node file instead of external run file\r\n- fix path issues (remove full path)\r\n- Would be good to check for folders instead of throwing errors (e.g. output folder already exists)\r\n- Refactor and tidy code in general","created_at":"2016-03-04T01:13:15Z","updated_at":"2016-03-04T01:26:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2fba15d1ab23458c109e81916f978cb43a1fb5ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6/commits","review_comments_url":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6/comments","review_comment_url":"https://api.github.com/repos/eeue56/elm-static-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eeue56/elm-static-site/issues/6/comments","statuses_url":"https://api.github.com/repos/eeue56/elm-static-site/statuses/35c2f0310ea22f09494166d0bd3f08095a182e80","head":{"label":"eeue56:jsversion","ref":"jsversion","sha":"35c2f0310ea22f09494166d0bd3f08095a182e80","user":{"login":"eeue56","id":1139198,"avatar_url":"https://avatars.githubusercontent.com/u/1139198?v=3","gravatar_id":"","url":"https://api.github.com/users/eeue56","html_url":"https://github.com/eeue56","followers_url":"https://api.github.com/users/eeue56/followers","following_url":"https://api.github.com/users/eeue56/following{/other_user}","gists_url":"https://api.github.com/users/eeue56/gists{/gist_id}","starred_url":"https://api.github.com/users/eeue56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeue56/subscriptions","organizations_url":"https://api.github.com/users/eeue56/orgs","repos_url":"https://api.github.com/users/eeue56/repos","events_url":"https://api.github.com/users/eeue56/events{/privacy}","received_events_url":"https://api.github.com/users/eeue56/received_events","type":"User","site_admin":false},"repo":{"id":52182174,"name":"elm-static-site","full_name":"eeue56/elm-static-site","owner":{"login":"eeue56","id":1139198,"avatar_url":"https://avatars.githubusercontent.com/u/1139198?v=3","gravatar_id":"","url":"https://api.github.com/users/eeue56","html_url":"https://github.com/eeue56","followers_url":"https://api.github.com/users/eeue56/followers","following_url":"https://api.github.com/users/eeue56/following{/other_user}","gists_url":"https://api.github.com/users/eeue56/gists{/gist_id}","starred_url":"https://api.github.com/users/eeue56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeue56/subscriptions","organizations_url":"https://api.github.com/users/eeue56/orgs","repos_url":"https://api.github.com/users/eeue56/repos","events_url":"https://api.github.com/users/eeue56/events{/privacy}","received_events_url":"https://api.github.com/users/eeue56/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eeue56/elm-static-site","description":"Static site generator using Elm","fork":false,"url":"https://api.github.com/repos/eeue56/elm-static-site","forks_url":"https://api.github.com/repos/eeue56/elm-static-site/forks","keys_url":"https://api.github.com/repos/eeue56/elm-static-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eeue56/elm-static-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eeue56/elm-static-site/teams","hooks_url":"https://api.github.com/repos/eeue56/elm-static-site/hooks","issue_events_url":"https://api.github.com/repos/eeue56/elm-static-site/issues/events{/number}","events_url":"https://api.github.com/repos/eeue56/elm-static-site/events","assignees_url":"https://api.github.com/repos/eeue56/elm-static-site/assignees{/user}","branches_url":"https://api.github.com/repos/eeue56/elm-static-site/branches{/branch}","tags_url":"https://api.github.com/repos/eeue56/elm-static-site/tags","blobs_url":"https://api.github.com/repos/eeue56/elm-static-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eeue56/elm-static-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eeue56/elm-static-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/eeue56/elm-static-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eeue56/elm-static-site/statuses/{sha}","languages_url":"https://api.github.com/repos/eeue56/elm-static-site/languages","stargazers_url":"https://api.github.com/repos/eeue56/elm-static-site/stargazers","contributors_url":"https://api.github.com/repos/eeue56/elm-static-site/contributors","subscribers_url":"https://api.github.com/repos/eeue56/elm-static-site/subscribers","subscription_url":"https://api.github.com/repos/eeue56/elm-static-site/subscription","commits_url":"https://api.github.com/repos/eeue56/elm-static-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/eeue56/elm-static-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/eeue56/elm-static-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/eeue56/elm-static-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/eeue56/elm-static-site/contents/{+path}","compare_url":"https://api.github.com/repos/eeue56/elm-static-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eeue56/elm-static-site/merges","archive_url":"https://api.github.com/repos/eeue56/elm-static-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eeue56/elm-static-site/downloads","issues_url":"https://api.github.com/repos/eeue56/elm-static-site/issues{/number}","pulls_url":"https://api.github.com/repos/eeue56/elm-static-site/pulls{/number}","milestones_url":"https://api.github.com/repos/eeue56/elm-static-site/milestones{/number}","notifications_url":"https://api.github.com/repos/eeue56/elm-static-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eeue56/elm-static-site/labels{/name}","releases_url":"https://api.github.com/repos/eeue56/elm-static-site/releases{/id}","deployments_url":"https://api.github.com/repos/eeue56/elm-static-site/deployments","created_at":"2016-02-21T00:02:14Z","updated_at":"2016-03-03T19:29:49Z","pushed_at":"2016-03-04T01:13:15Z","git_url":"git://github.com/eeue56/elm-static-site.git","ssh_url":"git@github.com:eeue56/elm-static-site.git","clone_url":"https://github.com/eeue56/elm-static-site.git","svn_url":"https://github.com/eeue56/elm-static-site","homepage":"","size":14,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":23,"default_branch":"master"}},"base":{"label":"eeue56:master","ref":"master","sha":"052e6bdc97fdc4d388f4a751dea4d330c390a2cf","user":{"login":"eeue56","id":1139198,"avatar_url":"https://avatars.githubusercontent.com/u/1139198?v=3","gravatar_id":"","url":"https://api.github.com/users/eeue56","html_url":"https://github.com/eeue56","followers_url":"https://api.github.com/users/eeue56/followers","following_url":"https://api.github.com/users/eeue56/following{/other_user}","gists_url":"https://api.github.com/users/eeue56/gists{/gist_id}","starred_url":"https://api.github.com/users/eeue56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeue56/subscriptions","organizations_url":"https://api.github.com/users/eeue56/orgs","repos_url":"https://api.github.com/users/eeue56/repos","events_url":"https://api.github.com/users/eeue56/events{/privacy}","received_events_url":"https://api.github.com/users/eeue56/received_events","type":"User","site_admin":false},"repo":{"id":52182174,"name":"elm-static-site","full_name":"eeue56/elm-static-site","owner":{"login":"eeue56","id":1139198,"avatar_url":"https://avatars.githubusercontent.com/u/1139198?v=3","gravatar_id":"","url":"https://api.github.com/users/eeue56","html_url":"https://github.com/eeue56","followers_url":"https://api.github.com/users/eeue56/followers","following_url":"https://api.github.com/users/eeue56/following{/other_user}","gists_url":"https://api.github.com/users/eeue56/gists{/gist_id}","starred_url":"https://api.github.com/users/eeue56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeue56/subscriptions","organizations_url":"https://api.github.com/users/eeue56/orgs","repos_url":"https://api.github.com/users/eeue56/repos","events_url":"https://api.github.com/users/eeue56/events{/privacy}","received_events_url":"https://api.github.com/users/eeue56/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eeue56/elm-static-site","description":"Static site generator using Elm","fork":false,"url":"https://api.github.com/repos/eeue56/elm-static-site","forks_url":"https://api.github.com/repos/eeue56/elm-static-site/forks","keys_url":"https://api.github.com/repos/eeue56/elm-static-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eeue56/elm-static-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eeue56/elm-static-site/teams","hooks_url":"https://api.github.com/repos/eeue56/elm-static-site/hooks","issue_events_url":"https://api.github.com/repos/eeue56/elm-static-site/issues/events{/number}","events_url":"https://api.github.com/repos/eeue56/elm-static-site/events","assignees_url":"https://api.github.com/repos/eeue56/elm-static-site/assignees{/user}","branches_url":"https://api.github.com/repos/eeue56/elm-static-site/branches{/branch}","tags_url":"https://api.github.com/repos/eeue56/elm-static-site/tags","blobs_url":"https://api.github.com/repos/eeue56/elm-static-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eeue56/elm-static-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eeue56/elm-static-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/eeue56/elm-static-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eeue56/elm-static-site/statuses/{sha}","languages_url":"https://api.github.com/repos/eeue56/elm-static-site/languages","stargazers_url":"https://api.github.com/repos/eeue56/elm-static-site/stargazers","contributors_url":"https://api.github.com/repos/eeue56/elm-static-site/contributors","subscribers_url":"https://api.github.com/repos/eeue56/elm-static-site/subscribers","subscription_url":"https://api.github.com/repos/eeue56/elm-static-site/subscription","commits_url":"https://api.github.com/repos/eeue56/elm-static-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/eeue56/elm-static-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/eeue56/elm-static-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/eeue56/elm-static-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/eeue56/elm-static-site/contents/{+path}","compare_url":"https://api.github.com/repos/eeue56/elm-static-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eeue56/elm-static-site/merges","archive_url":"https://api.github.com/repos/eeue56/elm-static-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eeue56/elm-static-site/downloads","issues_url":"https://api.github.com/repos/eeue56/elm-static-site/issues{/number}","pulls_url":"https://api.github.com/repos/eeue56/elm-static-site/pulls{/number}","milestones_url":"https://api.github.com/repos/eeue56/elm-static-site/milestones{/number}","notifications_url":"https://api.github.com/repos/eeue56/elm-static-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eeue56/elm-static-site/labels{/name}","releases_url":"https://api.github.com/repos/eeue56/elm-static-site/releases{/id}","deployments_url":"https://api.github.com/repos/eeue56/elm-static-site/deployments","created_at":"2016-02-21T00:02:14Z","updated_at":"2016-03-03T19:29:49Z","pushed_at":"2016-03-04T01:13:15Z","git_url":"git://github.com/eeue56/elm-static-site.git","ssh_url":"git@github.com:eeue56/elm-static-site.git","clone_url":"https://github.com/eeue56/elm-static-site.git","svn_url":"https://github.com/eeue56/elm-static-site","homepage":"","size":14,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6"},"html":{"href":"https://github.com/eeue56/elm-static-site/pull/6"},"issue":{"href":"https://api.github.com/repos/eeue56/elm-static-site/issues/6"},"comments":{"href":"https://api.github.com/repos/eeue56/elm-static-site/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/eeue56/elm-static-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eeue56/elm-static-site/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/eeue56/elm-static-site/statuses/35c2f0310ea22f09494166d0bd3f08095a182e80"}}}}