{"action":"created","comment":{"url":"https://api.github.com/repos/hashobject/perun/pulls/comments/41727022","id":41727022,"diff_hunk":"@@ -85,20 +83,15 @@\n          (.markdownToHtml processor))))\n \n (defn process-file [file options]\n-  (let [file-content (slurp file)]\n-    ; .getName returns only the filename so this should work cross platform\n-    (u/info \"Processing Markdown: %s\\n\" (.getName file))\n-    (merge (parse-file-metadata file-content)\n-           {:content (markdown-to-html file-content options)\n-            ; todo: we will need to remove this from task\n-            ; it's duplication of what base task is doing now\n-            :path (:path file)\n-            :filename (.getName file)})))\n+  (let [iofile (io/file (:full-path file))\n+        file-content (slurp iofile)","path":"src/io/perun/markdown.clj","position":23,"original_position":23,"commit_id":"1486803407a425f7b627161971686823753c94e9","original_commit_id":"1486803407a425f7b627161971686823753c94e9","user":{"login":"martinklepsch","id":97496,"avatar_url":"https://avatars.githubusercontent.com/u/97496?v=3","gravatar_id":"","url":"https://api.github.com/users/martinklepsch","html_url":"https://github.com/martinklepsch","followers_url":"https://api.github.com/users/martinklepsch/followers","following_url":"https://api.github.com/users/martinklepsch/following{/other_user}","gists_url":"https://api.github.com/users/martinklepsch/gists{/gist_id}","starred_url":"https://api.github.com/users/martinklepsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinklepsch/subscriptions","organizations_url":"https://api.github.com/users/martinklepsch/orgs","repos_url":"https://api.github.com/users/martinklepsch/repos","events_url":"https://api.github.com/users/martinklepsch/events{/privacy}","received_events_url":"https://api.github.com/users/martinklepsch/received_events","type":"User","site_admin":false},"body":"how about\r\n```clj\r\n(-> file :full-path io/file slurp)\r\n```\r\nmatter of taste I guess but saves a line :)","created_at":"2015-10-12T06:47:10Z","updated_at":"2015-10-12T06:47:10Z","html_url":"https://github.com/hashobject/perun/pull/64#discussion_r41727022","pull_request_url":"https://api.github.com/repos/hashobject/perun/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/hashobject/perun/pulls/comments/41727022"},"html":{"href":"https://github.com/hashobject/perun/pull/64#discussion_r41727022"},"pull_request":{"href":"https://api.github.com/repos/hashobject/perun/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/hashobject/perun/pulls/64","id":47389019,"html_url":"https://github.com/hashobject/perun/pull/64","diff_url":"https://github.com/hashobject/perun/pull/64.diff","patch_url":"https://github.com/hashobject/perun/pull/64.patch","issue_url":"https://api.github.com/repos/hashobject/perun/issues/64","number":64,"state":"closed","locked":false,"title":"Fix 62 sitemap loc","user":{"login":"podviaznikov","id":429706,"avatar_url":"https://avatars.githubusercontent.com/u/429706?v=3","gravatar_id":"","url":"https://api.github.com/users/podviaznikov","html_url":"https://github.com/podviaznikov","followers_url":"https://api.github.com/users/podviaznikov/followers","following_url":"https://api.github.com/users/podviaznikov/following{/other_user}","gists_url":"https://api.github.com/users/podviaznikov/gists{/gist_id}","starred_url":"https://api.github.com/users/podviaznikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/podviaznikov/subscriptions","organizations_url":"https://api.github.com/users/podviaznikov/orgs","repos_url":"https://api.github.com/users/podviaznikov/repos","events_url":"https://api.github.com/users/podviaznikov/events{/privacy}","received_events_url":"https://api.github.com/users/podviaznikov/received_events","type":"User","site_admin":false},"body":"Closes #62. Also contains numerous minor fixes and small refactoring for the markdown task.","created_at":"2015-10-12T06:39:53Z","updated_at":"2015-10-12T06:47:10Z","closed_at":"2015-10-12T06:39:58Z","merged_at":"2015-10-12T06:39:58Z","merge_commit_sha":"2770d9f77d1deb60ce57b13934cd19a0085df5c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashobject/perun/pulls/64/commits","review_comments_url":"https://api.github.com/repos/hashobject/perun/pulls/64/comments","review_comment_url":"https://api.github.com/repos/hashobject/perun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashobject/perun/issues/64/comments","statuses_url":"https://api.github.com/repos/hashobject/perun/statuses/1486803407a425f7b627161971686823753c94e9","head":{"label":"hashobject:fix-62-sitemap-loc","ref":"fix-62-sitemap-loc","sha":"1486803407a425f7b627161971686823753c94e9","user":{"login":"hashobject","id":4522707,"avatar_url":"https://avatars.githubusercontent.com/u/4522707?v=3","gravatar_id":"","url":"https://api.github.com/users/hashobject","html_url":"https://github.com/hashobject","followers_url":"https://api.github.com/users/hashobject/followers","following_url":"https://api.github.com/users/hashobject/following{/other_user}","gists_url":"https://api.github.com/users/hashobject/gists{/gist_id}","starred_url":"https://api.github.com/users/hashobject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashobject/subscriptions","organizations_url":"https://api.github.com/users/hashobject/orgs","repos_url":"https://api.github.com/users/hashobject/repos","events_url":"https://api.github.com/users/hashobject/events{/privacy}","received_events_url":"https://api.github.com/users/hashobject/received_events","type":"Organization","site_admin":false},"repo":{"id":36089677,"name":"perun","full_name":"hashobject/perun","owner":{"login":"hashobject","id":4522707,"avatar_url":"https://avatars.githubusercontent.com/u/4522707?v=3","gravatar_id":"","url":"https://api.github.com/users/hashobject","html_url":"https://github.com/hashobject","followers_url":"https://api.github.com/users/hashobject/followers","following_url":"https://api.github.com/users/hashobject/following{/other_user}","gists_url":"https://api.github.com/users/hashobject/gists{/gist_id}","starred_url":"https://api.github.com/users/hashobject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashobject/subscriptions","organizations_url":"https://api.github.com/users/hashobject/orgs","repos_url":"https://api.github.com/users/hashobject/repos","events_url":"https://api.github.com/users/hashobject/events{/privacy}","received_events_url":"https://api.github.com/users/hashobject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashobject/perun","description":"Static site generation build with Clojure and Boot","fork":false,"url":"https://api.github.com/repos/hashobject/perun","forks_url":"https://api.github.com/repos/hashobject/perun/forks","keys_url":"https://api.github.com/repos/hashobject/perun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashobject/perun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashobject/perun/teams","hooks_url":"https://api.github.com/repos/hashobject/perun/hooks","issue_events_url":"https://api.github.com/repos/hashobject/perun/issues/events{/number}","events_url":"https://api.github.com/repos/hashobject/perun/events","assignees_url":"https://api.github.com/repos/hashobject/perun/assignees{/user}","branches_url":"https://api.github.com/repos/hashobject/perun/branches{/branch}","tags_url":"https://api.github.com/repos/hashobject/perun/tags","blobs_url":"https://api.github.com/repos/hashobject/perun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashobject/perun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashobject/perun/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashobject/perun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashobject/perun/statuses/{sha}","languages_url":"https://api.github.com/repos/hashobject/perun/languages","stargazers_url":"https://api.github.com/repos/hashobject/perun/stargazers","contributors_url":"https://api.github.com/repos/hashobject/perun/contributors","subscribers_url":"https://api.github.com/repos/hashobject/perun/subscribers","subscription_url":"https://api.github.com/repos/hashobject/perun/subscription","commits_url":"https://api.github.com/repos/hashobject/perun/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashobject/perun/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashobject/perun/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashobject/perun/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashobject/perun/contents/{+path}","compare_url":"https://api.github.com/repos/hashobject/perun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashobject/perun/merges","archive_url":"https://api.github.com/repos/hashobject/perun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashobject/perun/downloads","issues_url":"https://api.github.com/repos/hashobject/perun/issues{/number}","pulls_url":"https://api.github.com/repos/hashobject/perun/pulls{/number}","milestones_url":"https://api.github.com/repos/hashobject/perun/milestones{/number}","notifications_url":"https://api.github.com/repos/hashobject/perun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashobject/perun/labels{/name}","releases_url":"https://api.github.com/repos/hashobject/perun/releases{/id}","created_at":"2015-05-22T18:51:09Z","updated_at":"2015-10-11T02:32:11Z","pushed_at":"2015-10-12T06:39:58Z","git_url":"git://github.com/hashobject/perun.git","ssh_url":"git@github.com:hashobject/perun.git","clone_url":"https://github.com/hashobject/perun.git","svn_url":"https://github.com/hashobject/perun","homepage":"https://perun.io","size":714,"stargazers_count":45,"watchers_count":45,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":45,"default_branch":"master"}},"base":{"label":"hashobject:master","ref":"master","sha":"8751fe2e96e2e03c5ff6675bb1e14e8e778727d2","user":{"login":"hashobject","id":4522707,"avatar_url":"https://avatars.githubusercontent.com/u/4522707?v=3","gravatar_id":"","url":"https://api.github.com/users/hashobject","html_url":"https://github.com/hashobject","followers_url":"https://api.github.com/users/hashobject/followers","following_url":"https://api.github.com/users/hashobject/following{/other_user}","gists_url":"https://api.github.com/users/hashobject/gists{/gist_id}","starred_url":"https://api.github.com/users/hashobject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashobject/subscriptions","organizations_url":"https://api.github.com/users/hashobject/orgs","repos_url":"https://api.github.com/users/hashobject/repos","events_url":"https://api.github.com/users/hashobject/events{/privacy}","received_events_url":"https://api.github.com/users/hashobject/received_events","type":"Organization","site_admin":false},"repo":{"id":36089677,"name":"perun","full_name":"hashobject/perun","owner":{"login":"hashobject","id":4522707,"avatar_url":"https://avatars.githubusercontent.com/u/4522707?v=3","gravatar_id":"","url":"https://api.github.com/users/hashobject","html_url":"https://github.com/hashobject","followers_url":"https://api.github.com/users/hashobject/followers","following_url":"https://api.github.com/users/hashobject/following{/other_user}","gists_url":"https://api.github.com/users/hashobject/gists{/gist_id}","starred_url":"https://api.github.com/users/hashobject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashobject/subscriptions","organizations_url":"https://api.github.com/users/hashobject/orgs","repos_url":"https://api.github.com/users/hashobject/repos","events_url":"https://api.github.com/users/hashobject/events{/privacy}","received_events_url":"https://api.github.com/users/hashobject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashobject/perun","description":"Static site generation build with Clojure and Boot","fork":false,"url":"https://api.github.com/repos/hashobject/perun","forks_url":"https://api.github.com/repos/hashobject/perun/forks","keys_url":"https://api.github.com/repos/hashobject/perun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashobject/perun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashobject/perun/teams","hooks_url":"https://api.github.com/repos/hashobject/perun/hooks","issue_events_url":"https://api.github.com/repos/hashobject/perun/issues/events{/number}","events_url":"https://api.github.com/repos/hashobject/perun/events","assignees_url":"https://api.github.com/repos/hashobject/perun/assignees{/user}","branches_url":"https://api.github.com/repos/hashobject/perun/branches{/branch}","tags_url":"https://api.github.com/repos/hashobject/perun/tags","blobs_url":"https://api.github.com/repos/hashobject/perun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashobject/perun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashobject/perun/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashobject/perun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashobject/perun/statuses/{sha}","languages_url":"https://api.github.com/repos/hashobject/perun/languages","stargazers_url":"https://api.github.com/repos/hashobject/perun/stargazers","contributors_url":"https://api.github.com/repos/hashobject/perun/contributors","subscribers_url":"https://api.github.com/repos/hashobject/perun/subscribers","subscription_url":"https://api.github.com/repos/hashobject/perun/subscription","commits_url":"https://api.github.com/repos/hashobject/perun/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashobject/perun/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashobject/perun/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashobject/perun/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashobject/perun/contents/{+path}","compare_url":"https://api.github.com/repos/hashobject/perun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashobject/perun/merges","archive_url":"https://api.github.com/repos/hashobject/perun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashobject/perun/downloads","issues_url":"https://api.github.com/repos/hashobject/perun/issues{/number}","pulls_url":"https://api.github.com/repos/hashobject/perun/pulls{/number}","milestones_url":"https://api.github.com/repos/hashobject/perun/milestones{/number}","notifications_url":"https://api.github.com/repos/hashobject/perun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashobject/perun/labels{/name}","releases_url":"https://api.github.com/repos/hashobject/perun/releases{/id}","created_at":"2015-05-22T18:51:09Z","updated_at":"2015-10-11T02:32:11Z","pushed_at":"2015-10-12T06:39:58Z","git_url":"git://github.com/hashobject/perun.git","ssh_url":"git@github.com:hashobject/perun.git","clone_url":"https://github.com/hashobject/perun.git","svn_url":"https://github.com/hashobject/perun","homepage":"https://perun.io","size":714,"stargazers_count":45,"watchers_count":45,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashobject/perun/pulls/64"},"html":{"href":"https://github.com/hashobject/perun/pull/64"},"issue":{"href":"https://api.github.com/repos/hashobject/perun/issues/64"},"comments":{"href":"https://api.github.com/repos/hashobject/perun/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/hashobject/perun/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/hashobject/perun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashobject/perun/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/hashobject/perun/statuses/1486803407a425f7b627161971686823753c94e9"}}}}