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

98 Commits

Author SHA1 Message Date
Harshavardhana
a0e66ce640 Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled 2015-08-22 19:04:17 -07:00
Harshavardhana
878c8e2693 Migrate to newer version of config '2' 2015-08-20 21:03:39 -07:00
Harshavardhana
fa0c9e38bb Add error messages to fatalIf and errorIf 2015-08-19 17:11:34 -07:00
Harshavardhana
192518d679 Add new version command 2015-08-13 20:50:32 -07:00
Harshavardhana
b743f88353 Move quick to server and vendorize it 2015-08-13 16:38:24 -07:00
Harshavardhana
99f53fe45d Fix test cases where cp and mirror would fail
- globalQuietFlag and globalJSONFlag should be checked in conjunction
  for terminal features to be disabled. Otherwise ioctl fails for
  calculating the term size.

- Avoid unnecessary scoping for probe, it has two different error sets now
2015-08-12 22:11:31 -07:00
Harshavardhana
3caee383f0 Migrate to govendor to avoid limitations of godep
- over the course of a project history every maintainer needs to update
  its dependency packages, the problem essentially with godep is manipulating
  GOPATH - this manipulation leads to static objects created at different locations
  which end up conflicting with the overall functionality of golang.

  This also leads to broken builds on many platforms. There is no easier way out of
  this other than asking users to do 'godep restore' all the time which perhaps as
  a practice doesn't sound clean, also has its own set of problems.

- govendor on the other hand is a right tool but a stop gap tool until we wait for
  golangs official 1.5 version which fixes this vendoring issue once and for all.

- govendor makes sure that the import paths are re-written instead of manipulating
  GOPATH.

  This has advantages
    - no more compiled objects being referenced in GOPATH and build time GOPATH
      manging which leads to conflicts.
    - proper import paths referencing the exact package a project is dependent on.

  govendor is simple and provides the minimal necessary tooling to achieve this.

  For now this is the right solution.
2015-08-12 19:04:16 -07:00
Harshavardhana
413ce3995e Simplify and enhance error strings 2015-08-12 01:05:02 -07:00
Harshavardhana
202f9e7646 Probe moves closer to mc, also brings in changes by avoiding it behave like an error interface{} 2015-08-07 00:53:37 -07:00
Harshavardhana
88bef1c60a Fix a config corruption bug when config.json has wrong json format, would lead to overwriting the previous config.json 2015-07-29 23:14:48 -07:00
Harshavardhana
16fdb569c9 Add copy and cast limited tests 2015-07-27 15:25:34 -07:00
Harshavardhana
4eb519fa6c Autogenerate config, for the first time no more config generate 2015-07-26 00:24:08 -07:00
Harshavardhana
b90e016892 Add command context testing 2015-07-24 12:42:33 -07:00
Harshavardhana
f14f983a76 Add common methods test 2015-07-23 21:00:45 -07:00
Harshavardhana
6ed78e32d9 Add tests reported by go coverage 2015-07-23 16:34:21 -07:00
Harshavardhana
38149f5ba1 Allow copy for virtual files 2015-07-18 16:30:36 -07:00
Harshavardhana
f717e9b560 Migrate to upstream gopkg.in/check.v1 2015-07-18 15:52:17 -07:00
Harshavardhana
d4047ca899 Cleanup minio, remote struct printing for Info, Error and Fatal - simplifying overall error handling 2015-07-14 11:02:04 -07:00
Anand Babu (AB) Periasamy
de8b99c4ff support for custom --config dir 2015-07-13 15:35:53 -07:00
Harshavardhana
7b1ed5b824 Fix data race reported by golang 1.5 2015-07-10 21:04:35 -07:00
Harshavardhana
f63e913060 Remove path.Join usage as its not portable
Thanks to Mattn <mattn.jp@gmail.com> for inputs
2015-06-18 11:05:26 -07:00
Harshavardhana
cbe93ae9c3 Fix mcConfigDir path test for windows 2015-06-12 15:48:42 -07:00
Harshavardhana
c0570b41fe Add tests for sync command 2015-06-10 18:08:17 -07:00
Harshavardhana
95f61bd6d4 Update all tests with new changes 2015-06-09 11:08:01 -07:00
Harshavardhana
127027e1f8 Rename all http references to https 2015-06-08 21:13:12 -07:00
Harshavardhana
112adec910 Move everything from uint64 to int64 2015-06-03 22:22:03 -07:00
Anand Babu (AB) Periasamy
d57fdd909f remove retry capability 2015-05-30 16:53:34 -07:00
Harshavardhana
edb8381400 Refactor debugging output, implement --json output currently only supported on 'ls' 2015-05-21 22:30:32 -07:00
Harshavardhana
a0177fc1fe Finish object handlers for mc commands, updated relevant tests respectively 2015-05-21 16:52:25 -07:00
Harshavardhana
e5ede4635d Add typeD test with cp 2015-05-21 14:59:18 -07:00
Harshavardhana
1e924378cf Improve tests add SetUpSuite and TearDownSuite 2015-05-21 00:58:12 -07:00
Harshavardhana
b94e67e57f Add new tests for common methods, make necessary changes to support testing config file creation 2015-05-20 17:04:42 -07:00
Harshavardhana
31e24bfb29 Complete fs tests for objectRange and List recursive 2015-05-20 11:45:27 -07:00
Harshavardhana
dad7af0fe3 Improve and use regexp for Scheme validation 2015-05-19 11:18:22 -07:00
Anand Babu (AB) Periasamy
d1a22403e5 cache repeated config loads 2015-05-16 18:32:35 -07:00
Anand Babu (AB) Periasamy
b35ab2f873 quiet mode support for copy and sync 2015-05-16 17:30:58 -07:00
Anand Babu (AB) Periasamy
90d4b452a9 Copy rewrite 2015-05-15 23:08:39 -07:00
Anis Elleuch
4f783ce840 Add FreeBSD support 2015-05-14 21:11:06 +00:00
Harshavardhana
e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana
607d86e5c3 Add few more tests 2015-05-02 14:04:29 -07:00
Harshavardhana
766dbfa559 "unstruct client functions"
Original-Author: Anand Babu Periasamy <ab@minio.io>
2015-05-02 11:41:30 -07:00
Harshavardhana
62f1b22295 Merge pull request #589 from harshavardhana/pr_out_full_cleanup_of_s3_client_for_mc 2015-05-02 11:29:46 -07:00
Harshavardhana
78a78c072a Full cleanup of s3 client for mc 2015-05-02 11:28:31 -07:00
Harshavardhana
945ae36101 Fix mc cat bug for sudo terminals 2015-05-01 21:09:40 -07:00
Harshavardhana
a0e7b8cfaf OSX Support :-) - thanks to sri@h2o.ai 2015-05-01 01:09:58 -07:00
Harshavardhana
2f9e7d4dbf Add testing code for CmdAccess() 2015-04-29 14:01:30 -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