Harshavardhana
f85e8827e1
Migrate mc package to minio-xl from minio/minio repo for probe/quick
2015-10-17 00:24:14 -07:00
Harshavardhana
53f83dfe57
Add some comments for migration
2015-09-28 10:40:19 -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
Harshavardhana
5288f0fffa
Improve config migrate messages
2015-08-29 13:03:09 -07:00
Harshavardhana
957d4e08cc
Fix typo, pushing this in
2015-08-29 00:40:38 -07:00
Harshavardhana
7e5820a815
Fix config v3 for previous reverts
2015-08-29 00:27:11 -07:00
Harshavardhana
4d716f2956
Move to version 3, jsonify config version from now on
2015-08-28 23:29:37 -07:00
Harshavardhana
f831d94d3f
Revert "Change ACL to Access"
...
This reverts commit 68b3b0aac2 .
Revert "Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support"
This reverts commit 6816542c7a .
2015-08-28 22:37:10 -07:00
Harshavardhana
68b3b0aac2
Change ACL to Access
2015-08-28 21:35:07 -07:00
Harshavardhana
6816542c7a
Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support
2015-08-28 21:20:41 -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
Anand Babu (AB) Periasamy
e61ad067cd
final review of all error messages
2015-08-22 23:15:30 -07:00
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
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
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
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
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
e6fd52f026
Rename ifFatal and ifError as Fatal, Error
2015-08-03 22:19:45 -07:00
Harshavardhana
e7dab5f1cf
Migrating from iodine to probe
2015-08-03 11:04:34 -07:00
Harshavardhana
7ef19ab316
Add support for virtual styled hosts and update godeps
2015-07-30 13:15:57 -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
ee0fe86178
Do not overwrite if user already had expected entries
2015-07-23 14:35:57 -07:00
Harshavardhana
2e23ca3ce9
Add migration code for migrating from config version 1.0.0 to 1.0.1
2015-07-23 14:32:21 -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
Anand Babu (AB) Periasamy
de8b99c4ff
support for custom --config dir
2015-07-13 15:35:53 -07:00
Harshavardhana
7848ffd99c
Rename isMcConfigExist to isMcConfigExists for brevity
2015-06-23 20:28:12 -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
147a3d5a70
use sync.Pool for config
2015-06-11 11:50:54 -07:00
Harshavardhana
127027e1f8
Rename all http references to https
2015-06-08 21:13:12 -07:00
Anand Babu (AB) Periasamy
d7fbef2ba5
default access and secret key notice
2015-05-23 19:00:06 -07:00
Harshavardhana
54d0f9c553
Refactoring console printing style, supports --json even for error messages now - fixes #418
2015-05-22 18:27:07 -07:00
Harshavardhana
1e924378cf
Improve tests add SetUpSuite and TearDownSuite
2015-05-21 00:58:12 -07:00
Anand Babu (AB) Periasamy
d1a22403e5
cache repeated config loads
2015-05-16 18:32:35 -07:00
Harshavardhana
102ec394b6
filepath.Match on http prefixed globURL will fail if matched with only u.Host, config can have non absolute globURLs
2015-05-16 14:57:47 -07:00
Harshavardhana
538eadc71a
Add dl.minio.io into default config list
2015-05-15 18:37:45 -07:00
Harshavardhana
e4a77c7391
Change minio-io to minio
2015-05-11 16:24:26 -07:00