Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing metadata overwritten by new uploads #93

Open
NickolausDS opened this issue Oct 14, 2019 · 0 comments
Open

Existing metadata overwritten by new uploads #93

NickolausDS opened this issue Oct 14, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@NickolausDS
Copy link
Collaborator

Some data we probably want to keep is overwritten on multiple uploads/registers.

For 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.

We probably don't want to overwrite those fields unless they are missing or specifically specified in another metadata.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant