Commit Graph
156 Commits
Author SHA1 Message Date
Harshavardhana a769ce6439 mc: Vendorize to new API changes.
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)
2016-01-23 23:53:27 -08:00
Anis Elleuch 3b35f44eba Fix ls error msg 2016-01-09 15:46:52 +01:00
Harshavardhana 3782c4abe0 fs: Make sure to negate the seeked offset if size is not negative. 2015-12-05 17:52:45 -08:00
Harshavardhana 36e7e42637 contentType: use contentDB package from server. 2015-12-04 16:28:26 -08:00
Harshavardhana 3b95a39e3a fs: More changes related to symlink handling. 2015-11-30 16:13:27 -08:00
Harshavardhana 93e26e9032 fs: Simplify windows symlink lstat handling. 2015-11-30 15:28:56 -08:00
Harshavardhana 1664551119 cp: Working resumable cp fixes #1505 2015-11-30 10:57:54 -08:00
Anand Babu (AB) Periasamy aea88d3756 handle stdin pipe properly 2015-11-29 22:29:17 -08:00
Harshavardhana 4485529911 putTarget: Reintroduce size this time pipe can upload upto 5TB 2015-11-28 22:17:22 -08:00
Harshavardhana 1badfc8a04 :mc: resumable downloads and support incomplete files on file system. 2015-11-28 18:00:53 -08:00
Harshavardhana aa3007bcd0 share/download: add --starts-with flag and remove '...' we don't have that anymore.
- 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
2015-11-23 12:33:08 -08:00
Harshavardhana 6e56f06bd3 ls: Fix a windows issue. 2015-11-19 20:29:33 -08:00
Krishna Srinivas 1778d6a448 mc ls fails when there is a broken symlink - fixes #1442 2015-11-19 12:09:20 -08:00
Harshavardhana 83d2accd5b fs/s3: Simplify fs and further add more documentation. 2015-11-18 18:11:18 -08:00
Krishna Srinivas e7002e097b during Put() fs returns client.PathInsufficientPermission{} for EPERM - fixes #1410 2015-11-18 00:48:44 -08:00
Krishna Srinivas b2da734ec9 fs get() should return client.PathInsufficientPermission{} in case of EPERM error 2015-11-17 19:51:57 -08:00
Harshavardhana 1c2f292f77 ls: listing fixes for all the bugs we found
- fixes #1356
- fixes #1355
- fixes #1358
2015-11-17 14:32:45 -08:00
Harshavardhana 7856e331a1 fs: windows fixes for list handling 2015-11-15 17:50:01 -08:00
Harshavardhana cf76387dea fs: avoid nil derefence in fs listRecursive() 2015-11-15 16:21:39 -08:00
Harshavardhana 540b72426a fs: Make fs behave like s3 for prefix directories 2015-11-15 13:17:17 -08:00
Harshavardhana 47f1d2487b fs: Non-recursive send in sorted order, note will be slow for large directories 2015-11-15 11:39:32 -08:00
Harshavardhana f419064871 copy: Simplify copy handling for TypeC 2015-11-13 16:10:16 -08:00
Krishna Srinivas eb78783c3f Fix for prefix based rm
"mc rm asd..." where asd is a prefix, not a directory
2015-11-13 14:35:45 -08:00
Harshavardhana 3790cf557a fs: Fill path variables into error properly 2015-11-13 01:28:04 -08:00
Harshavardhana 940fd7c608 error-handling: Add proper typed errors and converged code url2Content. 2015-11-13 00:24:09 -08:00
Harshavardhana 5018b01a51 fs: Make fs behave like s3 - fixes #1246 2015-11-12 01:26:47 -08:00
Harshavardhana 6f7e752aa0 fs: Implement custom walk to handle sorting properly 2015-11-11 14:43:18 -08:00
Harshavardhana 7d3b1a6ddb mirror: Fix handling of preceding separators from source
Filesystem now never replies back directories for recursive usecase.
2015-11-11 02:01:54 -08:00
Harshavardhana b9033d1cac structure: Move client.Content to return a URL object
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.
2015-11-07 22:12:52 -08:00
Harshavardhana 671ce5242d Handle directory symlink navigation 2015-10-28 00:13:20 -07:00
Harshavardhana f94de478c3 Merge RemoveIncompleteUpload() into Remove 2015-10-22 15:18:11 -07:00
Harshavardhana 795a8edf64 Simplify client interface 2015-10-22 10:47:24 -07:00
Krishna Srinivas e9bc4af214 recursive 'mc ls' on filesystem gives error #1198 2015-10-21 18:10:40 -07:00
Harshavardhana 2f46510d26 Improve upon the argument verification - use the existing primitives from cli package 2015-10-20 20:47:08 -07:00
Krishna Srinivas a3b49bdd34 Support for "mc rm s3/bucket/dir/... incomplete force" 2015-10-20 19:40:21 -07:00
Harshavardhana 1eb171544f Implement mc ls incomplete s3/bucketname 2015-10-19 22:28:34 -07:00
Krishna Srinivas b4c78a33ff support for "rm" of objects and buckets 2015-10-19 15:11:59 -07:00
Harshavardhana f85e8827e1 Migrate mc package to minio-xl from minio/minio repo for probe/quick 2015-10-17 00:24:14 -07:00
Harshavardhana c4b9891c6e Always make sure to verify argument validation in checkSyntax**.
Cleanup share-upload.go to be aware of different argument validation.
2015-10-10 13:05:33 -07:00
Anis Elleuch 45b1351991 Relax too many levels symlink error when traversing folders/files 2015-10-08 22:56:59 +01:00
Krishna Srinivas 7ec74a33ce Implement mc share upload and mc share download 2015-10-08 13:20:29 -07:00
Harshavardhana 53f83dfe57 Add some comments for migration 2015-09-28 10:40:19 -07:00
Harshavardhana abbfa4b13f Avoid shadowing by using unique variables as necessary 2015-09-08 23:28:56 -07:00
Harshavardhana 2549415a87 Add junction and symlink handling for windows only 2015-09-04 23:01:51 -07:00
Harshavardhana 2bca24e0fa golang filepath.EvalSymlinks doesn't handle juntion files handle them - fixes #1076 2015-09-04 13:32:00 -07:00
Harshavardhana 53fc1c7b38 Disable ACL's for filesystem as it doesn't bring any direct meaning 2015-09-01 10:47:52 -07:00
Anand Babu (AB) Periasamy 91100b72ed alias support with colon requirement 2015-08-29 18:02:32 -07:00
Harshavardhana f831d94d3f Revert "Change ACL to Access"
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.
2015-08-28 22:37:10 -07:00
Harshavardhana 6816542c7a Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support 2015-08-28 21:20:41 -07:00
Harshavardhana f65c87730f Define error for windows, minor fix pushing in 2015-08-25 00:42:24 -07:00