Commit Graph
121 Commits
Author SHA1 Message Date
Harshavardhana d52bbf6134 Move away from using pointers for cpURLs 2015-06-11 19:03:33 -07:00
Harshavardhana 08d38fb7da Use url.Separator everywhere that is needed 2015-06-10 21:54:05 -07:00
Harshavardhana 1fdb689f16 Use yielder inside cmd cp and sync 2015-06-10 19:54:42 -07:00
Harshavardhana 9a06671ac7 Make channels bufferred upto 10000 for cp and sync to fill in during prepareURLs stage 2015-06-10 17:26:58 -07:00
Harshavardhana c0bd41f446 Minor change print proper errors for cmd-sync 2015-06-10 10:46:00 -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
Harshavardhana 911accab45 Fix bug in recursive listing in mc, update minio-go 2015-06-06 16:57:29 -07:00
Anis Elleuch 0d09189e4a Make copying command more informative especially with several source files 2015-06-02 20:01:27 +01:00
Anand Babu (AB) Periasamy 2c1c5254c7 reorg doc strings 2015-05-30 17:33:18 -07:00
Anand Babu (AB) Periasamy 69dbb658e1 removed copy-same-object check and some cleanup 2015-05-30 15:43:32 -07:00
Anand Babu (AB) Periasamy 69562deb23 replace intMax with math.Max 2015-05-30 12:16:58 -07:00
Anand Babu (AB) Periasamy 690bb2d705 yield CPU to progress bar builder 2015-05-29 01:03:26 -07:00
Harshavardhana 9da87f5113 Handle permission errors for progress bar 2015-05-28 11:07:20 -07:00
Anand Babu (AB) Periasamy 98299b267e new countlocker to balance progress bar and copy routines 2015-05-27 04:10:51 -07:00
Harshavardhana eac7e5c192 Merge pull request #698 from harshavardhana/pr_out_implement_console_fatals_errors_infos_prints_for_structure_input_and_printing 2015-05-26 18:00:50 -07:00
Harshavardhana 25f847b3b6 Implement console.Fatals, Errors, Infos, Prints for structure input and printing 2015-05-26 17:59:35 -07:00
Anis Elleuch 600a55d369 Fix cp cmd freeze when quiet enabled 2015-05-26 22:01:54 +01:00
Harshavardhana 947b2b8d67 Add barMsg to carry Error() method to purge erroneous size upon cp error 2015-05-25 12:41:57 -07:00
Harshavardhana c3eeee74e6 Handle too many open files, this time during reader() not being closed 2015-05-25 12:33:33 -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 1a319b80ad Implement cp tests
-- update bar.Total with atomic.AddInt64
-- expose console mutex Lock/Unlock()
-- send errors in cp over channels
2015-05-20 21:43:58 -07:00
Harshavardhana f8fdfced8f If target exists skip for both sync and cp 2015-05-19 19:23:40 -07:00
Harshavardhana fc660f1350 Simplify GetObject, PutObject to not use md5sum for now. 2015-05-19 12:29:52 -07:00
Harshavardhana 9f17f4ff83 Rename copy to cp 2015-05-18 20:56:22 -07:00
Anand Babu (AB) Periasamy 90d4b452a9 Copy rewrite 2015-05-15 23:08:39 -07:00
Harshavardhana e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -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 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 89ecd00f93 Handle errors properly in cp 2015-04-28 17:45:19 -07:00
Harshavardhana 29562bc887 Implement sync command for single source multiple targets 2015-04-28 13:06:56 -07:00
Harshavardhana 8ba6261e18 Make getURL - getExpandedURL 2015-04-28 12:50:44 -07:00
Harshavardhana 23cee677b7 Add ./mc cp to support <source1> <source2> <target> 2015-04-28 11:59:48 -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 a9317ba22f Add recursive copy 2015-04-26 15:24:16 -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
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