-
Notifications
You must be signed in to change notification settings - Fork 41
Comparing S3 packages #11
Comments
Thanks @nathany for the summary! I'll have a deeper look, but I can say there are no changes to the s3 package between v1 and v2-dev. |
How to proceed? |
@matrixik, @nathany Hey guys, I had a chat with @niemeyer about those and other related issues. I'll send more details later today. There will be a CONTRIBUTING.md file with guidelines, and basically everyone who's familiar with both EC2/AWS and goamz/Go and wants to help and cares about the project can (and should) be a maintainer. Initially, the maintainers will be myself, @axw, @rogpeppe, @bz2, @katco-, and @wallyworld. More later, as I have to do a write-up. |
I think we should try to integrate those by carefully pulling in the common super set of methods - branch |
Thanks for adding the CONTRIBUTING and getting the unstable branch setup. For existing packages like this, I'm not sure if it makes sense to try to maintain the commits and who did them when bringing over methods. It would be nice, but seems like a lot of effort. Instead it may make sense just to bring over missing functionality with the same method signatures -- or different if the API can be improved upon. What are your thoughts? |
@nathany All that sounds good to me. We should try to keep the code consistent though, in naming, doc comments on exported items, etc. Also a potential thing that might slow down some PRs will be to converts tests not using gocheck. |
okay. that should be no problem, |
A surface level comparison of:
mitchellh/goamz/s3
mitchellh/goamz/s3 doesn't have
func RetryAttempts(retry bool)
but there are several added methods:crowdmob/goamz/s3
crowdmob/goamz/s3 has added some of the same methods as mitchellh/goamz/s3
and others, but with a different method signature:
it has also changed some of the amz.v1 methods to take an Options struct:
and then added a whole slough of new methods, some that sound like they accomplish the same things as mitchellh/goamz/s3, but in a different way:
goamz/goamz/s3 looks pretty similar to crowdmob/goamz/s3.
This isn't to say all these methods should be added. But it does mean I can't take even a trivial project that was using mitchellh/goamz/s3 and recompile it with amz.v1/s3. Handy methods like GetBucketContents and MultiDel don't exist.
As another point of comparison, there is Stripe's generated API:
http://godoc.org/github.com/stripe/aws-go/gen/s3
Note: I can't currently refer to http://godoc.org/gopkg.in/amz.v2-dev/s3 for comparison.
The text was updated successfully, but these errors were encountered: