Commit Graph
65 Commits
Author SHA1 Message Date
Frederick F. Kautz IV 91c408551e Adding test for ls cmd 2015-04-18 18:32:09 -07:00
Frederick F. Kautz IV 7c2e859ec8 fixing build 2015-04-18 16:35:09 -07:00
Frederick F. Kautz IV 2a28b2b1fb Refactoring doListCmd to be more testable 2015-04-18 16:33:26 -07:00
Frederick F. Kautz IV 1f6273ec04 Renaming doCmdList to runCmdList 2015-04-18 16:08:11 -07:00
Harshavardhana e58844ead5 Make all lexical paths file:///<path> ../<path> <path>/../../<path - behave similar - fixes #419
./mc ls, ./mc mb, ./mc cp supported and overall code simplification
2015-04-18 14:24:33 -07:00
Frederick F. Kautz IV 5691629ecd we shouldn't make code more complex to make gocyclo happy. raising gocyclo limit 2015-04-18 10:05:18 -07:00
Anand Babu (AB) Periasamy b77ea5e763 replaced retry with simple loop 2015-04-18 00:19:08 -07:00
Harshavardhana c706e152c6 Revert Alias behavior, make it passthrough and make Object Storage errors human readable 2015-04-17 21:31:15 -07:00
Harshavardhana 39d3f1439b Review error messages part of #286 2015-04-17 20:31:35 -07:00
Harshavardhana 27d87fdd8e Migrate config to qdb 2015-04-17 18:28:18 -07:00
Frederick F. Kautz IV d2e68e4ab3 Moving getNewClient to manager 2015-04-17 17:37:25 -07:00
Anand Babu (AB) Periasamy b28541a1b6 replace urltype to string 2015-04-17 16:12:03 -07:00
Harshavardhana 378314a3a7 Move retry to try() 2015-04-16 20:52:30 -07:00
Harshavardhana 1468cc47ff Add retries 5 times currently supported for ./mc ls, ./mc mb 2015-04-16 20:17:18 -07:00
Anand Babu (AB) Periasamy 90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Anand Babu (AB) Periasamy 2da1d3dd68 get URL type + win support 2015-04-16 19:59:15 -07:00
Frederick F. Kautz IV 5863d7078a First round of copy refactoring to be more testable 2015-04-16 18:13:33 -07:00
Harshavardhana 0935573255 Prefix error messages with mc: part of #286 2015-04-16 15:53:33 -07:00
Harshavardhana 473013dd17 Support PutBucket() for fsClient to do subdirectories 2015-04-14 22:30:15 -07:00
Frederick F. Kautz IV d14e4f4473 Iodine traces only print with --debug flag. Fixes #283 2015-04-14 18:23:01 -07:00
Frederick F. Kautz IV 72ec63fbab cmd-ls now treats urlType=file as list objects instead of list buckets always. Closes #365. 2015-04-14 16:20:22 -07:00
Anand Babu (AB) Periasamy b0cae379fa console theme 2015-04-14 02:55:04 -07:00
Harshavardhana ab812e1055 Contract url parser into urlParser object 2015-04-13 04:12:03 -07:00
Harshavardhana 4f3db3d263 Make ./mc ls multi-target 2015-04-12 23:42:16 -07:00
Harshavardhana 5665d28a7c Fix alias handling, fixes #350 2015-04-12 17:56:50 -07:00
Frederick F. Kautz IV 53c534dea9 Reordering getNewClient parameters 2015-04-12 17:47:41 -07:00
Anand Babu (AB) Periasamy e7a2699ab2 minio client becomes modern copy 2015-04-11 17:11:38 -07:00
Harshavardhana ad35fe72d0 Move colors to console package, now implement colored
- Fatal, Fatalf, Fatalln
 - Error, Errorln
 - Info, Infof, Infoln
2015-04-10 01:14:47 -07:00
Frederick F. Kautz IV 83d9ba24d3 Adding more tests, removed alias expander dependency on config 2015-04-10 00:15:54 -07:00
Anand Babu (AB) Periasamy 87aa2539d0 show help when no args are passed 2015-04-09 14:37:29 -07:00
Harshavardhana 6e9fe6dc56 mc client interface now provides typed errors 2015-04-08 22:21:01 -07:00
Frederick F. Kautz IV bf3182ac6b Running goimports 2015-04-08 21:01:18 -07:00
Harshavardhana 8ea467294f iodine deps now coming in from minio-io/pkg/iodine 2015-04-08 18:19:51 -07:00
Harshavardhana bb1324148f Revert "Get rid of client interface and move s3 back into a struct"
This reverts commit 4a2facfa7b.
2015-04-08 16:18:20 -07:00
Harshavardhana 4a2facfa7b Get rid of client interface and move s3 back into a struct 2015-04-08 16:06:25 -07:00
Harshavardhana 44d0f86e54 Add coloring outside of iodine, moving iodine messages to log.Debug 2015-04-06 12:50:15 -07:00
Frederick F. Kautz IV 3293d71516 Adding iodine to ls and mb 2015-04-06 12:29:27 -07:00
Harshavardhana 9e7c367545 Move from mgutz/ansi to fatih/color package on popularity and cleaner API.
This package also supports Windows console coloring.
2015-04-06 12:17:34 -07:00
Frederick F. Kautz IV af3a4ed93e Adding iodine to cmd-ls.go 2015-04-06 12:12:35 -07:00
Anand Babu (AB) Periasamy af41562446 simplify ls cmd as well 2015-04-05 01:43:00 -07:00
Anand Babu (AB) Periasamy d7a12dcef4 Simplify ListObject API 2015-04-05 01:29:13 -07:00
Anand Babu (AB) Periasamy 02e7e35d7b first step to rewrite copy cmd 2015-04-03 12:56:28 -07:00
Anand Babu (AB) Periasamy ba233bab60 move all global variables to globals 2015-04-01 20:08:21 -07:00
Harshavardhana 2803d404d5 Simplify donut client side 2015-04-01 13:21:41 -07:00
Harshavardhana 7e6c1cc705 Use single place for Maxkeys at client interface 2015-03-30 19:07:23 -07:00
Anand Babu (AB) Periasamy a88f206f4b better args/url parssing 2015-03-27 14:19:32 -07:00
Harshavardhana 936fda7eac Add gocyclo and fix all its complaints use 15 as cyclomatic threshold 2015-03-25 18:39:42 -07:00
Harshavardhana 3ea3256d87 Implement donut client to be used with mc now supports creating bucket, cp of objects in and out 2015-03-25 12:57:33 -07:00
Harshavardhana bcf41c53c2 Move From codegangsta/cli to minio-io/cli fork 2015-03-24 20:24:51 -07:00
Harshavardhana c8f254c6b2 Build fix 2015-03-23 19:35:42 -07:00