{"action":"created","comment":{"url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/comments/206389882","pull_request_review_id":141794544,"id":206389882,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjM4OTg4Mg==","diff_hunk":"@@ -32,26 +32,36 @@ def find_files(files_dir):\n         join(files_dir, f))]\n     return files\n \n+def doesFileExists(filePathAndName):\n+    return os.path.exists(filePathAndName)\n \n def ensure_data_structure_unchanged(filename, archive_dir, incoming_dir):\n     previous_file = \"{dir}{filename}\".format(\n         dir=archive_dir, filename=filename)\n-\n+    ","path":"publish.py","position":29,"original_position":29,"commit_id":"7008eda590f39e63ae6a765a7b841a2e7324b9bb","original_commit_id":"7008eda590f39e63ae6a765a7b841a2e7324b9bb","user":{"login":"codeclimate[bot]","id":36754821,"node_id":"MDM6Qm90MzY3NTQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Blank line contains whitespace","created_at":"2018-07-31T04:09:01Z","updated_at":"2018-07-31T04:09:01Z","html_url":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline/pull/25#discussion_r206389882","pull_request_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/comments/206389882"},"html":{"href":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline/pull/25#discussion_r206389882"},"pull_request":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25","id":204728631,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NzI4NjMx","html_url":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline/pull/25","diff_url":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline/pull/25.diff","patch_url":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline/pull/25.patch","issue_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/issues/25","number":25,"state":"open","locked":false,"title":"Update the documentation, virtualenv location and fix moving files to archive","user":{"login":"camfindlay","id":367847,"node_id":"MDQ6VXNlcjM2Nzg0Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/367847?v=4","gravatar_id":"","url":"https://api.github.com/users/camfindlay","html_url":"https://github.com/camfindlay","followers_url":"https://api.github.com/users/camfindlay/followers","following_url":"https://api.github.com/users/camfindlay/following{/other_user}","gists_url":"https://api.github.com/users/camfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/camfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camfindlay/subscriptions","organizations_url":"https://api.github.com/users/camfindlay/orgs","repos_url":"https://api.github.com/users/camfindlay/repos","events_url":"https://api.github.com/users/camfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/camfindlay/received_events","type":"User","site_admin":false},"body":"Aiming to make this more for general reuse rather than pin to one agencies install. \r\n\r\nHave updated the documentation with a comprehensive getting started guide to aid installation and getting it running. \r\n\r\nAlso included the usual CONTRIBUTING and CHANGELOG files in markdown format. \r\n\r\nThis also fixes #24 \r\n\r\n","created_at":"2018-07-30T08:24:53Z","updated_at":"2018-07-31T04:09:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46028d4bee4307e666aaae96a8cbc9e4c189fb39","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25/commits","review_comments_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25/comments","review_comment_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/issues/25/comments","statuses_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/statuses/7008eda590f39e63ae6a765a7b841a2e7324b9bb","head":{"label":"data-govt-nz:getting-started","ref":"getting-started","sha":"7008eda590f39e63ae6a765a7b841a2e7324b9bb","user":{"login":"data-govt-nz","id":25860912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1ODYwOTEy","avatar_url":"https://avatars1.githubusercontent.com/u/25860912?v=4","gravatar_id":"","url":"https://api.github.com/users/data-govt-nz","html_url":"https://github.com/data-govt-nz","followers_url":"https://api.github.com/users/data-govt-nz/followers","following_url":"https://api.github.com/users/data-govt-nz/following{/other_user}","gists_url":"https://api.github.com/users/data-govt-nz/gists{/gist_id}","starred_url":"https://api.github.com/users/data-govt-nz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-govt-nz/subscriptions","organizations_url":"https://api.github.com/users/data-govt-nz/orgs","repos_url":"https://api.github.com/users/data-govt-nz/repos","events_url":"https://api.github.com/users/data-govt-nz/events{/privacy}","received_events_url":"https://api.github.com/users/data-govt-nz/received_events","type":"Organization","site_admin":false},"repo":{"id":106488209,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY0ODgyMDk=","name":"ServiceRegistrationPipeline","full_name":"data-govt-nz/ServiceRegistrationPipeline","owner":{"login":"data-govt-nz","id":25860912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1ODYwOTEy","avatar_url":"https://avatars1.githubusercontent.com/u/25860912?v=4","gravatar_id":"","url":"https://api.github.com/users/data-govt-nz","html_url":"https://github.com/data-govt-nz","followers_url":"https://api.github.com/users/data-govt-nz/followers","following_url":"https://api.github.com/users/data-govt-nz/following{/other_user}","gists_url":"https://api.github.com/users/data-govt-nz/gists{/gist_id}","starred_url":"https://api.github.com/users/data-govt-nz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-govt-nz/subscriptions","organizations_url":"https://api.github.com/users/data-govt-nz/orgs","repos_url":"https://api.github.com/users/data-govt-nz/repos","events_url":"https://api.github.com/users/data-govt-nz/events{/privacy}","received_events_url":"https://api.github.com/users/data-govt-nz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/data-govt-nz/ServiceRegistrationPipeline","description":null,"fork":true,"url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline","forks_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/forks","keys_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/teams","hooks_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/hooks","issue_events_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/issues/events{/number}","events_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/events","assignees_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/assignees{/user}","branches_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/branches{/branch}","tags_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/tags","blobs_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/languages","stargazers_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/stargazers","contributors_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/contributors","subscribers_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/subscribers","subscription_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/subscription","commits_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/contents/{+path}","compare_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/merges","archive_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/downloads","issues_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/issues{/number}","pulls_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/labels{/name}","releases_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/releases{/id}","deployments_url":"https://api.github.com/repos/data-govt-nz/ServiceRegistrationPipeline/deployments","created_at":"2017-10-11T01:03:10Z","updated_at":"2018-07-26T21:55:40Z","pushed_at":"2018-07-31T04:08:23Z","git_url":"git://github.com/data-govt-nz/ServiceRegistrationPipeline.git","ssh_url":"git@github.com:data-govt-nz/ServiceRegistrationPipeline.git","clone_url":"https://github.com/data-govt-nz/ServiceRegistrationPipeline.git","svn_url":"https://github.com/data-govt-nz/ServiceRegistrationPipeline","homepage":null,"size":47,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ServiceInnovationLab:master","ref":"master","sha":"004f7b2550235247a6cda71148edeb99874cdeb4","user":{"login":"ServiceInnovationLab","id":31644002,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjQ0MDAy","avatar_url":"https://avatars1.githubusercontent.com/u/31644002?v=4","gravatar_id":"","url":"https://api.github.com/users/ServiceInnovationLab","html_url":"https://github.com/ServiceInnovationLab","followers_url":"https://api.github.com/users/ServiceInnovationLab/followers","following_url":"https://api.github.com/users/ServiceInnovationLab/following{/other_user}","gists_url":"https://api.github.com/users/ServiceInnovationLab/gists{/gist_id}","starred_url":"https://api.github.com/users/ServiceInnovationLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ServiceInnovationLab/subscriptions","organizations_url":"https://api.github.com/users/ServiceInnovationLab/orgs","repos_url":"https://api.github.com/users/ServiceInnovationLab/repos","events_url":"https://api.github.com/users/ServiceInnovationLab/events{/privacy}","received_events_url":"https://api.github.com/users/ServiceInnovationLab/received_events","type":"Organization","site_admin":false},"repo":{"id":105961957,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU5NjE5NTc=","name":"ServiceRegistrationPipeline","full_name":"ServiceInnovationLab/ServiceRegistrationPipeline","owner":{"login":"ServiceInnovationLab","id":31644002,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjQ0MDAy","avatar_url":"https://avatars1.githubusercontent.com/u/31644002?v=4","gravatar_id":"","url":"https://api.github.com/users/ServiceInnovationLab","html_url":"https://github.com/ServiceInnovationLab","followers_url":"https://api.github.com/users/ServiceInnovationLab/followers","following_url":"https://api.github.com/users/ServiceInnovationLab/following{/other_user}","gists_url":"https://api.github.com/users/ServiceInnovationLab/gists{/gist_id}","starred_url":"https://api.github.com/users/ServiceInnovationLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ServiceInnovationLab/subscriptions","organizations_url":"https://api.github.com/users/ServiceInnovationLab/orgs","repos_url":"https://api.github.com/users/ServiceInnovationLab/repos","events_url":"https://api.github.com/users/ServiceInnovationLab/events{/privacy}","received_events_url":"https://api.github.com/users/ServiceInnovationLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline","description":null,"fork":false,"url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline","forks_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/forks","keys_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/teams","hooks_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/hooks","issue_events_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/issues/events{/number}","events_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/events","assignees_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/assignees{/user}","branches_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/branches{/branch}","tags_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/tags","blobs_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/languages","stargazers_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/stargazers","contributors_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/contributors","subscribers_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/subscribers","subscription_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/subscription","commits_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/contents/{+path}","compare_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/merges","archive_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/downloads","issues_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/issues{/number}","pulls_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/labels{/name}","releases_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/releases{/id}","deployments_url":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/deployments","created_at":"2017-10-06T02:54:12Z","updated_at":"2018-07-19T00:35:07Z","pushed_at":"2018-07-31T04:08:24Z","git_url":"git://github.com/ServiceInnovationLab/ServiceRegistrationPipeline.git","ssh_url":"git@github.com:ServiceInnovationLab/ServiceRegistrationPipeline.git","clone_url":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline.git","svn_url":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline","homepage":null,"size":42,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":4,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25"},"html":{"href":"https://github.com/ServiceInnovationLab/ServiceRegistrationPipeline/pull/25"},"issue":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/issues/25"},"comments":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/ServiceInnovationLab/ServiceRegistrationPipeline/statuses/7008eda590f39e63ae6a765a7b841a2e7324b9bb"}},"author_association":"NONE"}}
{"actor":{"display_login":"codeclimate"}}