{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/28612436","id":28612436,"diff_hunk":"@@ -1,27 +1,27 @@\n <script type=\"text/html\" id=\"dataverse_file_added\">\n added file\n-<a class=\"overflow log-file-link\" data-bind=\"attr: {href: params.path}, text: params.filename\"></a> to\n-Dataverse study <span class=\"overflow\">{{ params.study }}</span>\n+<a class=\"overflow log-file-link\" data-bind=\"click: NodeActions.addonFileRedirect, text: params.filename\"></a> to\n+Dataverse dataset <span class=\"overflow\">{{ params.dataset }}</span>\n in {{ nodeType }}\n <a class=\"log-node-title-link overflow\" data-bind=\"attr: {href: nodeUrl}\">{{ nodeTitle }}</a>\n </script>\n \n <script type=\"text/html\" id=\"dataverse_file_removed\">\n removed file <span class=\"overflow\">{{ params.filename }}</span> from\n-Dataverse study <span class=\"overflow\">{{ params.study }}</span>\n+Dataverse dataset <span class=\"overflow\">{{ params.dataset }}</span>\n in {{ nodeType }}\n <a class=\"log-node-title-link overflow\" data-bind=\"attr: {href: nodeUrl}\">{{ nodeTitle }}</a>\n </script>\n \n-<script type=\"text/html\" id=\"dataverse_study_linked\">","path":"website/addons/dataverse/templates/log_templates.mako","position":null,"original_position":19,"commit_id":"d49f7a90df90b2d54d182b786192320bd6550655","original_commit_id":"13c742b5869ef84022c8740d0c71368edd5f3568","user":{"login":"rliebz","id":5321575,"avatar_url":"https://avatars.githubusercontent.com/u/5321575?v=3","gravatar_id":"","url":"https://api.github.com/users/rliebz","html_url":"https://github.com/rliebz","followers_url":"https://api.github.com/users/rliebz/followers","following_url":"https://api.github.com/users/rliebz/following{/other_user}","gists_url":"https://api.github.com/users/rliebz/gists{/gist_id}","starred_url":"https://api.github.com/users/rliebz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rliebz/subscriptions","organizations_url":"https://api.github.com/users/rliebz/orgs","repos_url":"https://api.github.com/users/rliebz/repos","events_url":"https://api.github.com/users/rliebz/events{/privacy}","received_events_url":"https://api.github.com/users/rliebz/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-04-17T17:16:47Z","updated_at":"2015-04-17T17:16:47Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/2426#discussion_r28612436","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/28612436"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/2426#discussion_r28612436"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426","id":32976972,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/2426","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/2426.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/2426.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2426","number":2426,"state":"open","locked":false,"title":"Feature/Dataverse 4.0","user":{"login":"rliebz","id":5321575,"avatar_url":"https://avatars.githubusercontent.com/u/5321575?v=3","gravatar_id":"","url":"https://api.github.com/users/rliebz","html_url":"https://github.com/rliebz","followers_url":"https://api.github.com/users/rliebz/followers","following_url":"https://api.github.com/users/rliebz/following{/other_user}","gists_url":"https://api.github.com/users/rliebz/gists{/gist_id}","starred_url":"https://api.github.com/users/rliebz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rliebz/subscriptions","organizations_url":"https://api.github.com/users/rliebz/orgs","repos_url":"https://api.github.com/users/rliebz/repos","events_url":"https://api.github.com/users/rliebz/events{/privacy}","received_events_url":"https://api.github.com/users/rliebz/received_events","type":"User","site_admin":false},"body":"Purpose\r\n---\r\n - Allow integration of Dataverse 4.0 into the OSF\r\n - Use waterbutler for Dataverse CRUD\r\n\r\nChanges\r\n---\r\n - Renaming of various methods/variables to match\r\n    - All instances of \"study\" become \"dataset\"\r\n    - All instances of \"hdl\" become \"doi\"\r\n    - All instances of \"release\" become \"publish\"\r\n - Add migration scripts for 2 possible scenarios\r\n - Change error handling to accommodate changes to python client\r\n - Allowing publishing of Dataverses\r\n - Switch from username/password to api token\r\n - Create appropriate waterbutler endpoints\r\n - Remove deprecated CRUD routes\r\n - Update state selector based on publishing\r\n\r\nSide effects\r\n---\r\n - A migration will need to be performed\r\n   - ~~If https://github.com/IQSS/dataverse/issues/1935 is resolved, run `dataverse/migrate_credentials_to_token` then `dataverse/migrate_study_after_token`~~\r\n   - If the issue is not resolved, run `dataverse/migrate_study`\r\n - Users may have to re-input credentials (depending on above issue)\r\n - This PR requires https://github.com/CenterForOpenScience/waterbutler/pull/32 to be merged in.\r\n\r\nKnown Issues\r\n---\r\n - After a dataset is published, a file deletion cannot be the first action taken. This will be resolved by Dataverse at some point. \r\n - The Dataverse release is planned for April 13th at an unknown hour. After the release, Dataverse will be unusable on the OSF until this branch is merged in.\r\n    - This branch is also backwards incompatible with Dataverse 3.6\r\n - ~~The download button is not appearing on the file view page. I'm looking into this now.~~","created_at":"2015-04-09T17:21:45Z","updated_at":"2015-04-17T17:16:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1adc231fed33cbba6e4304d5ae6690acc6bf2835","assignee":null,"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/30","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.33.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/30/labels","id":1065026,"number":30,"title":"0.33.0","description":"","creator":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2015-04-13T13:12:11Z","updated_at":"2015-04-14T17:10:29Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2426/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/d49f7a90df90b2d54d182b786192320bd6550655","head":{"label":"rliebz:feature/4.0-wb","ref":"feature/4.0-wb","sha":"d49f7a90df90b2d54d182b786192320bd6550655","user":{"login":"rliebz","id":5321575,"avatar_url":"https://avatars.githubusercontent.com/u/5321575?v=3","gravatar_id":"","url":"https://api.github.com/users/rliebz","html_url":"https://github.com/rliebz","followers_url":"https://api.github.com/users/rliebz/followers","following_url":"https://api.github.com/users/rliebz/following{/other_user}","gists_url":"https://api.github.com/users/rliebz/gists{/gist_id}","starred_url":"https://api.github.com/users/rliebz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rliebz/subscriptions","organizations_url":"https://api.github.com/users/rliebz/orgs","repos_url":"https://api.github.com/users/rliebz/repos","events_url":"https://api.github.com/users/rliebz/events{/privacy}","received_events_url":"https://api.github.com/users/rliebz/received_events","type":"User","site_admin":false},"repo":{"id":26920022,"name":"osf.io","full_name":"rliebz/osf.io","owner":{"login":"rliebz","id":5321575,"avatar_url":"https://avatars.githubusercontent.com/u/5321575?v=3","gravatar_id":"","url":"https://api.github.com/users/rliebz","html_url":"https://github.com/rliebz","followers_url":"https://api.github.com/users/rliebz/followers","following_url":"https://api.github.com/users/rliebz/following{/other_user}","gists_url":"https://api.github.com/users/rliebz/gists{/gist_id}","starred_url":"https://api.github.com/users/rliebz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rliebz/subscriptions","organizations_url":"https://api.github.com/users/rliebz/orgs","repos_url":"https://api.github.com/users/rliebz/repos","events_url":"https://api.github.com/users/rliebz/events{/privacy}","received_events_url":"https://api.github.com/users/rliebz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rliebz/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/rliebz/osf.io","forks_url":"https://api.github.com/repos/rliebz/osf.io/forks","keys_url":"https://api.github.com/repos/rliebz/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rliebz/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rliebz/osf.io/teams","hooks_url":"https://api.github.com/repos/rliebz/osf.io/hooks","issue_events_url":"https://api.github.com/repos/rliebz/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/rliebz/osf.io/events","assignees_url":"https://api.github.com/repos/rliebz/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/rliebz/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/rliebz/osf.io/tags","blobs_url":"https://api.github.com/repos/rliebz/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rliebz/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rliebz/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/rliebz/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rliebz/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/rliebz/osf.io/languages","stargazers_url":"https://api.github.com/repos/rliebz/osf.io/stargazers","contributors_url":"https://api.github.com/repos/rliebz/osf.io/contributors","subscribers_url":"https://api.github.com/repos/rliebz/osf.io/subscribers","subscription_url":"https://api.github.com/repos/rliebz/osf.io/subscription","commits_url":"https://api.github.com/repos/rliebz/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/rliebz/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/rliebz/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/rliebz/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/rliebz/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/rliebz/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rliebz/osf.io/merges","archive_url":"https://api.github.com/repos/rliebz/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rliebz/osf.io/downloads","issues_url":"https://api.github.com/repos/rliebz/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/rliebz/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/rliebz/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/rliebz/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rliebz/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/rliebz/osf.io/releases{/id}","created_at":"2014-11-20T16:02:05Z","updated_at":"2015-03-03T18:43:17Z","pushed_at":"2015-04-17T17:16:18Z","git_url":"git://github.com/rliebz/osf.io.git","ssh_url":"git@github.com:rliebz/osf.io.git","clone_url":"https://github.com/rliebz/osf.io.git","svn_url":"https://github.com/rliebz/osf.io","homepage":"http://osf.io","size":83947,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"2d01adbb416d466c8770d838234dd63d2dde82b8","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","created_at":"2013-05-21T15:53:37Z","updated_at":"2015-04-17T14:25:13Z","pushed_at":"2015-04-17T17:16:19Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":193070,"stargazers_count":96,"watchers_count":96,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":371,"forks":70,"open_issues":371,"watchers":96,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/2426"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2426"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2426/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2426/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/d49f7a90df90b2d54d182b786192320bd6550655"}}}}