Commit Graph
533 Commits
Author SHA1 Message Date
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 3b7d63bbf3 region: Resolve region properly, if fails return the error.
Fixes #1503
2015-11-30 12:25:45 -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 f94399b01c console: Print in Debug when DebugPrint set to true. 2015-11-25 01:22:17 -08:00
Harshavardhana 841c65c867 share: Move to --recursive instead of --starts-with for consistency.
- 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.
2015-11-24 21:22: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 fd1cde749a mc: Fix setGlobalContext across all commands.
- Always set globals from context before validating input arguments.
- Add missing os.Exit(1) from console.Fatal{f,ln} which was
  accidentally removed from previous commits.

Fixes #1472
2015-11-22 00:33:35 -08:00
Harshavardhana 7e5f4776ca minio/minio-go: re-vendorize with new changes
Fixes #1470
2015-11-21 19:22:40 -08:00
Harshavardhana 3f52c951e7 testing: Remove all the console IsExited/IsError testing. 2015-11-21 17:55:42 -08:00
Anand Babu (AB) Periasamy 052f73f348 restructure globals and some bug fixes related to globals 2015-11-21 12:43:21 -08:00
Harshavardhana 0671f246ad ls: Add missing content Time from listing buckets in recursive operation
Fixes #1457
2015-11-20 15:47:05 -08:00
Harshavardhana 6e56f06bd3 ls: Fix a windows issue. 2015-11-19 20:29:33 -08:00
Krishna Srinivas bbf0f7687c check bucketname validity 2015-11-19 14:42:32 -08:00
Krishna Srinivas 1778d6a448 mc ls fails when there is a broken symlink - fixes #1442 2015-11-19 12:09:20 -08:00
Krishna Srinivas b03deb9d3c s3.go should return client.PathInsufficientPermission{} for access denied errors fixes #1421 2015-11-18 18:18:06 -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 389020b340 mb: Print proper messages for make buckets.
Fixes #1366
2015-11-17 16:22:20 -08:00
Harshavardhana 2419ca9c4d console: Avoid printing tags for null inputs Fatalln, Errorln, Debugln.
- fixes #1362
2015-11-17 15:04:02 -08:00
Harshavardhana 9caa205f40 pipe: Print a helpful message for s3 upon invalid arguments.
Fixes #1373
2015-11-17 14:49:18 -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 36c66d7aa1 s3: Fix listing of buckets to match with or without trailing '/' 2015-11-15 21:11:10 -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 c68af8451b url: urlJoinPath should work on trailing slashes now. 2015-11-15 12:49:53 -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
Anand Babu (AB) Periasamy fb39bcba80 handle non-existant color calls 2015-11-14 20:39:23 -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 22051bb8af s3/gcs: now all combinations and permutations work for URLs with buckets in different regions.
- <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
2015-11-12 20:29:20 -08:00
Harshavardhana 5018b01a51 fs: Make fs behave like s3 - fixes #1246 2015-11-12 01:26:47 -08:00
Harshavardhana 9480f8c9ae rm/ls: Remove and List incomplete uploads properly
Fixes #1271
2015-11-11 21:35:51 -08:00
Harshavardhana 5afc55acb7 s3: Change s3 behavior - for virtual style requests filter buckets out.
Fixes #1264
2015-11-11 16:31:54 -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
Anand Babu (AB) Periasamy 970927cc6b simplify setting console theme 2015-11-10 16:45:32 -08:00
Harshavardhana 03e9fa70dd minio-go: update to new version of minio-go
This change comes with wider re-structure inside minio-go and lots
of code cleanup.
2015-11-09 23:03:45 -08:00
Harshavardhana dc985953e4 diff: Cleanup diff
- overall simplification and reduction in repetitive code.
- use select for multi channel synchronization.
2015-11-09 16:37:54 -08:00
Harshavardhana fb48c24176 list: Fix more listing bugs 2015-11-08 02:49:09 -08:00
Harshavardhana cb87550978 list: Fix listing command output
Fix all the incorrectness behavior of `ls` introduced after
recent changes.
2015-11-08 00:07:11 -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 8273192dcf signature: Update new minio-go, bring in comprehensive Signature support 2015-11-06 23:46:16 -08:00