Commit Graph
67 Commits
Author SHA1 Message Date
Harshavardhana 4e05b59298 Implement access command 2015-04-24 02:09:27 -07:00
Anand Babu (AB) Periasamy c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Harshavardhana c120a5853d Now bucket creation requires a simple CannedACLs to start with
$ ./mc mb <acl_type> <target>
2015-04-23 14:22:48 -07:00
Harshavardhana 4e53814cc3 Add bucket ACL support 2015-04-23 12:10:51 -07:00
Harshavardhana dc200a62fc Disallow `bucket` creation with uppercase letters 2015-04-22 01:22:22 -07:00
Harshavardhana e3c1b8eabc Fix ListCmd() MakeBucketCmd() for multi target 2015-04-21 16:29:33 -07:00
Anand Babu (AB) Periasamy 5a7b8da98d replace net/url parser with simple filepath parsing 2015-04-21 16:05:16 -07:00
Harshavardhana 095ae11caf Migrate to quick Config, qdb takes the high road 2015-04-21 13:47:46 -07:00
Harshavardhana 6adb5e5217 Move getHostConfig() outside of getNewClient(), waiting on new qConfig to simplify this further 2015-04-21 01:14:28 -07:00
Frederick F. Kautz IV e61639897d Full coverage of doMb 2015-04-20 19:35:56 -07:00
Harshavardhana e728cd9857 Add 'isValidRetry()' to retry for only network level errors 2015-04-19 22:46:00 -07:00
Harshavardhana 5d2da2ff30 ./mc ls and mb were printing redundant prefixes - fix them 2015-04-19 22:02:39 -07:00
Harshavardhana f37412777a Fix various merge conflicts, TestCopyRecursive() disabled for now will renable after fixing it 2015-04-19 19:56:29 -07:00
Harshavardhana 7487f6fe9c Print proper messages in retry() loop 2015-04-19 19:39:59 -07:00
Harshavardhana df94fdf08a Rename parseURL to getURL, since parsing is outside of mc context now 2015-04-19 19:39:02 -07:00
Harshavardhana 8bc587b8cf Now clients only take URLs - fixes #425
- Interface change, takes only minimal arguments
 - Passing URLs all the way down
 - Bucket and Object awareness only at per client level
2015-04-19 19:39:02 -07:00
Frederick F. Kautz IV 2f0013fb38 Add more tests, fix attempted creation of bucket with file system 2015-04-18 19:47:54 -07:00
Frederick F. Kautz IV f10da22642 Splitting mb to be more testable 2015-04-18 19:23:50 -07:00
Harshavardhana 8606a7db9b Move major url handling into client as part of #425 2015-04-18 17:29:01 -07:00
Harshavardhana 4b50a2bac3 Error messages simplified now with reason - fixes #286 2015-04-18 16:46:26 -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
Anand Babu (AB) Periasamy b77ea5e763 replaced retry with simple loop 2015-04-18 00:19:08 -07:00
Harshavardhana 1f9136ffc5 Print proper errors message received on the wire from any Object Storage 2015-04-17 20:54:24 -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
Harshavardhana ab812e1055 Contract url parser into urlParser object 2015-04-13 04:12:03 -07:00
Frederick F. Kautz IV 53c534dea9 Reordering getNewClient parameters 2015-04-12 17:47:41 -07:00
Harshavardhana 0508022597 Improve errors strictly type them, first cut #286 2015-04-11 21:48:00 -07:00
Harshavardhana 58fd38d703 Add make bucket multi target - fixes #288 2015-04-11 21:06:28 -07:00
Harshavardhana 3914036db4 All commands now work with fs client - fixes #290 2015-04-11 20:53:53 -07:00
Anand Babu (AB) Periasamy e7a2699ab2 minio client becomes modern copy 2015-04-11 17:11:38 -07:00
Harshavardhana a812c862e1 Build fix 2015-04-10 17:33:59 -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