1
0
mirror of https://github.com/minio/mc.git synced 2025-11-13 12:22:45 +03:00
Commit Graph

91 Commits

Author SHA1 Message Date
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
Harshavardhana
6e9fe6dc56 mc client interface now provides typed errors 2015-04-08 22:21:01 -07:00
Harshavardhana
8ea467294f iodine deps now coming in from minio-io/pkg/iodine 2015-04-08 18:19:51 -07:00
Harshavardhana
44d0f86e54 Add coloring outside of iodine, moving iodine messages to log.Debug 2015-04-06 12:50:15 -07:00
Harshavardhana
9e7c367545 Move from mgutz/ansi to fatih/color package on popularity and cleaner API.
This package also supports Windows console coloring.
2015-04-06 12:17:34 -07:00
Frederick F. Kautz IV
e1a8a44d0f Close reader to prevent fd leak 2015-04-05 21:44:07 -07:00
Harshavardhana
118713814f Multitarget now works properly - fixes #244 2015-04-05 19:10:04 -07:00
Harshavardhana
1f898e125e out of memory issue fixed #234
This is fixed by removing bytes.Buffer to calculate md5 during upload
2015-04-04 22:23:07 -07:00
Harshavardhana
871e717a31 When using waitGroup avoid channel, they seem to hang 2015-04-04 19:50:03 -07:00
Frederick F. Kautz IV
fe2e5b8a0a Updating multicopy to use waitgroup and return errors instead of indexes 2015-04-04 19:24:08 -07:00
Frederick F. Kautz IV
9144195d17 Adding iodine to main and cp 2015-04-04 19:08:16 -07:00
Harshavardhana
9e265de883 Add new cli changes 2015-04-04 16:43:27 -07:00
Anand Babu (AB) Periasamy
97ef5809ff multi target copy 2015-04-04 14:07:45 -07:00
Anand Babu (AB) Periasamy
02e7e35d7b first step to rewrite copy cmd 2015-04-03 12:56:28 -07:00
Anand Babu (AB) Periasamy
ba233bab60 move all global variables to globals 2015-04-01 20:08:21 -07:00
Harshavardhana
c7221386b2 Now progress bar is support for Put object 2015-03-31 22:57:36 -07:00
Harshavardhana
bcf41c53c2 Move From codegangsta/cli to minio-io/cli fork 2015-03-24 20:24:51 -07:00
Harshavardhana
bd18e3c260 Move back to functional style for simplicity 2015-03-23 15:43:02 -07:00
Harshavardhana
760453fe32 Improve url parser, inherit url.URL 2015-03-23 14:08:33 -07:00
Harshavardhana
d1550045b3 Donut command 2015-03-22 20:03:39 -07:00
Anand Babu (AB) Periasamy
b855e37945 new config file format and some restructuring 2015-03-19 18:09:56 -07:00
Harshavardhana
3403ef08f7 Move from Mini --> Minimalist for all license headers 2015-03-19 15:05:30 -07:00
Harshavardhana
f7d2f2cf3b Add stub options and rename some functions 2015-03-17 21:54:27 -07:00
Harshavardhana
537fa331ba Move from fmt.Errorf to errors.New
In many cases fmt.Errorf is good enough, but since
error is an interface, you can use arbitrary data
structures as error values, to allow callers to
inspect the details of the error.
2015-03-15 19:52:35 -07:00
Harshavardhana
427e38d837 New changes coming
- moving away from improper s3:// URI to standard http URI's
  - migrate and test all commands ./mc ls, ./mc cp, ./mc cp -r
  - move s3-trace.go s3/pkg/trace.go, make it part of S3 package
    and document it.
  - various other cleanup.
2015-03-15 01:05:54 -07:00
Harshavardhana
721dc02918 Cosmetic change missed in previous commit 2015-03-13 03:02:16 -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
8fd4e4a0bb Refactor ./mc cp with various modes of operation
- First mode of operation supports with style `Path` `S3Path` or `Path` `S3Bucket`
- Second mode of operation supports with style `S3Path` `Path` or `S3Path` `.`
- Third mode of operation supports with style `S3Path` `S3Path` or `S3Path` `S3Bucket`
2015-03-12 19:12:19 -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