Open krose opened 2 years ago
thanks, @krose I can move the functions I use from aws.s3 here
That would be awesome. I'm planning to build some stuff around spaces, so let me know if you need help.
all contributions are welcome, @krose at the moment, I need to close #185 first, or move it for later
@krose Hi! Did you build some stuff around spaces? It would be great to see it
Sadly not. I ended up doing system calls to their cli. I was under a lot of pressure to get it working fast.
This seems to be caused by a bug in aws.s3, but there seems to be a discussion going on if to use aws.s3 or not. The repo for aws.s3 doesn't seem to be updated with a lot of hanging pull requests, so I'll post the bug here. I hope this is fine.
There are two issues.
One concerning the
aws.s3:::parse_aws_s3_response
that checks for a content type (ctype) that doesn't match the way the API returns the xml type.The other issue is with this if statement in the spaces function:
if (identical(names(res$Buckets), c("Name", "CreationDate"))) { ... }
. In the list the names are reversed compared to the test.It seems to be two easy fixes, but the lack of development on the aws.s3 makes me hesitant to do a pull request.