1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00
Commit Graph

100 Commits

Author SHA1 Message Date
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
f24a42a32b Non recursive ls - fixes #479 2015-04-27 20:57:17 -07:00
Harshavardhana
877d32236c Make sure to set the Date's properly in s3Client 2015-04-27 04:30:49 -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
17d0f05560 Print ls with special color for directories 2015-04-23 21:36:12 -07:00
Anand Babu (AB) Periasamy
c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Harshavardhana
9f97409362 Migrate fully to List() with channel everywhere, deprecate old List() API 2015-04-23 20:36:44 -07:00
Harshavardhana
972c476e36 Add ListOnChannel() for fs{unix,windows} and cmd-ls 2015-04-23 20:02:48 -07:00
Harshavardhana
527b1ca96d ListOnChannel() - now listbuckets and objects through channel replies.
Still doesn't do full recursive of all objects based on marker, that is the next step.
2015-04-23 18:01:12 -07:00
Anand Babu (AB) Periasamy
0a50606cbd fix dir listing bug and find style output 2015-04-23 12:50:31 -07:00
Anand Babu (AB) Periasamy
61779502fb Humanize ls size field 2015-04-23 01:46:05 -07:00
Anand Babu (AB) Periasamy
16e8cec82a field specific color theme 2015-04-23 01:02:17 -07:00
Anand Babu (AB) Periasamy
b923232e9f console theme improvements 2015-04-22 18:05:42 -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
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
ac4e5a88b8 Add help as reserved argument for aliasName 2015-04-19 19:39:59 -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
aae6b25262 Adding more error returning for ls cmd 2015-04-18 21:55:30 -07:00
Frederick F. Kautz IV
dd44d3355f Merge pull request #436 from fkautz/pr_out_adding_test_for_ls_cmd 2015-04-18 18:34:11 -07:00
Frederick F. Kautz IV
91c408551e Adding test for ls cmd 2015-04-18 18:32:09 -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
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