{"action":"created","comment":{"url":"https://api.github.com/repos/ukaea/ditto/pulls/comments/234540005","pull_request_review_id":176198579,"id":234540005,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDU0MDAwNQ==","diff_hunk":"@@ -21,3 +21,6 @@ def relative_file_path(self, file_path, root_directory):\n \n     def file_name(self, abs_file_path):\n         return os.path.basename(abs_file_path)\n+\n+    def last_modified(self, file_path):\n+        return os.stat(file_path).st_mtime","path":"ditto_web_api/DittoWebApi/src/utils/file_system/files_system_helpers.py","position":null,"original_position":6,"commit_id":"04e0b3ecda60ad561a527213b3b716577d4ef5af","original_commit_id":"c3e0170c466a1a54593c86f78c13970e37337db2","user":{"login":"oliver-tarrant-tessella","id":44605528,"node_id":"MDQ6VXNlcjQ0NjA1NTI4","avatar_url":"https://avatars3.githubusercontent.com/u/44605528?v=4","gravatar_id":"","url":"https://api.github.com/users/oliver-tarrant-tessella","html_url":"https://github.com/oliver-tarrant-tessella","followers_url":"https://api.github.com/users/oliver-tarrant-tessella/followers","following_url":"https://api.github.com/users/oliver-tarrant-tessella/following{/other_user}","gists_url":"https://api.github.com/users/oliver-tarrant-tessella/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-tarrant-tessella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-tarrant-tessella/subscriptions","organizations_url":"https://api.github.com/users/oliver-tarrant-tessella/orgs","repos_url":"https://api.github.com/users/oliver-tarrant-tessella/repos","events_url":"https://api.github.com/users/oliver-tarrant-tessella/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-tarrant-tessella/received_events","type":"User","site_admin":false},"body":"Changed to use the method described here: https://stackoverflow.com/questions/237079/how-to-get-file-creation-modification-date-times-in-python\r\n","created_at":"2018-11-19T09:13:49Z","updated_at":"2018-11-19T09:13:49Z","html_url":"https://github.com/ukaea/ditto/pull/51#discussion_r234540005","pull_request_url":"https://api.github.com/repos/ukaea/ditto/pulls/51","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ukaea/ditto/pulls/comments/234540005"},"html":{"href":"https://github.com/ukaea/ditto/pull/51#discussion_r234540005"},"pull_request":{"href":"https://api.github.com/repos/ukaea/ditto/pulls/51"}},"in_reply_to_id":234181465},"pull_request":{"url":"https://api.github.com/repos/ukaea/ditto/pulls/51","id":231505006,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNTA1MDA2","html_url":"https://github.com/ukaea/ditto/pull/51","diff_url":"https://github.com/ukaea/ditto/pull/51.diff","patch_url":"https://github.com/ukaea/ditto/pull/51.patch","issue_url":"https://api.github.com/repos/ukaea/ditto/issues/51","number":51,"state":"open","locked":false,"title":"Feature/copy new and update changed #6","user":{"login":"oliver-tarrant-tessella","id":44605528,"node_id":"MDQ6VXNlcjQ0NjA1NTI4","avatar_url":"https://avatars3.githubusercontent.com/u/44605528?v=4","gravatar_id":"","url":"https://api.github.com/users/oliver-tarrant-tessella","html_url":"https://github.com/oliver-tarrant-tessella","followers_url":"https://api.github.com/users/oliver-tarrant-tessella/followers","following_url":"https://api.github.com/users/oliver-tarrant-tessella/following{/other_user}","gists_url":"https://api.github.com/users/oliver-tarrant-tessella/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-tarrant-tessella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-tarrant-tessella/subscriptions","organizations_url":"https://api.github.com/users/oliver-tarrant-tessella/orgs","repos_url":"https://api.github.com/users/oliver-tarrant-tessella/repos","events_url":"https://api.github.com/users/oliver-tarrant-tessella/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-tarrant-tessella/received_events","type":"User","site_admin":false},"body":"Additional handler to add new files from a directory and check the files that already exist in the S3 bucket to see if any of them need updating.\r\n\r\nTo test: \r\n* Run the unit tests\r\n* Experiment with using the handler on the VM\r\n\r\nhttps://github.com/ukaea/ditto/issues/6 ","created_at":"2018-11-16T11:50:03Z","updated_at":"2018-11-19T09:13:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"daf005fafd75304317e683b77f3b5fee19bb6d25","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/ukaea/ditto/milestones/2","html_url":"https://github.com/ukaea/ditto/milestone/2","labels_url":"https://api.github.com/repos/ukaea/ditto/milestones/2/labels","id":3785489,"node_id":"MDk6TWlsZXN0b25lMzc4NTQ4OQ==","number":2,"title":"Sprint 2","description":"","creator":{"login":"robert-clegg-tessella","id":26163351,"node_id":"MDQ6VXNlcjI2MTYzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/26163351?v=4","gravatar_id":"","url":"https://api.github.com/users/robert-clegg-tessella","html_url":"https://github.com/robert-clegg-tessella","followers_url":"https://api.github.com/users/robert-clegg-tessella/followers","following_url":"https://api.github.com/users/robert-clegg-tessella/following{/other_user}","gists_url":"https://api.github.com/users/robert-clegg-tessella/gists{/gist_id}","starred_url":"https://api.github.com/users/robert-clegg-tessella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robert-clegg-tessella/subscriptions","organizations_url":"https://api.github.com/users/robert-clegg-tessella/orgs","repos_url":"https://api.github.com/users/robert-clegg-tessella/repos","events_url":"https://api.github.com/users/robert-clegg-tessella/events{/privacy}","received_events_url":"https://api.github.com/users/robert-clegg-tessella/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":11,"state":"open","created_at":"2018-10-31T13:20:44Z","updated_at":"2018-11-16T11:50:03Z","due_on":"2018-11-20T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/ukaea/ditto/pulls/51/commits","review_comments_url":"https://api.github.com/repos/ukaea/ditto/pulls/51/comments","review_comment_url":"https://api.github.com/repos/ukaea/ditto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ukaea/ditto/issues/51/comments","statuses_url":"https://api.github.com/repos/ukaea/ditto/statuses/04e0b3ecda60ad561a527213b3b716577d4ef5af","head":{"label":"ukaea:feature/copy-new-and-update-changed-#6","ref":"feature/copy-new-and-update-changed-#6","sha":"04e0b3ecda60ad561a527213b3b716577d4ef5af","user":{"login":"ukaea","id":14908737,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTA4NzM3","avatar_url":"https://avatars2.githubusercontent.com/u/14908737?v=4","gravatar_id":"","url":"https://api.github.com/users/ukaea","html_url":"https://github.com/ukaea","followers_url":"https://api.github.com/users/ukaea/followers","following_url":"https://api.github.com/users/ukaea/following{/other_user}","gists_url":"https://api.github.com/users/ukaea/gists{/gist_id}","starred_url":"https://api.github.com/users/ukaea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukaea/subscriptions","organizations_url":"https://api.github.com/users/ukaea/orgs","repos_url":"https://api.github.com/users/ukaea/repos","events_url":"https://api.github.com/users/ukaea/events{/privacy}","received_events_url":"https://api.github.com/users/ukaea/received_events","type":"Organization","site_admin":false},"repo":{"id":154685802,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ2ODU4MDI=","name":"ditto","full_name":"ukaea/ditto","private":false,"owner":{"login":"ukaea","id":14908737,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTA4NzM3","avatar_url":"https://avatars2.githubusercontent.com/u/14908737?v=4","gravatar_id":"","url":"https://api.github.com/users/ukaea","html_url":"https://github.com/ukaea","followers_url":"https://api.github.com/users/ukaea/followers","following_url":"https://api.github.com/users/ukaea/following{/other_user}","gists_url":"https://api.github.com/users/ukaea/gists{/gist_id}","starred_url":"https://api.github.com/users/ukaea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukaea/subscriptions","organizations_url":"https://api.github.com/users/ukaea/orgs","repos_url":"https://api.github.com/users/ukaea/repos","events_url":"https://api.github.com/users/ukaea/events{/privacy}","received_events_url":"https://api.github.com/users/ukaea/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ukaea/ditto","description":"ALC project 5","fork":false,"url":"https://api.github.com/repos/ukaea/ditto","forks_url":"https://api.github.com/repos/ukaea/ditto/forks","keys_url":"https://api.github.com/repos/ukaea/ditto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ukaea/ditto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ukaea/ditto/teams","hooks_url":"https://api.github.com/repos/ukaea/ditto/hooks","issue_events_url":"https://api.github.com/repos/ukaea/ditto/issues/events{/number}","events_url":"https://api.github.com/repos/ukaea/ditto/events","assignees_url":"https://api.github.com/repos/ukaea/ditto/assignees{/user}","branches_url":"https://api.github.com/repos/ukaea/ditto/branches{/branch}","tags_url":"https://api.github.com/repos/ukaea/ditto/tags","blobs_url":"https://api.github.com/repos/ukaea/ditto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ukaea/ditto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ukaea/ditto/git/refs{/sha}","trees_url":"https://api.github.com/repos/ukaea/ditto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ukaea/ditto/statuses/{sha}","languages_url":"https://api.github.com/repos/ukaea/ditto/languages","stargazers_url":"https://api.github.com/repos/ukaea/ditto/stargazers","contributors_url":"https://api.github.com/repos/ukaea/ditto/contributors","subscribers_url":"https://api.github.com/repos/ukaea/ditto/subscribers","subscription_url":"https://api.github.com/repos/ukaea/ditto/subscription","commits_url":"https://api.github.com/repos/ukaea/ditto/commits{/sha}","git_commits_url":"https://api.github.com/repos/ukaea/ditto/git/commits{/sha}","comments_url":"https://api.github.com/repos/ukaea/ditto/comments{/number}","issue_comment_url":"https://api.github.com/repos/ukaea/ditto/issues/comments{/number}","contents_url":"https://api.github.com/repos/ukaea/ditto/contents/{+path}","compare_url":"https://api.github.com/repos/ukaea/ditto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ukaea/ditto/merges","archive_url":"https://api.github.com/repos/ukaea/ditto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ukaea/ditto/downloads","issues_url":"https://api.github.com/repos/ukaea/ditto/issues{/number}","pulls_url":"https://api.github.com/repos/ukaea/ditto/pulls{/number}","milestones_url":"https://api.github.com/repos/ukaea/ditto/milestones{/number}","notifications_url":"https://api.github.com/repos/ukaea/ditto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ukaea/ditto/labels{/name}","releases_url":"https://api.github.com/repos/ukaea/ditto/releases{/id}","deployments_url":"https://api.github.com/repos/ukaea/ditto/deployments","created_at":"2018-10-25T14:30:56Z","updated_at":"2018-11-15T14:33:50Z","pushed_at":"2018-11-19T09:13:15Z","git_url":"git://github.com/ukaea/ditto.git","ssh_url":"git@github.com:ukaea/ditto.git","clone_url":"https://github.com/ukaea/ditto.git","svn_url":"https://github.com/ukaea/ditto","homepage":null,"size":304,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":25,"license":null,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"base":{"label":"ukaea:master","ref":"master","sha":"fe13f3a24f9d7099b54651764fad7c1a702d36f4","user":{"login":"ukaea","id":14908737,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTA4NzM3","avatar_url":"https://avatars2.githubusercontent.com/u/14908737?v=4","gravatar_id":"","url":"https://api.github.com/users/ukaea","html_url":"https://github.com/ukaea","followers_url":"https://api.github.com/users/ukaea/followers","following_url":"https://api.github.com/users/ukaea/following{/other_user}","gists_url":"https://api.github.com/users/ukaea/gists{/gist_id}","starred_url":"https://api.github.com/users/ukaea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukaea/subscriptions","organizations_url":"https://api.github.com/users/ukaea/orgs","repos_url":"https://api.github.com/users/ukaea/repos","events_url":"https://api.github.com/users/ukaea/events{/privacy}","received_events_url":"https://api.github.com/users/ukaea/received_events","type":"Organization","site_admin":false},"repo":{"id":154685802,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ2ODU4MDI=","name":"ditto","full_name":"ukaea/ditto","private":false,"owner":{"login":"ukaea","id":14908737,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTA4NzM3","avatar_url":"https://avatars2.githubusercontent.com/u/14908737?v=4","gravatar_id":"","url":"https://api.github.com/users/ukaea","html_url":"https://github.com/ukaea","followers_url":"https://api.github.com/users/ukaea/followers","following_url":"https://api.github.com/users/ukaea/following{/other_user}","gists_url":"https://api.github.com/users/ukaea/gists{/gist_id}","starred_url":"https://api.github.com/users/ukaea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukaea/subscriptions","organizations_url":"https://api.github.com/users/ukaea/orgs","repos_url":"https://api.github.com/users/ukaea/repos","events_url":"https://api.github.com/users/ukaea/events{/privacy}","received_events_url":"https://api.github.com/users/ukaea/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ukaea/ditto","description":"ALC project 5","fork":false,"url":"https://api.github.com/repos/ukaea/ditto","forks_url":"https://api.github.com/repos/ukaea/ditto/forks","keys_url":"https://api.github.com/repos/ukaea/ditto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ukaea/ditto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ukaea/ditto/teams","hooks_url":"https://api.github.com/repos/ukaea/ditto/hooks","issue_events_url":"https://api.github.com/repos/ukaea/ditto/issues/events{/number}","events_url":"https://api.github.com/repos/ukaea/ditto/events","assignees_url":"https://api.github.com/repos/ukaea/ditto/assignees{/user}","branches_url":"https://api.github.com/repos/ukaea/ditto/branches{/branch}","tags_url":"https://api.github.com/repos/ukaea/ditto/tags","blobs_url":"https://api.github.com/repos/ukaea/ditto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ukaea/ditto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ukaea/ditto/git/refs{/sha}","trees_url":"https://api.github.com/repos/ukaea/ditto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ukaea/ditto/statuses/{sha}","languages_url":"https://api.github.com/repos/ukaea/ditto/languages","stargazers_url":"https://api.github.com/repos/ukaea/ditto/stargazers","contributors_url":"https://api.github.com/repos/ukaea/ditto/contributors","subscribers_url":"https://api.github.com/repos/ukaea/ditto/subscribers","subscription_url":"https://api.github.com/repos/ukaea/ditto/subscription","commits_url":"https://api.github.com/repos/ukaea/ditto/commits{/sha}","git_commits_url":"https://api.github.com/repos/ukaea/ditto/git/commits{/sha}","comments_url":"https://api.github.com/repos/ukaea/ditto/comments{/number}","issue_comment_url":"https://api.github.com/repos/ukaea/ditto/issues/comments{/number}","contents_url":"https://api.github.com/repos/ukaea/ditto/contents/{+path}","compare_url":"https://api.github.com/repos/ukaea/ditto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ukaea/ditto/merges","archive_url":"https://api.github.com/repos/ukaea/ditto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ukaea/ditto/downloads","issues_url":"https://api.github.com/repos/ukaea/ditto/issues{/number}","pulls_url":"https://api.github.com/repos/ukaea/ditto/pulls{/number}","milestones_url":"https://api.github.com/repos/ukaea/ditto/milestones{/number}","notifications_url":"https://api.github.com/repos/ukaea/ditto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ukaea/ditto/labels{/name}","releases_url":"https://api.github.com/repos/ukaea/ditto/releases{/id}","deployments_url":"https://api.github.com/repos/ukaea/ditto/deployments","created_at":"2018-10-25T14:30:56Z","updated_at":"2018-11-15T14:33:50Z","pushed_at":"2018-11-19T09:13:15Z","git_url":"git://github.com/ukaea/ditto.git","ssh_url":"git@github.com:ukaea/ditto.git","clone_url":"https://github.com/ukaea/ditto.git","svn_url":"https://github.com/ukaea/ditto","homepage":null,"size":304,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":25,"license":null,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ukaea/ditto/pulls/51"},"html":{"href":"https://github.com/ukaea/ditto/pull/51"},"issue":{"href":"https://api.github.com/repos/ukaea/ditto/issues/51"},"comments":{"href":"https://api.github.com/repos/ukaea/ditto/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/ukaea/ditto/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/ukaea/ditto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ukaea/ditto/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/ukaea/ditto/statuses/04e0b3ecda60ad561a527213b3b716577d4ef5af"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"oliver-tarrant-tessella"}}