-
Notifications
You must be signed in to change notification settings - Fork 398
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
s3_sync - Improve error handling when testing for existing files #1330
s3_sync - Improve error handling when testing for existing files #1330
Conversation
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #1334 🤖 @patchback |
s3_sync - Improve error handling when testing for existing files SUMMARY fixes: #58 Simplifies handling of '404' codes (use is_boto3_error_code) Assume 403 files need updating (it's the best we can do, and mimics aws cli) Allows Boto3 exceptions to fall through to the outer try/except clause and cleanly fail rather than rethrowing it as an Exception() ISSUE TYPE Feature Pull Request COMPONENT NAME s3_sync ADDITIONAL INFORMATION Reviewed-by: Joseph Torcasso <None> (cherry picked from commit 40984a4)
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #1335 🤖 @patchback |
s3_sync - Improve error handling when testing for existing files SUMMARY fixes: #58 Simplifies handling of '404' codes (use is_boto3_error_code) Assume 403 files need updating (it's the best we can do, and mimics aws cli) Allows Boto3 exceptions to fall through to the outer try/except clause and cleanly fail rather than rethrowing it as an Exception() ISSUE TYPE Feature Pull Request COMPONENT NAME s3_sync ADDITIONAL INFORMATION Reviewed-by: Joseph Torcasso <None> (cherry picked from commit 40984a4)
…) (#1335) [PR #1330/40984a40 backport][stable-4] s3_sync - Improve error handling when testing for existing files This is a backport of PR #1330 as merged into main (40984a4). SUMMARY fixes: #58 Simplifies handling of '404' codes (use is_boto3_error_code) Assume 403 files need updating (it's the best we can do, and mimics aws cli) Allows Boto3 exceptions to fall through to the outer try/except clause and cleanly fail rather than rethrowing it as an Exception() ISSUE TYPE Feature Pull Request COMPONENT NAME s3_sync ADDITIONAL INFORMATION Reviewed-by: Mark Chappell <None>
…) (#1334) [PR #1330/40984a40 backport][stable-3] s3_sync - Improve error handling when testing for existing files This is a backport of PR #1330 as merged into main (40984a4). SUMMARY fixes: #58 Simplifies handling of '404' codes (use is_boto3_error_code) Assume 403 files need updating (it's the best we can do, and mimics aws cli) Allows Boto3 exceptions to fall through to the outer try/except clause and cleanly fail rather than rethrowing it as an Exception() ISSUE TYPE Feature Pull Request COMPONENT NAME s3_sync ADDITIONAL INFORMATION Reviewed-by: Mark Chappell <None>
SUMMARY
fixes: #58
ISSUE TYPE
COMPONENT NAME
s3_sync
ADDITIONAL INFORMATION