- Fix 0byte file uploads to be not uploaded as multipart.
- Fix bucket requests to have a '/' at the end
for path style - fixes#1579
- Handle progress bar, if pb.Total is '0'.
This vendorization uses the new set of API changes which
we are brought in.
With this new change Bucket regions are handled transparently
without any region lookup or local map. This makes overall code
seamless and easy to use.
Fixes - #1541 (cp corruption while uploading large files to s3)
Fixes - #1542 (cp checkCopySyntax failed)
Fixes - #1537 (regions will be handled seamelessly now for all buckets)
Fixes - #1538 (fixes access control policy for google cloud storage)
Fixes - #1547 (session resume completes without copying all the files)
Fixes - #1559 (poor network connectivity, causes timing out)
- if URL ends with "/" and no --recursive option exit properly.
- if recursive is given no matter what key is specified it is regarded
as prefix.
- if no recursive option and no "/" suffix is provided is treated as
exact object name.
- Fixes bug when prefix is available and should be prepended to the key.
- Fixes another bug to avoid doing URL stat for upload, its not needed.
Fixes#1478
- <bucket>.s3.amazonaws.com with <bucket> in us-west-2 re-writes
the URL to s3-us-west-2.amazonaws.com.
- <bucket>.s3-us-west-2.amazonaws.com doesn't need and translation,
call goes directly to s3-us-west-2.amazonaws.com
This change is needed to avoid extensive string manipulation
of URLs throughout the code base.
A client interface sends back data as a proper URL object,
this facilitates us to avoid unnecessary string manipulation
by making code more cleaner.
This reverts commit 68b3b0aac2.
Revert "Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support"
This reverts commit 6816542c7a.
- over the course of a project history every maintainer needs to update
its dependency packages, the problem essentially with godep is manipulating
GOPATH - this manipulation leads to static objects created at different locations
which end up conflicting with the overall functionality of golang.
This also leads to broken builds on many platforms. There is no easier way out of
this other than asking users to do 'godep restore' all the time which perhaps as
a practice doesn't sound clean, also has its own set of problems.
- govendor on the other hand is a right tool but a stop gap tool until we wait for
golangs official 1.5 version which fixes this vendoring issue once and for all.
- govendor makes sure that the import paths are re-written instead of manipulating
GOPATH.
This has advantages
- no more compiled objects being referenced in GOPATH and build time GOPATH
manging which leads to conflicts.
- proper import paths referencing the exact package a project is dependent on.
govendor is simple and provides the minimal necessary tooling to achieve this.
For now this is the right solution.