Harshavardhana
9b901bac21
Fix sync bug when in TypeA and TypeB sync style source doesn't exist
2015-06-22 15:57:02 -07:00
Harshavardhana
4b88ad7786
Move to structure printing everywhere, fix incorrect iodine usage at few places
2015-06-22 15:29:36 -07:00
Harshavardhana
1983caf2e2
Attempt to make informational message a structure
2015-06-22 07:44:08 -07:00
Harshavardhana
33afbbc4e9
Update sync session docs
2015-06-20 21:53:59 -07:00
Harshavardhana
a0ab414764
Add sync session, deprecate UUID usage move to a fixed length random english characters
2015-06-20 20:39:35 -07:00
Harshavardhana
b7b626b04e
Making caption fixed length and bumping caption usage to 18%
2015-06-16 21:33:57 -07:00
Harshavardhana
dbb35c185a
Code cleanup and readability for mc
2015-06-16 14:17:01 -07:00
Harshavardhana
476e184a90
Trim caption for just file names and getFixedWidth for 10%.
...
Remove spaces in between unicode characters, these were causing spurious space characters
2015-06-16 02:12:29 -07:00
Harshavardhana
c04acf4d50
Convert all errors.New and fmt.Errorf to typed errors
2015-06-13 21:36:42 -07:00
Harshavardhana
0935a7b3d3
Simplify cp and sync routines - don't forget to close syncQueue channel :-)
2015-06-13 20:05:03 -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
8befc50050
Update docs/* remove stale documentation
2015-06-10 18:34:46 -07:00
Harshavardhana
c0570b41fe
Add tests for sync command
2015-06-10 18:08:17 -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
95f61bd6d4
Update all tests with new changes
2015-06-09 11:08:01 -07:00
Harshavardhana
168926fa06
All methods use now target2Client, source2Client, url2Client helpers
2015-06-09 10:37:48 -07:00
Anand Babu (AB) Periasamy
9b10c3fb68
Sync command
2015-06-08 22:58:28 -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
4ef1eb0b81
synchronize pb go routine with sync go routines
2015-05-30 12:27:01 -07:00
Anand Babu (AB) Periasamy
69562deb23
replace intMax with math.Max
2015-05-30 12:16:58 -07:00
Anis Elleuch
a00091ffee
Fix sync cmd with single CPU core
2015-05-27 18:51:39 +01: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
9f17f4ff83
Rename copy to cp
2015-05-18 20:56:22 -07:00
Harshavardhana
a862c41590
Re-enable progress bar with a NewProxyReader
2015-05-17 12:48:27 -07:00
Anand Babu (AB) Periasamy
b35ab2f873
quiet mode support for copy and sync
2015-05-16 17:30:58 -07:00
Harshavardhana
8299edc82c
Returning right after doCopy error, we should just print the error and move forward
2015-05-16 14:33:35 -07:00
Harshavardhana
ea833d8ca3
Implement sync command, leveraging cp code
2015-05-16 13:29:31 -07:00
Harshavardhana
af7d43dfe6
Some cleanup, sync to be enabled
2015-05-16 02:16:13 -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
23cee677b7
Add ./mc cp to support <source1> <source2> <target>
2015-04-28 11:59:48 -07:00
Harshavardhana
503fa1f239
Add recursive directory upload and bucket download
...
support for './mc cp' with -r, deprecate './mc sync'
```
$ ./mc cp -r <directory_name> s3://<yourbucketname>
$ ./mc cp -r s3://<yourbucketname> <directory_name>
```
NOTE: resume is not supported yet
2015-03-13 02:59:57 -07:00
Harshavardhana
7ef6214ddd
More restructue and add a new cli option to generate bash completion file.
2015-03-11 18:14:19 -07:00
Anand Babu (AB) Periasamy
77207a7477
renamed source files appropriately
2015-03-11 15:17:27 -07:00