Anand Babu (AB) Periasamy
0bd1edfd8f
new alias style and numerous cleanups.
2015-12-28 15:31:52 -08:00
Harshavardhana
727538fa8c
pkg/user: Bring user package from server and use it here in place of userCurrent.
2015-12-08 20:35:01 -08:00
Harshavardhana
39ba33f4c6
config: Simplify config further, add more docs.
2015-11-21 16:32:34 -08:00
Harshavardhana
7355eecf56
config/csv: Add config import command for importing csv credential files.
...
- Much needed cleanup of 'config' handling code.
- Adds a new CSVUnmarshal, unmarshalling to a struct from a csv file.
Fixes #1422
2015-11-21 11:42:14 -08:00
Harshavardhana
c757cf1829
trace: Add missing traces.
2015-11-19 17:23:00 -08:00
Harshavardhana
da65cbae06
config: Extensive changes to config and host handling
...
- alias now expands for all match aliases and also any matching hosts.
Example:- mc ls -r s3.amazonaws.com/ferenginar/bin
- not globs, no hosts - only fully qualified URLs are stored in config.
- everywhere use 'args2URLs()' getAliasURL should be used internally.
2015-11-19 00:20:11 -08:00
Harshavardhana
34c9896d1d
doc: Add various missing documentation across the codebase.
2015-11-18 12:52:46 -08:00
Harshavardhana
6db5b8fddc
config: fix config version 6 by removing glob hosts
2015-11-18 00:52:08 -08:00
Harshavardhana
6e9ec398da
config: Remove support for glob URLs, simply rely on strings suffix matching.
2015-11-17 20:49:48 -08:00
Harshavardhana
0945e3b872
local: alias localhost:9000 - fixes #1383
2015-11-17 18:20:29 -08:00
Anand Babu (AB) Periasamy
e6a96a411a
move older versions of config to config-legacy.go
2015-11-15 21:39:12 -08:00
Harshavardhana
5ba1266f5b
386: Support 'mc' for linux 32bit operating systems
2015-11-13 23:22:00 -08:00
Harshavardhana
bfde2b119a
config: Migration remove unnecessary s3 host configs
2015-11-13 22:40:44 -08:00
Harshavardhana
54e24eccaa
config: list hosts only present in config.
...
Fixes #1285
2015-11-12 13:34:05 -08:00
Harshavardhana
824a6b8cb8
config: migrate to new configV6
...
Fixes #1266
- add "*s3*amazonaws.com" as part of the new config.
- add "*storage.googleapis.com" as part of the new config.
2015-11-12 00:04:41 -08:00
Anand Babu (AB) Periasamy
00611fb35b
fix config v3 fix function
2015-10-24 00:52:25 -07:00
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