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

8 Commits

Author SHA1 Message Date
Harshavardhana
b7e6a4358b Changes to test framework, remove references to 'Cmd'wq 2015-09-15 21:47:38 -07:00
Harshavardhana
a0e66ce640 Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled 2015-08-22 19:04:17 -07:00
Harshavardhana
fa0c9e38bb Add error messages to fatalIf and errorIf 2015-08-19 17:11:34 -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
007a3c3497 No types in mirror command anymore 2015-07-31 00:26:10 -07:00
Harshavardhana
4d2be23260 cast to mirror 2015-07-30 23:10:47 -07:00
Harshavardhana
ded42e0df2 Rename cast to mirror 2015-07-30 16:20:07 -07:00