Commit Graph
347 Commits
Author SHA1 Message Date
Harshavardhana 5515e627d4 Bring back support for Formatted strings 2015-05-24 19:23:31 -07:00
Anand Babu (AB) Periasamy a3601baf8e http tracing improvements 2015-05-24 19:07:55 -07:00
Harshavardhana 3dd6b53c55 Add progress bar as a new theme element 2015-05-24 14:30:28 -07:00
Harshavardhana eeb71d212a Add missing String() method for ErrorMessage struct as well 2015-05-24 13:13:28 -07:00
Harshavardhana 192285c2af Remove console to depend on its own structures, instead let it deal with interface{} 2015-05-24 12:58:30 -07:00
Anand Babu (AB) Periasamy 64c890498f regex based auth keys redact 2015-05-23 20:04:51 -07:00
Harshavardhana 9c136efa4d Move mc to minio-go from objectstorage-go 2015-05-23 16:10:58 -07:00
Harshavardhana b4649291f1 Add recursive listing with s3:... 2015-05-22 19:51:56 -07:00
Harshavardhana 5ce6cc8e37 On windows display directories with forward slash and also interpret prefixes 2015-05-22 19:33:26 -07:00
Harshavardhana 54d0f9c553 Refactoring console printing style, supports --json even for error messages now - fixes #418 2015-05-22 18:27:07 -07:00
Harshavardhana edb8381400 Refactor debugging output, implement --json output currently only supported on 'ls' 2015-05-21 22:30:32 -07:00
Harshavardhana 1297d36580 Fix a windows URL object to String() conversion, and add relevant tests 2015-05-21 19:06:34 -07:00
Harshavardhana 24803e108b Merge pull request #669 from vadmeste/pr_out_fix_colored_output_for_windows 2015-05-21 18:38:44 -07:00
Harshavardhana aeaf8d4055 Reorder options, print only error messages 2015-05-21 18:08:12 -07:00
Harshavardhana b4d64badc7 Expand aliasnames honoring "/" 2015-05-21 17:14:39 -07:00
Anis Elleuch 1c85ce6c69 Fix output coloring in Windows Command Prompt 2015-05-21 23:34:59 +01:00
Harshavardhana 2fc0e6fa1f Implement s3 module tests for objectOperations 2015-05-21 12:11:31 -07:00
Harshavardhana ec2124efc1 Add s3 module tests for BucketOperations 2015-05-21 01:34:34 -07:00
Harshavardhana 1a319b80ad Implement cp tests
-- update bar.Total with atomic.AddInt64
-- expose console mutex Lock/Unlock()
-- send errors in cp over channels
2015-05-20 21:43:58 -07:00
Harshavardhana 1c899e5059 Fix stat URL sent back on Stat() 2015-05-20 19:40:30 -07:00
Harshavardhana 31e24bfb29 Complete fs tests for objectRange and List recursive 2015-05-20 11:45:27 -07:00
Harshavardhana dcccafacbe Simplify listing recursively into one function, diff now supports <filename> <directory> style 2015-05-20 02:44:15 -07:00
Harshavardhana f8fdfced8f If target exists skip for both sync and cp 2015-05-19 19:23:40 -07:00
Anand Babu (AB) Periasamy 726780c79d diff command for mc 2015-05-19 18:57:21 -07:00
Harshavardhana 1aaf37cb87 S3/Minio now take different types of encoded characters 2015-05-19 16:40:34 -07:00
Harshavardhana e0e52cfe05 Cleanup fs tests 2015-05-19 12:37:23 -07:00
Harshavardhana fc660f1350 Simplify GetObject, PutObject to not use md5sum for now. 2015-05-19 12:29:52 -07:00
Harshavardhana dad7af0fe3 Improve and use regexp for Scheme validation 2015-05-19 11:18:22 -07:00
Harshavardhana 082bb23a71 Implement our own url.Parse with minimal functionality 2015-05-18 22:40:32 -07:00
Harshavardhana 9e508f0dfe Add windows related path handling, now recursive cp, sync works properly 2015-05-18 17:38:30 -07:00
Harshavardhana 78317836ec Use AddUserAgent function and make appropriate changes in mc 2015-05-18 16:54:00 -07:00
Harshavardhana 8a8fd82853 Remove dependency on url.Parse() use client.Parse implementation 2015-05-18 16:51:04 -07:00
Harshavardhana dfcb5bd729 Update to new changes in objectstorage-go 2015-05-17 13:28:57 -07:00
Harshavardhana ff3d9fa815 Convert writers to Blocking readers 2015-05-17 02:30:19 -07:00
Harshavardhana de92f4ef31 Print proper error messages for cp 2015-05-16 18:42:22 -07:00
Anand Babu (AB) Periasamy d1a22403e5 cache repeated config loads 2015-05-16 18:32:35 -07:00
Harshavardhana e6d6375039 Collate isatty() code for bsd and linux 2015-05-16 18:27:05 -07:00
Harshavardhana 6d4a7c5e7b Add function isatty() to detect if Stdout for console is a terminal, if not disable coloring - fixes #631
Necessary when one has to pipe ``mc`` output to non terminal applications like ``less`` ``more`` etc.
2015-05-16 18:11:56 -07:00
Harshavardhana ab6fe3e95a Update to new changes in objectstorage-go 2015-05-16 17:12:36 -07:00
Harshavardhana 8f8b442075 Now cp and sync work for objectstorage URLs 2015-05-16 16:39:55 -07:00
Harshavardhana 45760226f3 Fix region handling inside client/s3 2015-05-16 15:18:34 -07:00
Anand Babu (AB) Periasamy 8823cec39d support string type natively within URLType 2015-05-16 13:01:14 -07:00
Harshavardhana 4f8052b67c Merge pull request #619 from harshavardhana/pr_out_fix_consistency_of_ls_output 2015-05-16 12:40:44 -07:00
Harshavardhana bae89e2632 Couple of bug fixes in cp command for objectstorage 2015-05-16 12:28:04 -07:00
Anand Babu (AB) Periasamy 0a25574101 removed cp-methods.go and renamed files with underscore 2015-05-16 02:35:04 -07:00
Harshavardhana 5709e10e8e Merge pull request #614 from minio/cp-changes 2015-05-15 23:10:06 -07:00
Anand Babu (AB) Periasamy 90d4b452a9 Copy rewrite 2015-05-15 23:08:39 -07:00
Harshavardhana f8531ea6ec Update to new changes in objecstorage-go 2015-05-15 22:15:38 -07:00
Harshavardhana fb6808b754 Ignore multipart object Etag string, amazon doesn't guarantee them to be md5sum of the object 2015-05-15 14:03:37 -07:00
Harshavardhana 21943d6416 Close open files in fs_put, this leads to too many open files 2015-05-15 13:54:58 -07:00