1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
Harshavardhana
f85e8827e1 Migrate mc package to minio-xl from minio/minio repo for probe/quick 2015-10-17 00:24:14 -07:00
Harshavardhana
b8bd40e685 Disable JSON based testing, reduce ls tests to its context only 2015-09-19 19:42:25 -07:00
Harshavardhana
8164410b4e Change the 'ls' output behavior
- do not add odd prefixes like GNU 'ls' since it clobbers users view
- add minio specific to differentiate the users view of 'ls' output

Rather than having output in the following manner

```
$ mc ls pkg vendor
pkg:
client console

vendor:
github.com
```

It should be

```
$ mc ls pkg vendor
pkg/client
pkg/console
vendor/github.com
```

This way the differentiation and the API is not disturbed.

This patch fixes this issue.
2015-09-16 03:01:29 -07:00
Harshavardhana
dad28fbe16 ls modifications - always print for multiple arguments files first and directories second 2015-09-15 23:03:45 -07:00
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
25e5ea2574 Move to server package for probe 2015-08-10 19:49:57 -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
b90e016892 Add command context testing 2015-07-24 12:42:33 -07:00
Harshavardhana
f717e9b560 Migrate to upstream gopkg.in/check.v1 2015-07-18 15:52:17 -07:00
Harshavardhana
95f61bd6d4 Update all tests with new changes 2015-06-09 11:08:01 -07:00
Harshavardhana
e95c3bd3e8 Now fs behaves similar to s3 style delimited output 2015-06-06 21:23:33 -07:00
Anand Babu (AB) Periasamy
3439ca5fde handle recursive prefix properly 2015-06-05 21:49:33 -07:00
Harshavardhana
112adec910 Move everything from uint64 to int64 2015-06-03 22:22:03 -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
1e924378cf Improve tests add SetUpSuite and TearDownSuite 2015-05-21 00:58:12 -07:00
Harshavardhana
1c899e5059 Fix stat URL sent back on Stat() 2015-05-20 19:40:30 -07:00
Harshavardhana
af3d8c4701 Implement ls tests 2015-05-20 18:29:40 -07:00