{"action":"closed","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/62","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/62/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/62/events","html_url":"https://github.com/hydroshare/hydroshare/issues/62","id":54341976,"number":62,"title":"Implement new resource creation workflow as decided in all-hands meeting","user":{"login":"hyi","id":476302,"avatar_url":"https://avatars.githubusercontent.com/u/476302?v=3","gravatar_id":"","url":"https://api.github.com/users/hyi","html_url":"https://github.com/hyi","followers_url":"https://api.github.com/users/hyi/followers","following_url":"https://api.github.com/users/hyi/following{/other_user}","gists_url":"https://api.github.com/users/hyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyi/subscriptions","organizations_url":"https://api.github.com/users/hyi/orgs","repos_url":"https://api.github.com/users/hyi/repos","events_url":"https://api.github.com/users/hyi/events{/privacy}","received_events_url":"https://api.github.com/users/hyi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"hyi","id":476302,"avatar_url":"https://avatars.githubusercontent.com/u/476302?v=3","gravatar_id":"","url":"https://api.github.com/users/hyi","html_url":"https://github.com/hyi","followers_url":"https://api.github.com/users/hyi/followers","following_url":"https://api.github.com/users/hyi/following{/other_user}","gists_url":"https://api.github.com/users/hyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyi/subscriptions","organizations_url":"https://api.github.com/users/hyi/orgs","repos_url":"https://api.github.com/users/hyi/repos","events_url":"https://api.github.com/users/hyi/events{/privacy}","received_events_url":"https://api.github.com/users/hyi/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-01-14T16:23:15Z","updated_at":"2015-02-06T15:13:23Z","closed_at":"2015-02-06T15:13:23Z","body":"Implement new resource creation workflow as decided in all-hands meeting at Logan to have resources created immediately after a resource type is selected with optional file upload and title input. Details below copied from Jeff H.'s note from all-hands meeting:\r\n----------\r\n**What is the state of HydroShare at each step in the resource creation sequence?** \r\n1. User Clicks “create new” to create a new resource\r\n2. The Select Resource page appears.  Nothing exists at this point.\r\n3. The user selects a resource type. Nothing exists yet.\r\n4. The user creates a title for the resource (NOTE: this should be optional and doesn’t exist yet - pre populate this field with “Untitled resource”)\r\n5. Optionally, the user clicks choose files and selects one or more files. Nothing exists yet.\r\n6. The user clicks the “Describe Resource” button - this button should really be titled “Create Resource”.  \r\n* This submits the form\r\n* Creates the resource container (the bag) on disk in HydroShare\r\n* Creates a title for the resource of “Untitled Resource” if it wasn’t specified\r\n* Creates a permanent and persistent internal HydroShare identifier\r\n* The resource container (the bag) is named on disk using the identifier\r\n* At this point whatever files that were specified on the form are written to the resource container at the right location in the bag.\r\n* The resource metadata and resource map are created with default values - defaults or whatever elements can be extracted from the files that were given.\r\n* The user is then taken to the resource landing page where they can edit the default metadata directly on the landing page.  This way we only edit resource metadata in one place.\r\nSince the landing page has individually editable elements, each edit is saved individually as the user edits it.\r\n7. NOTE:  Individual metadata edits SHOULD NOT create an entirely new version of the resource.  This is a separate discussion that needs to be dealt with.\r\n8. NOTE:  There are issues with reference time series\r\n* The first page might have to change depending on which resource type is selected.\r\n* OR - specific resource types may have to have a page between the initial resource creation page and the resource landing page\r\n\r\n**What is required for a resource to exist?**\r\n1. A resource container on disk (the bag and the bagit files)\r\n2. An internally persistent and unique identifier - by which the bag is named.\r\n3. A selected resource type.\r\n4. resourcemetadata.xml - this file must exist, even if it has empty or default values\r\n5. resourcemap.xml - this file must exist, even if it has empty or default values\r\n\r\n**What is required for a resource to be shared with another hydroshare user or group?**\r\n1. No additional metadata is required in addition to what is required for resource creation.\r\n2. The user must choose to share with the other user or group.\r\n\r\n**What is required for a resource to be shared publicly - e.g, the Resource becomes publicly available and discoverable in HydroShare?**\r\n1. We think HydroShare should be default private.  All resources are initially private by default.\r\n2. When a user chooses to make a resource public, the metadata are validated for completeness - e.g., the required elements are checked. This is necessary for a resource to be cataloged for discovery\r\n3. If valid, the resource is made public and discoverable.\r\n\r\n**What is required for a resource to be published**\r\n1. Publication is initialized by the owner of the resource (i.e., the owner makes a choice to do so)\r\n2. The owner must agree to a publication agreement - allows HydroShare to be the publisher?\r\n3. Selection of a license under which the resource will be published by the user - e.g., Creative Commons (which versions should we make available?)\r\n4. Fully validated metadata \r\n* Need to define “valid”\r\n* Need to program a validator\r\n5. Assigned permanent external identifier (DOI)\r\n"}}