{"action":"opened","issue":{"url":"https://api.github.com/repos/globusonline/pilot1-tools/issues/93","repository_url":"https://api.github.com/repos/globusonline/pilot1-tools","labels_url":"https://api.github.com/repos/globusonline/pilot1-tools/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/globusonline/pilot1-tools/issues/93/comments","events_url":"https://api.github.com/repos/globusonline/pilot1-tools/issues/93/events","html_url":"https://github.com/globusonline/pilot1-tools/issues/93","id":506781055,"node_id":"MDU6SXNzdWU1MDY3ODEwNTU=","number":93,"title":"Existing metadata overwritten by new uploads","user":{"login":"NickolausDS","id":865553,"node_id":"MDQ6VXNlcjg2NTU1Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/865553?v=4","gravatar_id":"","url":"https://api.github.com/users/NickolausDS","html_url":"https://github.com/NickolausDS","followers_url":"https://api.github.com/users/NickolausDS/followers","following_url":"https://api.github.com/users/NickolausDS/following{/other_user}","gists_url":"https://api.github.com/users/NickolausDS/gists{/gist_id}","starred_url":"https://api.github.com/users/NickolausDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickolausDS/subscriptions","organizations_url":"https://api.github.com/users/NickolausDS/orgs","repos_url":"https://api.github.com/users/NickolausDS/repos","events_url":"https://api.github.com/users/NickolausDS/events{/privacy}","received_events_url":"https://api.github.com/users/NickolausDS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-14T17:24:36Z","updated_at":"2019-10-14T17:24:36Z","closed_at":null,"author_association":"COLLABORATOR","body":"Some data we probably want to keep is overwritten on multiple uploads/registers. \r\n\r\nFor example, given the creator name 'John' set manually into a `metadata.json` file and uploaded with `pilot upload -j metadata.json foo.txt /`. On a second upload without the metadata, the creator name will be overwritten by the pilot user, for example `pilot upload -u foo.txt /` will overwrite the creator from 'John' to 'Frank', if 'Frank' was the logged in pilot user doing the upload. \r\n\r\nWe probably don't want to overwrite those fields unless they are missing or specifically specified in another `metadata.json` file. "}}
{"actor":{"display_login":"NickolausDS"}}