{"action":"created","comment":{"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/comments/205616813","pull_request_review_id":140925304,"id":205616813,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTYxNjgxMw==","diff_hunk":"@@ -14,7 +14,7 @@ def self.check_version_on_dir(last_checked_b4_date, storage_dir, limit=Settings.\n       # We can't use ActiveRecord's .find_each, because that'll disregard the order .least_recent_version_audit\n       # specified.  so we use our own batch processing method, which does respect Relation order.\n       pcs_to_audit_relation =\n-        PreservedCopy.least_recent_version_audit(last_checked_b4_date).by_storage_location(storage_dir)\n+        CompleteMoab.least_recent_version_audit(last_checked_b4_date).by_storage_location(storage_dir)\n       ActiveRecordUtils.process_in_batches(pcs_to_audit_relation, limit) do |pc|\n         c2m = CatalogToMoab.new(pc, storage_dir)","path":"app/lib/audit/catalog_to_moab.rb","position":7,"original_position":7,"commit_id":"43e172734cb0550695228b9b1588368f8ce28e8c","original_commit_id":"43e172734cb0550695228b9b1588368f8ce28e8c","user":{"login":"SaravShah","id":7877303,"node_id":"MDQ6VXNlcjc4NzczMDM=","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":"`pc` to `cm`","created_at":"2018-07-26T22:04:08Z","updated_at":"2018-07-26T22:04:57Z","html_url":"https://github.com/sul-dlss/preservation_catalog/pull/1022#discussion_r205616813","pull_request_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/1022","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/comments/205616813"},"html":{"href":"https://github.com/sul-dlss/preservation_catalog/pull/1022#discussion_r205616813"},"pull_request":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/1022"}}},"pull_request":{"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/1022","id":204263470,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MjYzNDcw","html_url":"https://github.com/sul-dlss/preservation_catalog/pull/1022","diff_url":"https://github.com/sul-dlss/preservation_catalog/pull/1022.diff","patch_url":"https://github.com/sul-dlss/preservation_catalog/pull/1022.patch","issue_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/1022","number":1022,"state":"open","locked":false,"title":"Rename PreservedCopy to CompleteMoab","user":{"login":"tallenaz","id":97104,"node_id":"MDQ6VXNlcjk3MTA0","avatar_url":"https://avatars0.githubusercontent.com/u/97104?v=4","gravatar_id":"","url":"https://api.github.com/users/tallenaz","html_url":"https://github.com/tallenaz","followers_url":"https://api.github.com/users/tallenaz/followers","following_url":"https://api.github.com/users/tallenaz/following{/other_user}","gists_url":"https://api.github.com/users/tallenaz/gists{/gist_id}","starred_url":"https://api.github.com/users/tallenaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tallenaz/subscriptions","organizations_url":"https://api.github.com/users/tallenaz/orgs","repos_url":"https://api.github.com/users/tallenaz/repos","events_url":"https://api.github.com/users/tallenaz/events{/privacy}","received_events_url":"https://api.github.com/users/tallenaz/received_events","type":"User","site_admin":false},"body":" Fixes #980 ","created_at":"2018-07-26T20:51:59Z","updated_at":"2018-07-26T22:04:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0d8da1d332ba30ff89e3a751b70d9eec0afca00","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":719133329,"node_id":"MDU6TGFiZWw3MTkxMzMzMjk=","url":"https://api.github.com/repos/sul-dlss/preservation_catalog/labels/needs%20review","name":"needs review","color":"e6e6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/1022/commits","review_comments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/1022/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/1022/comments","statuses_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/statuses/43e172734cb0550695228b9b1588368f8ce28e8c","head":{"label":"sul-dlss:pc-to-complete-moab","ref":"pc-to-complete-moab","sha":"43e172734cb0550695228b9b1588368f8ce28e8c","user":{"login":"sul-dlss","id":230583,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU4Mw==","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMDA1MTc0NTM=","name":"preservation_catalog","full_name":"sul-dlss/preservation_catalog","owner":{"login":"sul-dlss","id":230583,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU4Mw==","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 to track, audit and replicate archival artifacts associated with SDR objects.","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-07-26T18:37:40Z","pushed_at":"2018-07-26T21:20:50Z","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":"","size":272053,"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":91,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":91,"watchers":1,"default_branch":"master"}},"base":{"label":"sul-dlss:master","ref":"master","sha":"bed7d0b59e3d9f64997ab2b6937cdd6f9a9c7644","user":{"login":"sul-dlss","id":230583,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU4Mw==","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMDA1MTc0NTM=","name":"preservation_catalog","full_name":"sul-dlss/preservation_catalog","owner":{"login":"sul-dlss","id":230583,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU4Mw==","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 to track, audit and replicate archival artifacts associated with SDR objects.","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-07-26T18:37:40Z","pushed_at":"2018-07-26T21:20:50Z","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":"","size":272053,"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":91,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":91,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/1022"},"html":{"href":"https://github.com/sul-dlss/preservation_catalog/pull/1022"},"issue":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/1022"},"comments":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/1022/comments"},"review_comments":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/pulls/1022/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/1022/commits"},"statuses":{"href":"https://api.github.com/repos/sul-dlss/preservation_catalog/statuses/43e172734cb0550695228b9b1588368f8ce28e8c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"SaravShah"}}