Commit Graph
79 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
Frederick F. Kautz IV 8f193cb651 Merge pull request #487 from fkautz/pr_out_fixing_errors_in_docopycmd 2015-04-21 16:31:12 -07:00
Frederick F. Kautz IV 2ba56b286c Fixing errors in doCopyCmd 2015-04-21 16:26:30 -07:00
Anand Babu (AB) Periasamy 5a7b8da98d replace net/url parser with simple filepath parsing 2015-04-21 16:05:16 -07:00
Harshavardhana 2474545a45 Remove -r introduce ... as recursive keyword 2015-04-21 15:41:30 -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 9e3ca3a92f Adding comment 2015-04-20 21:01:41 -07:00
Frederick F. Kautz IV 02c2616dc4 Adding more tests for cp, fixing few minor bugs 2015-04-20 20:53:20 -07:00
Harshavardhana ccd63ab302 Add filesystem Windows support, also cannot reproduce #281 anymore - fixes #281 2015-04-20 16:15:21 -07:00
Harshavardhana 5d2da2ff30 ./mc ls and mb were printing redundant prefixes - fix them 2015-04-19 22:02:39 -07:00
Harshavardhana 51032e9773 Fix incomplete progressBar problem, we should proactively .Finish() progressbar - fixes #452
Previously wouldn't flush out remaining data, it would work for Object Storage
Get()/Put() due to invariable delays and overhead.
2015-04-19 21:40:48 -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 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 8b585ae245 Converting recursive copy to not fatal out but return errors 2015-04-18 21:00:47 -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
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
Frederick F. Kautz IV 721d7d0bea Removing context build dep from doCopyCmdRecursive 2015-04-17 17:27:17 -07:00
Frederick F. Kautz IV 1f2220e260 Moving client manager to commons 2015-04-17 17:12:42 -07:00
Frederick F. Kautz IV 40a78491a7 Minor cleanup 2015-04-17 17:03:37 -07:00
Anand Babu (AB) Periasamy b28541a1b6 replace urltype to string 2015-04-17 16:12:03 -07:00
Anand Babu (AB) Periasamy 90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Frederick F. Kautz IV 7d8e065548 Adding more error checking 2015-04-16 19:23:13 -07:00
Frederick F. Kautz IV 8927a626d2 Better error handling in doCopyCmd 2015-04-16 19:16:28 -07:00
Frederick F. Kautz IV c780040870 Wrapping client calls around a client manager to facilitate testing 2015-04-16 18:29:00 -07:00
Frederick F. Kautz IV 7af0c630e3 Extracting URL parsing from doCopyCmd to runCopyCmd 2015-04-16 18:21:13 -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 31e873faf6 Implment recursive upload and download - fixes #372 #373
- currently only supports single target
2015-04-16 02:05:00 -07:00
Anand Babu (AB) Periasamy 5583555ca8 issue#371 implement --quiet 2015-04-14 19:38:17 -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 93c9011861 Separate out Put() operation for readablity, rename functions SourceReader and TargetWriters 2015-04-12 15:53:26 -07:00
Frederick F. Kautz IV c479b3833f s3 put writer now blocks on close 2015-04-12 11:26:05 -07:00
Frederick F. Kautz IV 5528ebdf71 Minor cleanup from refactoring 2015-04-11 21:32:25 -07:00
Frederick F. Kautz IV 7550571ece Refactoring copy and put to work with writers instead of readers 2015-04-11 21:30:24 -07:00
Harshavardhana 3914036db4 All commands now work with fs client - fixes #290 2015-04-11 20:53:53 -07:00
Frederick F. Kautz IV 46bb259164 Merge pull request #332 from fkautz/pr_out_fixing_build 2015-04-11 17:15:44 -07:00
Anand Babu (AB) Periasamy ad27c3080d Merge pull request #330 from abperiasamy/modern-copy
minio client becomes modern copy
2015-04-11 17:15:10 -07:00
Frederick F. Kautz IV fb2643a06b Fixing build 2015-04-11 17:15:10 -07:00
Frederick F. Kautz IV f415472d37 Starting refactoring of cp to make it more testable 2015-04-11 17:14:12 -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 ab2fb8f1c6 Killing an unused function 2015-04-09 20:26:24 -07:00