{"action":"created","comment":{"url":"https://api.github.com/repos/ualbertalib/jupiter/pulls/comments/166768099","pull_request_review_id":94884873,"id":166768099,"diff_hunk":"@@ -15,7 +15,8 @@ class DraftItem < ApplicationRecord\n                   attribution_share_alike: 5,\n                   cco_universal: 6,\n                   public_domain_mark: 7,\n-                  license_text: 8 }\n+                  license_text: 8,\n+                  unselected: 9}","path":"app/models/draft_item.rb","position":6,"original_position":6,"commit_id":"de0bac45e142b0e823c0c6e3d5e2ad92bba98561","original_commit_id":"28a7d8ea2e094f8509bd70b678ac488157ec8c80","user":{"login":"murny","id":1930474,"avatar_url":"https://avatars3.githubusercontent.com/u/1930474?v=4","gravatar_id":"","url":"https://api.github.com/users/murny","html_url":"https://github.com/murny","followers_url":"https://api.github.com/users/murny/followers","following_url":"https://api.github.com/users/murny/following{/other_user}","gists_url":"https://api.github.com/users/murny/gists{/gist_id}","starred_url":"https://api.github.com/users/murny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murny/subscriptions","organizations_url":"https://api.github.com/users/murny/orgs","repos_url":"https://api.github.com/users/murny/repos","events_url":"https://api.github.com/users/murny/events{/privacy}","received_events_url":"https://api.github.com/users/murny/received_events","type":"User","site_admin":false},"body":"What's this look like from UI? \r\n\r\nCreation nothing changes?\r\n\r\nBut Edit if you try to save an item (only on review screen?) with an old license, you will just get prompted an error message, which you will then need to navigate to choose license/visibility page and choose something? Something like that?\r\n\r\n ","created_at":"2018-02-07T21:53:41Z","updated_at":"2018-02-07T21:53:41Z","html_url":"https://github.com/ualbertalib/jupiter/pull/442#discussion_r166768099","pull_request_url":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/jupiter/pulls/comments/166768099"},"html":{"href":"https://github.com/ualbertalib/jupiter/pull/442#discussion_r166768099"},"pull_request":{"href":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442"}}},"pull_request":{"url":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442","id":167817442,"html_url":"https://github.com/ualbertalib/jupiter/pull/442","diff_url":"https://github.com/ualbertalib/jupiter/pull/442.diff","patch_url":"https://github.com/ualbertalib/jupiter/pull/442.patch","issue_url":"https://api.github.com/repos/ualbertalib/jupiter/issues/442","number":442,"state":"open","locked":false,"title":"Fix issues with draft editing antique licenses and files on new drafts","user":{"login":"mbarnett","id":51773,"avatar_url":"https://avatars1.githubusercontent.com/u/51773?v=4","gravatar_id":"","url":"https://api.github.com/users/mbarnett","html_url":"https://github.com/mbarnett","followers_url":"https://api.github.com/users/mbarnett/followers","following_url":"https://api.github.com/users/mbarnett/following{/other_user}","gists_url":"https://api.github.com/users/mbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnett/subscriptions","organizations_url":"https://api.github.com/users/mbarnett/orgs","repos_url":"https://api.github.com/users/mbarnett/repos","events_url":"https://api.github.com/users/mbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnett/received_events","type":"User","site_admin":false},"body":"Also resolves an issue with autoloading conflicting with the cache reloader in Development mode after editing a file in some cases.","created_at":"2018-02-07T21:44:29Z","updated_at":"2018-02-07T21:53:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ad708e3d14f24038e456e6d851c2bc92e11191f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442/commits","review_comments_url":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442/comments","review_comment_url":"https://api.github.com/repos/ualbertalib/jupiter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ualbertalib/jupiter/issues/442/comments","statuses_url":"https://api.github.com/repos/ualbertalib/jupiter/statuses/de0bac45e142b0e823c0c6e3d5e2ad92bba98561","head":{"label":"mbarnett:item_edit_bugs","ref":"item_edit_bugs","sha":"de0bac45e142b0e823c0c6e3d5e2ad92bba98561","user":{"login":"mbarnett","id":51773,"avatar_url":"https://avatars1.githubusercontent.com/u/51773?v=4","gravatar_id":"","url":"https://api.github.com/users/mbarnett","html_url":"https://github.com/mbarnett","followers_url":"https://api.github.com/users/mbarnett/followers","following_url":"https://api.github.com/users/mbarnett/following{/other_user}","gists_url":"https://api.github.com/users/mbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnett/subscriptions","organizations_url":"https://api.github.com/users/mbarnett/orgs","repos_url":"https://api.github.com/users/mbarnett/repos","events_url":"https://api.github.com/users/mbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnett/received_events","type":"User","site_admin":false},"repo":{"id":96470644,"name":"jupiter","full_name":"mbarnett/jupiter","owner":{"login":"mbarnett","id":51773,"avatar_url":"https://avatars1.githubusercontent.com/u/51773?v=4","gravatar_id":"","url":"https://api.github.com/users/mbarnett","html_url":"https://github.com/mbarnett","followers_url":"https://api.github.com/users/mbarnett/followers","following_url":"https://api.github.com/users/mbarnett/following{/other_user}","gists_url":"https://api.github.com/users/mbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnett/subscriptions","organizations_url":"https://api.github.com/users/mbarnett/orgs","repos_url":"https://api.github.com/users/mbarnett/repos","events_url":"https://api.github.com/users/mbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbarnett/jupiter","description":"An experiment","fork":true,"url":"https://api.github.com/repos/mbarnett/jupiter","forks_url":"https://api.github.com/repos/mbarnett/jupiter/forks","keys_url":"https://api.github.com/repos/mbarnett/jupiter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbarnett/jupiter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbarnett/jupiter/teams","hooks_url":"https://api.github.com/repos/mbarnett/jupiter/hooks","issue_events_url":"https://api.github.com/repos/mbarnett/jupiter/issues/events{/number}","events_url":"https://api.github.com/repos/mbarnett/jupiter/events","assignees_url":"https://api.github.com/repos/mbarnett/jupiter/assignees{/user}","branches_url":"https://api.github.com/repos/mbarnett/jupiter/branches{/branch}","tags_url":"https://api.github.com/repos/mbarnett/jupiter/tags","blobs_url":"https://api.github.com/repos/mbarnett/jupiter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbarnett/jupiter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbarnett/jupiter/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbarnett/jupiter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbarnett/jupiter/statuses/{sha}","languages_url":"https://api.github.com/repos/mbarnett/jupiter/languages","stargazers_url":"https://api.github.com/repos/mbarnett/jupiter/stargazers","contributors_url":"https://api.github.com/repos/mbarnett/jupiter/contributors","subscribers_url":"https://api.github.com/repos/mbarnett/jupiter/subscribers","subscription_url":"https://api.github.com/repos/mbarnett/jupiter/subscription","commits_url":"https://api.github.com/repos/mbarnett/jupiter/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbarnett/jupiter/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbarnett/jupiter/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbarnett/jupiter/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbarnett/jupiter/contents/{+path}","compare_url":"https://api.github.com/repos/mbarnett/jupiter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbarnett/jupiter/merges","archive_url":"https://api.github.com/repos/mbarnett/jupiter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbarnett/jupiter/downloads","issues_url":"https://api.github.com/repos/mbarnett/jupiter/issues{/number}","pulls_url":"https://api.github.com/repos/mbarnett/jupiter/pulls{/number}","milestones_url":"https://api.github.com/repos/mbarnett/jupiter/milestones{/number}","notifications_url":"https://api.github.com/repos/mbarnett/jupiter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbarnett/jupiter/labels{/name}","releases_url":"https://api.github.com/repos/mbarnett/jupiter/releases{/id}","deployments_url":"https://api.github.com/repos/mbarnett/jupiter/deployments","created_at":"2017-07-06T20:46:28Z","updated_at":"2017-07-06T20:46:30Z","pushed_at":"2018-02-07T21:52:43Z","git_url":"git://github.com/mbarnett/jupiter.git","ssh_url":"git@github.com:mbarnett/jupiter.git","clone_url":"https://github.com/mbarnett/jupiter.git","svn_url":"https://github.com/mbarnett/jupiter","homepage":"","size":1643,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ualbertalib:master","ref":"master","sha":"f0e4d3effbe2965fa76fc3cf6d0ef7c95d0f2a7d","user":{"login":"ualbertalib","id":2856757,"avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"repo":{"id":94144356,"name":"jupiter","full_name":"ualbertalib/jupiter","owner":{"login":"ualbertalib","id":2856757,"avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ualbertalib/jupiter","description":"Jupiter is a University of Alberta Libraries-based initiative to create a sustainable and extensible digital asset management system. This is phase 1 (IR).","fork":false,"url":"https://api.github.com/repos/ualbertalib/jupiter","forks_url":"https://api.github.com/repos/ualbertalib/jupiter/forks","keys_url":"https://api.github.com/repos/ualbertalib/jupiter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ualbertalib/jupiter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ualbertalib/jupiter/teams","hooks_url":"https://api.github.com/repos/ualbertalib/jupiter/hooks","issue_events_url":"https://api.github.com/repos/ualbertalib/jupiter/issues/events{/number}","events_url":"https://api.github.com/repos/ualbertalib/jupiter/events","assignees_url":"https://api.github.com/repos/ualbertalib/jupiter/assignees{/user}","branches_url":"https://api.github.com/repos/ualbertalib/jupiter/branches{/branch}","tags_url":"https://api.github.com/repos/ualbertalib/jupiter/tags","blobs_url":"https://api.github.com/repos/ualbertalib/jupiter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ualbertalib/jupiter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ualbertalib/jupiter/git/refs{/sha}","trees_url":"https://api.github.com/repos/ualbertalib/jupiter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ualbertalib/jupiter/statuses/{sha}","languages_url":"https://api.github.com/repos/ualbertalib/jupiter/languages","stargazers_url":"https://api.github.com/repos/ualbertalib/jupiter/stargazers","contributors_url":"https://api.github.com/repos/ualbertalib/jupiter/contributors","subscribers_url":"https://api.github.com/repos/ualbertalib/jupiter/subscribers","subscription_url":"https://api.github.com/repos/ualbertalib/jupiter/subscription","commits_url":"https://api.github.com/repos/ualbertalib/jupiter/commits{/sha}","git_commits_url":"https://api.github.com/repos/ualbertalib/jupiter/git/commits{/sha}","comments_url":"https://api.github.com/repos/ualbertalib/jupiter/comments{/number}","issue_comment_url":"https://api.github.com/repos/ualbertalib/jupiter/issues/comments{/number}","contents_url":"https://api.github.com/repos/ualbertalib/jupiter/contents/{+path}","compare_url":"https://api.github.com/repos/ualbertalib/jupiter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ualbertalib/jupiter/merges","archive_url":"https://api.github.com/repos/ualbertalib/jupiter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ualbertalib/jupiter/downloads","issues_url":"https://api.github.com/repos/ualbertalib/jupiter/issues{/number}","pulls_url":"https://api.github.com/repos/ualbertalib/jupiter/pulls{/number}","milestones_url":"https://api.github.com/repos/ualbertalib/jupiter/milestones{/number}","notifications_url":"https://api.github.com/repos/ualbertalib/jupiter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ualbertalib/jupiter/labels{/name}","releases_url":"https://api.github.com/repos/ualbertalib/jupiter/releases{/id}","deployments_url":"https://api.github.com/repos/ualbertalib/jupiter/deployments","created_at":"2017-06-12T22:00:01Z","updated_at":"2017-09-25T16:25:23Z","pushed_at":"2018-02-07T21:52:44Z","git_url":"git://github.com/ualbertalib/jupiter.git","ssh_url":"git@github.com:ualbertalib/jupiter.git","clone_url":"https://github.com/ualbertalib/jupiter.git","svn_url":"https://github.com/ualbertalib/jupiter","homepage":"","size":1839,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":4,"open_issues":63,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442"},"html":{"href":"https://github.com/ualbertalib/jupiter/pull/442"},"issue":{"href":"https://api.github.com/repos/ualbertalib/jupiter/issues/442"},"comments":{"href":"https://api.github.com/repos/ualbertalib/jupiter/issues/442/comments"},"review_comments":{"href":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442/comments"},"review_comment":{"href":"https://api.github.com/repos/ualbertalib/jupiter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ualbertalib/jupiter/pulls/442/commits"},"statuses":{"href":"https://api.github.com/repos/ualbertalib/jupiter/statuses/de0bac45e142b0e823c0c6e3d5e2ad92bba98561"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"murny"}}