Commit Graph
37 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 f365542228 Make sure that if we find the exact match reply quickly, do not go through globURL ref #1111 2015-09-22 02:19:53 -07:00
Harshavardhana 6a493df5eb migrate from ConfigV4 to ConfigV5, rename Signature to API 2015-09-21 22:36:50 -07:00
Harshavardhana e8e24ca723 Add support for signature v2 - fixes #1111 2015-09-21 21:00:07 -07:00
Anand Babu (AB) Periasamy fddcb821fa URL related bug fixes and cleanup 2015-08-30 02:14:24 -07:00
Anand Babu (AB) Periasamy 91100b72ed alias support with colon requirement 2015-08-29 18:02:32 -07:00
Harshavardhana 957d4e08cc Fix typo, pushing this in 2015-08-29 00:40:38 -07:00
Harshavardhana 4d716f2956 Move to version 3, jsonify config version from now on 2015-08-28 23:29:37 -07:00
Anand Babu (AB) Periasamy bb3c89d844 convert remaining typed errors to probe errors 2015-08-24 22:29:50 -07:00
Anand Babu (AB) Periasamy 40ff9f1033 re-vendorize probe and simplfy typed errors 2015-08-24 04:09:18 -07:00
Harshavardhana a0e66ce640 Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled 2015-08-22 19:04:17 -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 25e5ea2574 Move to server package for probe 2015-08-10 19:49:57 -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 e7dab5f1cf Migrating from iodine to probe 2015-08-03 11:04:34 -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 cd1f80c442 Add diff cli context tests 2015-07-24 16:30:43 -07:00
Harshavardhana 9f4e87339c Add localhost and 127.0.0.1 entries into config.json 2015-07-23 10:46:13 -07:00
Harshavardhana 25ada41480 Implement NewIodine() in a simpler way 2015-07-15 18:39:17 -07:00
Harshavardhana 8fa80fbf37 Revert "Add mc top level error handling without printing stack traces."
This reverts commit ab4f64b5e3.
2015-07-15 17:25:42 -07:00
Harshavardhana ab4f64b5e3 Add mc top level error handling without printing stack traces. 2015-07-15 16:53:28 -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
Harshavardhana 6c10632901 Let localhost also have its access keys and secret id 2015-07-08 21:51:28 -07:00
Harshavardhana c04acf4d50 Convert all errors.New and fmt.Errorf to typed errors 2015-06-13 21:36:42 -07:00
Harshavardhana 168926fa06 All methods use now target2Client, source2Client, url2Client helpers 2015-06-09 10:37:48 -07:00
Harshavardhana 082bb23a71 Implement our own url.Parse with minimal functionality 2015-05-18 22:40:32 -07:00
Harshavardhana 8a8fd82853 Remove dependency on url.Parse() use client.Parse implementation 2015-05-18 16:51:04 -07:00
Anand Babu (AB) Periasamy d1a22403e5 cache repeated config loads 2015-05-16 18:32:35 -07:00
Anand Babu (AB) Periasamy c6168d3511 reduce url.Parse dependency 2015-05-16 12:43:56 -07:00
Anand Babu (AB) Periasamy 90d4b452a9 Copy rewrite 2015-05-15 23:08:39 -07:00
Harshavardhana e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana 9833697e0a Add more fixes and helpful messaging
- check for config file for each command, prior to error out properly
  - hostconfig doesn't do any key verification, let client s3 verify it as needed
  - mc update change URL pointed to dl.minio.io minio server, still not functional yet
2015-04-30 14:03:06 -07:00
Harshavardhana 29562bc887 Implement sync command for single source multiple targets 2015-04-28 13:06:56 -07:00
Harshavardhana 744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Harshavardhana 9711642f1d Fix for #439 - simplify config handling 2015-04-26 19:16:12 -07:00