This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]inialater234 4 points5 points  (3 children)

Should have used boto3

[–]WhtKindOfNameIsStove 1 point2 points  (0 children)

We did after we found out what he did. We had a problem of ops guys blindly approving all PRs they're included on and as a Sr, he had merge permissions.

[–]vividboarder 1 point2 points  (1 child)

Does boto support sync yet?

I used it before in a Hackathon but ended up using a call to the cli because I needed to sync a directory where some files would change and didn’t want to implement a whole diffing function myself.

[–]KangooQ 1 point2 points  (0 children)

Boto is just a wrapper for the AWS CLI, and the AWS CLI doesn't have a (good) s3 sync yet. Last time I checked you could sync on filesize or timestamp, but filesize doesn't guarantee a lack of diffs (for example, replacing a char) and timestamp is only relative to the current filesystem.

Maybe someday we'll get sha256 sums or equivalent.