1
0
mirror of https://github.com/minio/mc.git synced 2025-11-14 23:42:27 +03:00
Commit Graph

92 Commits

Author SHA1 Message Date
Harshavardhana
1dbb2e2b96 Add more structured informational messages 2015-06-22 11:33:14 -07:00
Harshavardhana
c04acf4d50 Convert all errors.New and fmt.Errorf to typed errors 2015-06-13 21:36:42 -07:00
Harshavardhana
168926fa06 All methods use now target2Client, source2Client, url2Client helpers 2015-06-09 10:37:48 -07:00
Harshavardhana
127027e1f8 Rename all http references to https 2015-06-08 21:13:12 -07:00
Anand Babu (AB) Periasamy
2c1c5254c7 reorg doc strings 2015-05-30 17:33:18 -07:00
Anand Babu (AB) Periasamy
d57fdd909f remove retry capability 2015-05-30 16:53:34 -07:00
Harshavardhana
25f847b3b6 Implement console.Fatals, Errors, Infos, Prints for structure input and printing 2015-05-26 17:59:35 -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
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
26fbc3bc20 Change closed brackets to quote characters and remove brackets for Reason 2015-05-20 20:51:44 -07:00
Harshavardhana
fc660f1350 Simplify GetObject, PutObject to not use md5sum for now. 2015-05-19 12:29:52 -07:00
Harshavardhana
e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana
1c4351979a Combine Get() and GetPartial to be GetObject() with offset and length parameters
- GetObject(0, 0) does a full download on the object
 - GetObject(n, m) does a partial download on the object at offset n upto length m
2015-05-11 15:02:45 -07:00
Harshavardhana
f914a059d3 Use console.Debugln instead of log.Debug.Println 2015-05-02 12:32:21 -07:00
Harshavardhana
766dbfa559 "unstruct client functions"
Original-Author: Anand Babu Periasamy <ab@minio.io>
2015-05-02 11:41:30 -07:00
Harshavardhana
78a78c072a Full cleanup of s3 client for mc 2015-05-02 11:28:31 -07:00
Harshavardhana
9833697e0a Add more fixes and helpful messaging
- check for config file for each command, prior to error out properly
  - hostconfig doesn't do any key verification, let client s3 verify it as needed
  - mc update change URL pointed to dl.minio.io minio server, still not functional yet
2015-04-30 14:03:06 -07:00
Harshavardhana
1ceed3dc20 Revert "unstruct client functions" 2015-04-29 21:28:28 -07:00
Anand Babu (AB) Periasamy
0d191ceb83 unstruct client functions 2015-04-29 19:06:42 -07:00
Harshavardhana
8ba6261e18 Make getURL - getExpandedURL 2015-04-28 12:50:44 -07:00
Harshavardhana
744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Harshavardhana
41637a2155 Review comments, part of #451 2015-04-28 02:35:46 -07:00
Harshavardhana
8eefa26719 Re-implement cp make it closer to regular unix cp 2015-04-26 04:59:39 -07:00
Harshavardhana
62750317d4 Add proper retry() mechanisms and print that in Magenta color 2015-04-25 23:08:44 -07:00
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