{"action":"created","comment":{"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/comments/165799327","pull_request_review_id":93801404,"id":165799327,"diff_hunk":"@@ -128,14 +128,18 @@ task :c2m_check_version_on_dir, [:last_checked_b4_date, :storage_root, :profile]\n   root = args[:storage_root].to_sym\n   storage_dir = \"#{Settings.moab.storage_roots[root]}/#{Settings.moab.storage_trunk}\"\n   last_checked = args[:last_checked_b4_date].to_sym\n-\n-  if args[:profile] == 'profile'\n-    puts \"When done, check log/profile_c2m_check_version_on_dir[TIMESTAMP].txt for profiling details\"\n-    CatalogToMoab.check_version_on_dir_profiled(last_checked, storage_dir)\n-  elsif args[:profile].nil?\n-    CatalogToMoab.check_version_on_dir(last_checked, storage_dir)\n+  begin\n+    if args[:profile] == 'profile'\n+      puts \"When done, check log/profile_c2m_check_version_on_dir[TIMESTAMP].txt for profiling details\"\n+      CatalogToMoab.check_version_on_dir_profiled(last_checked, storage_dir)\n+    elsif args[:profile].nil?\n+      CatalogToMoab.check_version_on_dir(last_checked, storage_dir)\n+    end\n+    puts \"#{Time.now.utc.iso8601} Catalog to Moab version check on #{storage_dir} is done.\"\n+  rescue StandardError","path":"Rakefile","position":18,"original_position":18,"commit_id":"e77a482d76fa10106ec9defc2249a9256f21cec8","original_commit_id":"e77a482d76fa10106ec9defc2249a9256f21cec8","user":{"login":"jmartin-sul","id":7741604,"avatar_url":"https://avatars1.githubusercontent.com/u/7741604?v=4","gravatar_id":"","url":"https://api.github.com/users/jmartin-sul","html_url":"https://github.com/jmartin-sul","followers_url":"https://api.github.com/users/jmartin-sul/followers","following_url":"https://api.github.com/users/jmartin-sul/following{/other_user}","gists_url":"https://api.github.com/users/jmartin-sul/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartin-sul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartin-sul/subscriptions","organizations_url":"https://api.github.com/users/jmartin-sul/orgs","repos_url":"https://api.github.com/users/jmartin-sul/repos","events_url":"https://api.github.com/users/jmartin-sul/events{/privacy}","received_events_url":"https://api.github.com/users/jmartin-sul/received_events","type":"User","site_admin":false},"body":"here i think i'd be more specific and `rescue ArgumentError, TypeError`","created_at":"2018-02-03T01:40:19Z","updated_at":"2018-02-03T01:48:39Z","html_url":"https://github.com/sul-dlss/preservation_catalog/pull/550#discussion_r165799327","pull_request_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/comments/165799327"},"html":{"href":"https://github.com/sul-dlss/preservation_catalog/pull/550#discussion_r165799327"},"pull_request":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550"}}},"pull_request":{"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550","id":166632830,"html_url":"https://github.com/sul-dlss/preservation_catalog/pull/550","diff_url":"https://github.com/sul-dlss/preservation_catalog/pull/550.diff","patch_url":"https://github.com/sul-dlss/preservation_catalog/pull/550.patch","issue_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/550","number":550,"state":"open","locked":false,"title":"Date format","user":{"login":"SaravShah","id":7877303,"avatar_url":"https://avatars1.githubusercontent.com/u/7877303?v=4","gravatar_id":"","url":"https://api.github.com/users/SaravShah","html_url":"https://github.com/SaravShah","followers_url":"https://api.github.com/users/SaravShah/followers","following_url":"https://api.github.com/users/SaravShah/following{/other_user}","gists_url":"https://api.github.com/users/SaravShah/gists{/gist_id}","starred_url":"https://api.github.com/users/SaravShah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaravShah/subscriptions","organizations_url":"https://api.github.com/users/SaravShah/orgs","repos_url":"https://api.github.com/users/SaravShah/repos","events_url":"https://api.github.com/users/SaravShah/events{/privacy}","received_events_url":"https://api.github.com/users/SaravShah/received_events","type":"User","site_admin":false},"body":"- probably only needs 1 pair of eyes\r\n- adds .normalize_date(timestamp) so last_checked_b4_date can either be a Time object, String, or nil.\r\n- RSpec tests for this method\r\n- Rubocop exception\r\ncloses #485","created_at":"2018-02-01T19:42:25Z","updated_at":"2018-02-03T01:48:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18594765c44d8623ce1700c282c8026c3b344bca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550/commits","review_comments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550/comments","review_comment_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/550/comments","statuses_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/statuses/e77a482d76fa10106ec9defc2249a9256f21cec8","head":{"label":"sul-dlss:date_format","ref":"date_format","sha":"e77a482d76fa10106ec9defc2249a9256f21cec8","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars1.githubusercontent.com/u/230583?v=4","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":100517453,"name":"preservation_catalog","full_name":"sul-dlss/preservation_catalog","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars1.githubusercontent.com/u/230583?v=4","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/preservation_catalog","description":"Rails application with fixity data and object provenance supporting preservation object storage audit services","fork":false,"url":"https://api.github.com/repos/sul-dlss/preservation_catalog","forks_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/forks","keys_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/teams","hooks_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/events","assignees_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/tags","blobs_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/subscription","commits_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/merges","archive_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/downloads","issues_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/releases{/id}","deployments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/deployments","created_at":"2017-08-16T17:55:52Z","updated_at":"2018-02-02T18:20:53Z","pushed_at":"2018-02-02T23:38:28Z","git_url":"git://github.com/sul-dlss/preservation_catalog.git","ssh_url":"git@github.com:sul-dlss/preservation_catalog.git","clone_url":"https://github.com/sul-dlss/preservation_catalog.git","svn_url":"https://github.com/sul-dlss/preservation_catalog","homepage":null,"size":271309,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":64,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":64,"watchers":1,"default_branch":"master"}},"base":{"label":"sul-dlss:master","ref":"master","sha":"a35450e41f4f655127e53c434760105e9bf58973","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars1.githubusercontent.com/u/230583?v=4","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":100517453,"name":"preservation_catalog","full_name":"sul-dlss/preservation_catalog","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars1.githubusercontent.com/u/230583?v=4","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/preservation_catalog","description":"Rails application with fixity data and object provenance supporting preservation object storage audit services","fork":false,"url":"https://api.github.com/repos/sul-dlss/preservation_catalog","forks_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/forks","keys_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/teams","hooks_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/events","assignees_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/tags","blobs_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/subscription","commits_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/merges","archive_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/downloads","issues_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/releases{/id}","deployments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/deployments","created_at":"2017-08-16T17:55:52Z","updated_at":"2018-02-02T18:20:53Z","pushed_at":"2018-02-02T23:38:28Z","git_url":"git://github.com/sul-dlss/preservation_catalog.git","ssh_url":"git@github.com:sul-dlss/preservation_catalog.git","clone_url":"https://github.com/sul-dlss/preservation_catalog.git","svn_url":"https://github.com/sul-dlss/preservation_catalog","homepage":null,"size":271309,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":64,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":64,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550"},"html":{"href":"https://github.com/sul-dlss/preservation_catalog/pull/550"},"issue":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/550"},"comments":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/550/comments"},"review_comments":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550/comments"},"review_comment":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/550/commits"},"statuses":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/statuses/e77a482d76fa10106ec9defc2249a9256f21cec8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jmartin-sul"}}