# HG changeset patch # User Efflam Lemailet <elemaillet@logilab.fr> # Date 1664369562 -7200 # Wed Sep 28 14:52:42 2022 +0200 # Node ID c9bc1e0117e8e4d5df3f58d055148cbee7472355 # Parent 1bca0d767d05bcdeaebd43e4a113b25fbec67759 feat: Optional config for object versioning Refs: #15 diff --git a/cubicweb_s3storage/site_cubicweb.py b/cubicweb_s3storage/site_cubicweb.py --- a/cubicweb_s3storage/site_cubicweb.py +++ b/cubicweb_s3storage/site_cubicweb.py @@ -16,6 +16,12 @@ 'help': 'Add a temporary suffix to S3 keys during transaction', 'group': 's3', 'level': 2}), + ('s3-activate-object-versioning', { + 'type': 'yn', + 'default': False, + 'help': 'store the objects version-id in database', + 'group': 's3', + 'level': 2}), )