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

Added Filtering support for S3 lifecycle #1535

Merged
merged 2 commits into from
Apr 2, 2018

Conversation

mikegrima
Copy link
Collaborator

@mikegrima mikegrima commented Mar 26, 2018

Added Filtering support for S3 lifecycle and also added ExpiredObjectDeleteMarker.

Note: The Filter feature is pretty new, so I bumped up the boto3 and botocore versions to the latest. @JackDanger Please let me know if this is a problem.

closes #1533
closes #1479

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 92.463% when pulling 31de991b81452adf72384f7b89ce928408ed66e5 on mikegrima:s3lifecycle into 5fe575b on spulec:master.

@coveralls
Copy link

coveralls commented Mar 26, 2018

Coverage Status

Coverage increased (+0.01%) to 92.541% when pulling 0072969 on mikegrima:s3lifecycle into 0a4d203 on spulec:master.

Also added `ExpiredObjectDeleteMarker`.

closes getmoto#1533
closes getmoto#1479
@mikegrima mikegrima changed the title Added Filtering support for S3 lifecycle [WIP] Added Filtering support for S3 lifecycle Apr 2, 2018
@mikegrima
Copy link
Collaborator Author

Don't merge in yet -- found a bug where the top-level Prefix is always being set.

@mikegrima mikegrima changed the title [WIP] Added Filtering support for S3 lifecycle Added Filtering support for S3 lifecycle Apr 2, 2018
@mikegrima
Copy link
Collaborator Author

Should be fixed now.

@JackDanger
Copy link
Collaborator

The boto/botocore upgrades should be good - we've recently released a version so folks can pin to that for a while if this changes causes them upgrade pain.

@JackDanger
Copy link
Collaborator

Nice work, @mikegrima! I'll merge when the build finishes.

@JackDanger JackDanger merged commit 4184acc into getmoto:master Apr 2, 2018
@mikegrima mikegrima deleted the s3lifecycle branch April 2, 2018 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

S3 Bucket Lifecycle Needs Filter Support ExpiredObjectDeleteMarker not supported in bucket lifecycle rules
3 participants