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

save and update metadata configuration #98

Closed
jrse opened this issue Oct 27, 2017 · 0 comments
Closed

save and update metadata configuration #98

jrse opened this issue Oct 27, 2017 · 0 comments

Comments

@jrse
Copy link
Contributor

jrse commented Oct 27, 2017

Task of this issue is to create two new configuration settings in the dovecot configuration.
Both new settings should have a comma separated list of XAttributes.
The name of a XAttribute should be readable and unique. Currently all possible XAttributes are
defined in rados-types.h. A mapping function should be created to map the config XAttribute name to the
rbox_metadata_key.

We need two new settings to distinguish between mutable and immutable attributes.
Mutable attributes should be updated when changed.

To make this work we need to modify the read / save metadata functions in rbox_save / rbox_read,
the rbox_copy module, the rbox_rebuild methods to restore all available metadata and
additionally the rmb tool needs to be modified to display/set the attributes.

@jrse jrse self-assigned this Nov 6, 2017
jrse added a commit that referenced this issue Nov 10, 2017
- new class RadosConfig
- default mutable and immutable coniguration
- new plugin config:
  - rbox_mutable_metadata (example:rbox_mutable_metadata=MGPORZVBUIKCFA)
  - rbox_immutable_metadata (example=rbox_immutable_metadata=B)
jrse added a commit that referenced this issue Nov 10, 2017
missing unit test and check if keywords and flags should be updated.
jrse added a commit that referenced this issue Nov 10, 2017
jrse added a commit that referenced this issue Nov 10, 2017
@jrse jrse closed this as completed Nov 10, 2017
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