{"action":"opened","number":68,"pull_request":{"url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/68","id":52878434,"html_url":"https://github.com/projecthydra-labs/geo_concerns/pull/68","diff_url":"https://github.com/projecthydra-labs/geo_concerns/pull/68.diff","patch_url":"https://github.com/projecthydra-labs/geo_concerns/pull/68.patch","issue_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/68","number":68,"state":"open","locked":false,"title":"Replace geo files with FileSets (proposal)","user":{"login":"eliotjordan","id":784196,"avatar_url":"https://avatars.githubusercontent.com/u/784196?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotjordan","html_url":"https://github.com/eliotjordan","followers_url":"https://api.github.com/users/eliotjordan/followers","following_url":"https://api.github.com/users/eliotjordan/following{/other_user}","gists_url":"https://api.github.com/users/eliotjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotjordan/subscriptions","organizations_url":"https://api.github.com/users/eliotjordan/orgs","repos_url":"https://api.github.com/users/eliotjordan/repos","events_url":"https://api.github.com/users/eliotjordan/events{/privacy}","received_events_url":"https://api.github.com/users/eliotjordan/received_events","type":"User","site_admin":false},"body":"This PR makes substantial changes to the existing Geo PCDM model. Primarily, I have removed the individual subclasses of FileSet, and instead add an attribute to FileSet (:geo_file_type) to distinguish between the various types. This is analogous to the mime_type attribute which doesn't work for geospatial objects at this point. Please consider this a proposal in which everything is up for discussion and debate.\r\n\r\nAn outstanding issue is to add individual buttons like 'attach vector file' instead of the generic 'attach a file' button. This would open a link on a new set of routes. Something like ```.../concern/container/:parent_id/file_sets/vector/new```. We could make use of hidden fields and drop downs for the file format.Also, the file format terminology could use some work.\r\n\r\nVideo demo of creating works and files: (Video isn't great quality. View it HD for better results)\r\n\r\nhttps://vimeo.com/148118697","created_at":"2015-12-07T17:58:04Z","updated_at":"2015-12-07T17:58:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"436c0f74d602c5d98343b4b984d5bd8bfd074f20","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/68/commits","review_comments_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/68/comments","review_comment_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/68/comments","statuses_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/statuses/f4042d710f68bc3949e1d85107ac6c373ebae777","head":{"label":"projecthydra-labs:single-file-set","ref":"single-file-set","sha":"f4042d710f68bc3949e1d85107ac6c373ebae777","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":37678305,"name":"geo_concerns","full_name":"projecthydra-labs/geo_concerns","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/geo_concerns","description":"PCDM based geospatial models for Hydra. (WIP)","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/geo_concerns","forks_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/releases{/id}","created_at":"2015-06-18T18:50:00Z","updated_at":"2015-11-25T18:30:14Z","pushed_at":"2015-12-07T17:58:04Z","git_url":"git://github.com/projecthydra-labs/geo_concerns.git","ssh_url":"git@github.com:projecthydra-labs/geo_concerns.git","clone_url":"https://github.com/projecthydra-labs/geo_concerns.git","svn_url":"https://github.com/projecthydra-labs/geo_concerns","homepage":"","size":437,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":24,"forks":2,"open_issues":24,"watchers":1,"default_branch":"master"}},"base":{"label":"projecthydra-labs:master","ref":"master","sha":"cf7a8884d563b3ce36eebfe0fe72ca39842616a8","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":37678305,"name":"geo_concerns","full_name":"projecthydra-labs/geo_concerns","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/geo_concerns","description":"PCDM based geospatial models for Hydra. (WIP)","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/geo_concerns","forks_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/geo_concerns/releases{/id}","created_at":"2015-06-18T18:50:00Z","updated_at":"2015-11-25T18:30:14Z","pushed_at":"2015-12-07T17:58:04Z","git_url":"git://github.com/projecthydra-labs/geo_concerns.git","ssh_url":"git@github.com:projecthydra-labs/geo_concerns.git","clone_url":"https://github.com/projecthydra-labs/geo_concerns.git","svn_url":"https://github.com/projecthydra-labs/geo_concerns","homepage":"","size":437,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":24,"forks":2,"open_issues":24,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/68"},"html":{"href":"https://github.com/projecthydra-labs/geo_concerns/pull/68"},"issue":{"href":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/68"},"comments":{"href":"https://api.github.com/repos/projecthydra-labs/geo_concerns/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra-labs/geo_concerns/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra-labs/geo_concerns/statuses/f4042d710f68bc3949e1d85107ac6c373ebae777"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":13,"additions":1273,"deletions":820,"changed_files":104}}