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

Metadata support #4

Closed
4 tasks done
martinklepsch opened this issue Nov 26, 2015 · 2 comments
Closed
4 tasks done

Metadata support #4

martinklepsch opened this issue Nov 26, 2015 · 2 comments

Comments

@martinklepsch
Copy link
Member

Can be passed to putObject.

  • rejected values in file-map can hold different types of values (File, map), validate those--
  • find sane mapping from map to ObjectMetadata objects
  • rejected diffing needs to be smarter, i.e. if no metadata is supplied assume unchanged
  • input streams must be used for uploading
@martinklepsch martinklepsch changed the title allow file-map to provide additional options Metadata syncing Nov 27, 2015
@martinklepsch martinklepsch changed the title Metadata syncing Metadata support Nov 27, 2015
@martinklepsch
Copy link
Member Author

Potentially a good tradeoff would be to not diff and only update if also the object has changed.

Diffing on metadata would require fetching metadata individually for each object which seems not particularly efficient.

@martinklepsch
Copy link
Member Author

Custom metadata is now supported via a :metadata key in file-maps. If supplied metadata changes but the object (i.e. it's md5 checksum) doesn't the object and it's metadata will not get updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant