Commit Graph
358 Commits
Author SHA1 Message Date
Anand Babu (AB) Periasamy d57fdd909f remove retry capability 2015-05-30 16:53:34 -07:00
Harshavardhana aa0347f59b Update to new changes in minio-go library and make related modifications in mc 2015-05-28 19:13:36 -07:00
Harshavardhana 9da87f5113 Handle permission errors for progress bar 2015-05-28 11:07:20 -07:00
Harshavardhana 8422db004c Add stderr to support piped nocolor output 2015-05-27 15:40:41 -07:00
Harshavardhana df176c30a8 Fix a nil reference remove erroneous usage of url.Parse() use client.Parse(), unexport progress() method 2015-05-27 15:32:17 -07:00
Harshavardhana 0edf9e2c59 Ignore non regular files after following the file 2015-05-27 13:43:20 -07:00
Anand Babu (AB) Periasamy 98299b267e new countlocker to balance progress bar and copy routines 2015-05-27 04:10:51 -07:00
Harshavardhana 0674ce8085 Command diff now properly supports recursive diff 2015-05-26 19:21:58 -07:00
Harshavardhana a65f431004 Handle symlinks by making them behave like hardlinks 2015-05-26 19:06:29 -07:00
Harshavardhana 25f847b3b6 Implement console.Fatals, Errors, Infos, Prints for structure input and printing 2015-05-26 17:59:35 -07:00
Harshavardhana 76c3345f47 Change range to simpler for loop, range over array of interfaces{} doesn't seem to work 2015-05-25 11:30:48 -07:00
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