Commit Graph
34 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 e03315ba44 Add cursor animate to mirror 2015-10-08 16:24:20 -07:00
Krishna Srinivas 9b45038a78 trailing slash was not enforced on sourceClnt #1158 2015-10-05 20:54:42 -07:00
Krishna Srinivas 9c23a4349c mirror - dump the sorted list of source and destinations to local disk and find the files that need to be mirrored 2015-10-03 02:02:25 -07:00
Harshavardhana 8aba0aed50 Do not enforce mirror source to have ... convention, let it be recursive always 2015-09-01 15:43:57 -07:00
Anand Babu (AB) Periasamy 91100b72ed alias support with colon requirement 2015-08-29 18:02:32 -07:00
Anand Babu (AB) Periasamy bb3c89d844 convert remaining typed errors to probe errors 2015-08-24 22:29:50 -07:00
Harshavardhana edf651ce4a Merge pull request #1043 from harshavardhana/prepare-urls
Handle errors and clearing previous outputs - json output shouldn't have colors
2015-08-24 17:18:21 -07:00
Harshavardhana 1e67db0aef Handle errors and clearing previous outputs - json output shouldn't have colors 2015-08-24 17:17:11 -07:00
Anand Babu (AB) Periasamy 831db52dcf thread-safe typed errors 2015-08-24 12:55:11 -07:00
Anand Babu (AB) Periasamy 40ff9f1033 re-vendorize probe and simplfy typed errors 2015-08-24 04:09:18 -07:00
Harshavardhana 3e5178ddb2 diff should handle type and size as well in recursive diff 2015-08-24 00:02:50 -07:00
Harshavardhana 492340b3d8 Recursively progress along with errors if possible 2015-08-23 02:30:47 -07:00
Anand Babu (AB) Periasamy f2899ef228 replaced panic with probe 2015-08-22 23:26:56 -07:00
Anand Babu (AB) Periasamy 099b4478d6 replaced panic with probe 2015-08-22 23:25:11 -07:00
Anand Babu (AB) Periasamy d8bb1e9fd6 replaced panic with probe 2015-08-22 23:22:17 -07:00
Anand Babu (AB) Periasamy 0de688948a error messages and tiny bug fixes 2015-08-22 19:47:11 -07:00
Harshavardhana a0e66ce640 Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled 2015-08-22 19:04:17 -07:00
Harshavardhana dfd1b29d5f Improve error messages 2015-08-20 17:22:38 -07:00
Harshavardhana fa0c9e38bb Add error messages to fatalIf and errorIf 2015-08-19 17:11:34 -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 ae2a20dffc Move from Fatal/Error to fatalIf/errorIf 2015-08-09 22:41:49 -07:00
Harshavardhana c97c2a77b5 Move testing into its own <package>_test, add probe.NewError() new changes 2015-08-08 11:16:36 -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 41f35c9e82 Fix a really bad bug, avoid over-writing targetClnt URL(), copy the pointer properly 2015-08-03 22:20:11 -07:00
Harshavardhana e6fd52f026 Rename ifFatal and ifError as Fatal, Error 2015-08-03 22:19:45 -07:00
Harshavardhana e003a242f6 Handle errors better with new changes, changes across cp, mirror, mb 2015-08-03 21:13:29 -07:00
Harshavardhana 4c7559317d Only mirror regular files 2015-08-03 19:08:33 -07:00
Harshavardhana e7dab5f1cf Migrating from iodine to probe 2015-08-03 11:04:34 -07:00
Harshavardhana 892c9b86a6 Default to delta calculation for mirror - all last remaining types removed 2015-07-31 15:51:15 -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