{"action":"opened","number":1292,"pull_request":{"url":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/1292","id":194646434,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NjQ2NDM0","html_url":"https://github.com/psu-stewardship/scholarsphere/pull/1292","diff_url":"https://github.com/psu-stewardship/scholarsphere/pull/1292.diff","patch_url":"https://github.com/psu-stewardship/scholarsphere/pull/1292.patch","issue_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/1292","number":1292,"state":"open","locked":false,"title":"Change all internal files versions to external files","user":{"login":"little9","id":4324761,"node_id":"MDQ6VXNlcjQzMjQ3NjE=","avatar_url":"https://avatars1.githubusercontent.com/u/4324761?v=4","gravatar_id":"","url":"https://api.github.com/users/little9","html_url":"https://github.com/little9","followers_url":"https://api.github.com/users/little9/followers","following_url":"https://api.github.com/users/little9/following{/other_user}","gists_url":"https://api.github.com/users/little9/gists{/gist_id}","starred_url":"https://api.github.com/users/little9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/little9/subscriptions","organizations_url":"https://api.github.com/users/little9/orgs","repos_url":"https://api.github.com/users/little9/repos","events_url":"https://api.github.com/users/little9/events{/privacy}","received_events_url":"https://api.github.com/users/little9/received_events","type":"User","site_admin":false},"body":"This commit includes a class that takes a Work type and\r\nconverts each of the objects to use external storage.\r\n\r\nIt does this by creating new versions of the files and deleting\r\nthe old versions. The version slugs created by ActiveFedora are\r\npreserver. 'version1' remains 'version1' after the conversion.\r\nThe version number is retained by setting an env variable that\r\nis checked by the overridden `version_name` method in\r\n`ActiveFedora::File`. Instead of incrementing it will decrement,\r\nmaintaining the correct version number as the conversion happens.\r\n\r\nThere is a rake task to run this conversion that you can run:\r\n`rake scholarsphere:internal_to_external_files`","created_at":"2018-06-13T16:33:21Z","updated_at":"2018-06-13T16:33:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/1292/commits","review_comments_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/1292/comments","review_comment_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/1292/comments","statuses_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/statuses/2abc47d97e8a50294689b7ba0ecb76c1817adc28","head":{"label":"psu-stewardship:versions/convert-all-versions","ref":"versions/convert-all-versions","sha":"2abc47d97e8a50294689b7ba0ecb76c1817adc28","user":{"login":"psu-stewardship","id":653493,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY1MzQ5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/653493?v=4","gravatar_id":"","url":"https://api.github.com/users/psu-stewardship","html_url":"https://github.com/psu-stewardship","followers_url":"https://api.github.com/users/psu-stewardship/followers","following_url":"https://api.github.com/users/psu-stewardship/following{/other_user}","gists_url":"https://api.github.com/users/psu-stewardship/gists{/gist_id}","starred_url":"https://api.github.com/users/psu-stewardship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psu-stewardship/subscriptions","organizations_url":"https://api.github.com/users/psu-stewardship/orgs","repos_url":"https://api.github.com/users/psu-stewardship/repos","events_url":"https://api.github.com/users/psu-stewardship/events{/privacy}","received_events_url":"https://api.github.com/users/psu-stewardship/received_events","type":"Organization","site_admin":false},"repo":{"id":2481963,"node_id":"MDEwOlJlcG9zaXRvcnkyNDgxOTYz","name":"scholarsphere","full_name":"psu-stewardship/scholarsphere","owner":{"login":"psu-stewardship","id":653493,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY1MzQ5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/653493?v=4","gravatar_id":"","url":"https://api.github.com/users/psu-stewardship","html_url":"https://github.com/psu-stewardship","followers_url":"https://api.github.com/users/psu-stewardship/followers","following_url":"https://api.github.com/users/psu-stewardship/following{/other_user}","gists_url":"https://api.github.com/users/psu-stewardship/gists{/gist_id}","starred_url":"https://api.github.com/users/psu-stewardship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psu-stewardship/subscriptions","organizations_url":"https://api.github.com/users/psu-stewardship/orgs","repos_url":"https://api.github.com/users/psu-stewardship/repos","events_url":"https://api.github.com/users/psu-stewardship/events{/privacy}","received_events_url":"https://api.github.com/users/psu-stewardship/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/psu-stewardship/scholarsphere","description":"A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)","fork":false,"url":"https://api.github.com/repos/psu-stewardship/scholarsphere","forks_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/forks","keys_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/teams","hooks_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/hooks","issue_events_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/events{/number}","events_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/events","assignees_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/assignees{/user}","branches_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/branches{/branch}","tags_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/tags","blobs_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/statuses/{sha}","languages_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/languages","stargazers_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/stargazers","contributors_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/contributors","subscribers_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/subscribers","subscription_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/subscription","commits_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/contents/{+path}","compare_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/merges","archive_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/downloads","issues_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues{/number}","pulls_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls{/number}","milestones_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/milestones{/number}","notifications_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/labels{/name}","releases_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/releases{/id}","deployments_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/deployments","created_at":"2011-09-29T13:12:23Z","updated_at":"2018-06-13T13:17:38Z","pushed_at":"2018-06-13T16:32:58Z","git_url":"git://github.com/psu-stewardship/scholarsphere.git","ssh_url":"git@github.com:psu-stewardship/scholarsphere.git","clone_url":"https://github.com/psu-stewardship/scholarsphere.git","svn_url":"https://github.com/psu-stewardship/scholarsphere","homepage":"","size":100077,"stargazers_count":69,"watchers_count":69,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":181,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":20,"open_issues":181,"watchers":69,"default_branch":"develop"}},"base":{"label":"psu-stewardship:develop","ref":"develop","sha":"3e75bfbb48495561b9c3fb70c7fd2d50055e0154","user":{"login":"psu-stewardship","id":653493,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY1MzQ5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/653493?v=4","gravatar_id":"","url":"https://api.github.com/users/psu-stewardship","html_url":"https://github.com/psu-stewardship","followers_url":"https://api.github.com/users/psu-stewardship/followers","following_url":"https://api.github.com/users/psu-stewardship/following{/other_user}","gists_url":"https://api.github.com/users/psu-stewardship/gists{/gist_id}","starred_url":"https://api.github.com/users/psu-stewardship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psu-stewardship/subscriptions","organizations_url":"https://api.github.com/users/psu-stewardship/orgs","repos_url":"https://api.github.com/users/psu-stewardship/repos","events_url":"https://api.github.com/users/psu-stewardship/events{/privacy}","received_events_url":"https://api.github.com/users/psu-stewardship/received_events","type":"Organization","site_admin":false},"repo":{"id":2481963,"node_id":"MDEwOlJlcG9zaXRvcnkyNDgxOTYz","name":"scholarsphere","full_name":"psu-stewardship/scholarsphere","owner":{"login":"psu-stewardship","id":653493,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY1MzQ5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/653493?v=4","gravatar_id":"","url":"https://api.github.com/users/psu-stewardship","html_url":"https://github.com/psu-stewardship","followers_url":"https://api.github.com/users/psu-stewardship/followers","following_url":"https://api.github.com/users/psu-stewardship/following{/other_user}","gists_url":"https://api.github.com/users/psu-stewardship/gists{/gist_id}","starred_url":"https://api.github.com/users/psu-stewardship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psu-stewardship/subscriptions","organizations_url":"https://api.github.com/users/psu-stewardship/orgs","repos_url":"https://api.github.com/users/psu-stewardship/repos","events_url":"https://api.github.com/users/psu-stewardship/events{/privacy}","received_events_url":"https://api.github.com/users/psu-stewardship/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/psu-stewardship/scholarsphere","description":"A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)","fork":false,"url":"https://api.github.com/repos/psu-stewardship/scholarsphere","forks_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/forks","keys_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/teams","hooks_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/hooks","issue_events_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/events{/number}","events_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/events","assignees_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/assignees{/user}","branches_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/branches{/branch}","tags_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/tags","blobs_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/statuses/{sha}","languages_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/languages","stargazers_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/stargazers","contributors_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/contributors","subscribers_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/subscribers","subscription_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/subscription","commits_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/contents/{+path}","compare_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/merges","archive_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/downloads","issues_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues{/number}","pulls_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls{/number}","milestones_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/milestones{/number}","notifications_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/labels{/name}","releases_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/releases{/id}","deployments_url":"https://api.github.com/repos/psu-stewardship/scholarsphere/deployments","created_at":"2011-09-29T13:12:23Z","updated_at":"2018-06-13T13:17:38Z","pushed_at":"2018-06-13T16:32:58Z","git_url":"git://github.com/psu-stewardship/scholarsphere.git","ssh_url":"git@github.com:psu-stewardship/scholarsphere.git","clone_url":"https://github.com/psu-stewardship/scholarsphere.git","svn_url":"https://github.com/psu-stewardship/scholarsphere","homepage":"","size":100077,"stargazers_count":69,"watchers_count":69,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":181,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":20,"open_issues":181,"watchers":69,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/1292"},"html":{"href":"https://github.com/psu-stewardship/scholarsphere/pull/1292"},"issue":{"href":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/1292"},"comments":{"href":"https://api.github.com/repos/psu-stewardship/scholarsphere/issues/1292/comments"},"review_comments":{"href":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/1292/comments"},"review_comment":{"href":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/psu-stewardship/scholarsphere/pulls/1292/commits"},"statuses":{"href":"https://api.github.com/repos/psu-stewardship/scholarsphere/statuses/2abc47d97e8a50294689b7ba0ecb76c1817adc28"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":119,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"little9"}}