Harshavardhana
03e9fa70dd
minio-go: update to new version of minio-go
...
This change comes with wider re-structure inside minio-go and lots
of code cleanup.
2015-11-09 23:03:45 -08:00
Harshavardhana
dc985953e4
diff: Cleanup diff
...
- overall simplification and reduction in repetitive code.
- use select for multi channel synchronization.
2015-11-09 16:37:54 -08:00
Harshavardhana
fb48c24176
list: Fix more listing bugs
2015-11-08 02:49:09 -08:00
Harshavardhana
cb87550978
list: Fix listing command output
...
Fix all the incorrectness behavior of `ls` introduced after
recent changes.
2015-11-08 00:07:11 -08:00
Harshavardhana
b9033d1cac
structure: Move client.Content to return a URL object
...
This change is needed to avoid extensive string manipulation
of URLs throughout the code base.
A client interface sends back data as a proper URL object,
this facilitates us to avoid unnecessary string manipulation
by making code more cleaner.
2015-11-07 22:12:52 -08: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
6c52ffe6bf
In HTTP Trace do not add Authorization header in frivolous way
2015-09-18 15:08:32 -07:00
Harshavardhana
c60d2ac8d7
Fix golint complaints
2015-09-17 18:58:19 -07:00
Harshavardhana
6166351774
Stat() on a URL shouldn't fail, just treat as a regular directory
2015-09-17 14:43:04 -07:00
Harshavardhana
aaec806897
Simplify help messages
2015-09-01 14:54:13 -07:00
Harshavardhana
53fc1c7b38
Disable ACL's for filesystem as it doesn't bring any direct meaning
2015-09-01 10:47:52 -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
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
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
Harshavardhana
a0e66ce640
Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled
2015-08-22 19:04:17 -07:00
Harshavardhana
c992bb682f
Migrate to PresignedGetObject from PresignedGetPartialObject() as the latter was of no real use
2015-08-21 20:39:22 -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
3185ca1146
Improve share command
2015-08-12 17:00:07 -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
c36ed96f26
Add `share` command leveraging new PresignedURL API from minio-go
2015-08-06 21:52:53 -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
27e6cf466e
Use values from url object rather than hardcoded entries
2015-07-30 10:57:49 -07:00
Krishna Srinivas
15fb024b81
Fix path when bucket is specified as part of domain name
2015-07-30 22:35:00 +05:30
Harshavardhana
b0e7f435c8
Support virtual host styled requests, convert them to path style properly
2015-07-29 23:44:26 -07:00
Harshavardhana
304254863f
Return back object already exists for methodnotallowed
2015-07-21 19:15:43 -07:00
Harshavardhana
f717e9b560
Migrate to upstream gopkg.in/check.v1
2015-07-18 15:52:17 -07:00
Harshavardhana
b7e06060b3
Make sure to skip broken links
2015-06-16 02:30:13 -07:00
Harshavardhana
c04acf4d50
Convert all errors.New and fmt.Errorf to typed errors
2015-06-13 21:36:42 -07:00
Frederick F. Kautz IV
ed7b8a092c
Testing to see if the error is an errorresponse. If it isn't, just pass as is.
2015-06-12 21:50:30 -07:00
Harshavardhana
81b417bc53
Remove delimiter constant, use c.hostURL.Separator
2015-06-10 21:32:19 -07:00
Harshavardhana
8bc17e5b2b
No need to set regions through s3.go, library does it automatically
2015-06-10 21:24:03 -07:00
Frederick F. Kautz IV
10f995d723
mc uploads with default application/octet-stream
2015-06-10 20:17:52 -07:00
Frederick F. Kautz IV
36552f4d03
Renaming GetObject to GetPartialObject
2015-06-10 19:24:44 -07:00
Harshavardhana
1bb4aa62ea
update to new error related changes in minio-go
2015-06-10 00:39:04 -07:00
Harshavardhana
f34742b539
Add URL() method
2015-06-09 10:37:20 -07:00
Harshavardhana
e53f009a9d
More prefix url fixes, all combinations work as intended
2015-06-08 11:47:28 -07:00
Harshavardhana
6c7dbcaf4e
More prefix url cleanup
2015-06-07 02:55:29 -07:00
Harshavardhana
98a5cf648b
Move diff also away from prefixed url
2015-06-06 21:49:50 -07:00
Harshavardhana
bdff69f7b4
Now alias:... provides consistent list output
2015-06-06 19:29:02 -07:00
Harshavardhana
535fb0cae6
Return back normal object names not URL's
2015-06-06 11:25:28 -07:00
Harshavardhana
4709af19ab
Handle prefixed recursive behavior and mimick filesystem behavior
2015-06-04 19:50:56 -07:00
Harshavardhana
112adec910
Move everything from uint64 to int64
2015-06-03 22:22:03 -07:00
Harshavardhana
0a44c7454d
Bring new changes from minio-go to mc
2015-06-01 21:45:04 -07:00
Harshavardhana
aa0347f59b
Update to new changes in minio-go library and make related modifications in mc
2015-05-28 19:13:36 -07:00