Krishna Srinivas
b2da734ec9
fs get() should return client.PathInsufficientPermission{} in case of EPERM error
2015-11-17 19:51:57 -08:00
Harshavardhana
1c2f292f77
ls: listing fixes for all the bugs we found
...
- fixes #1356
- fixes #1355
- fixes #1358
2015-11-17 14:32:45 -08:00
Harshavardhana
7856e331a1
fs: windows fixes for list handling
2015-11-15 17:50:01 -08:00
Harshavardhana
cf76387dea
fs: avoid nil derefence in fs listRecursive()
2015-11-15 16:21:39 -08:00
Harshavardhana
540b72426a
fs: Make fs behave like s3 for prefix directories
2015-11-15 13:17:17 -08:00
Harshavardhana
47f1d2487b
fs: Non-recursive send in sorted order, note will be slow for large directories
2015-11-15 11:39:32 -08:00
Harshavardhana
f419064871
copy: Simplify copy handling for TypeC
2015-11-13 16:10:16 -08:00
Krishna Srinivas
eb78783c3f
Fix for prefix based rm
...
"mc rm asd..." where asd is a prefix, not a directory
2015-11-13 14:35:45 -08:00
Harshavardhana
3790cf557a
fs: Fill path variables into error properly
2015-11-13 01:28:04 -08:00
Harshavardhana
940fd7c608
error-handling: Add proper typed errors and converged code url2Content.
2015-11-13 00:24:09 -08:00
Harshavardhana
5018b01a51
fs: Make fs behave like s3 - fixes #1246
2015-11-12 01:26:47 -08:00
Harshavardhana
6f7e752aa0
fs: Implement custom walk to handle sorting properly
2015-11-11 14:43:18 -08:00
Harshavardhana
7d3b1a6ddb
mirror: Fix handling of preceding separators from source
...
Filesystem now never replies back directories for recursive usecase.
2015-11-11 02:01:54 -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
671ce5242d
Handle directory symlink navigation
2015-10-28 00:13:20 -07:00
Harshavardhana
f94de478c3
Merge RemoveIncompleteUpload() into Remove
2015-10-22 15:18:11 -07:00
Harshavardhana
795a8edf64
Simplify client interface
2015-10-22 10:47:24 -07:00
Krishna Srinivas
e9bc4af214
recursive 'mc ls' on filesystem gives error #1198
2015-10-21 18:10:40 -07:00
Harshavardhana
2f46510d26
Improve upon the argument verification - use the existing primitives from cli package
2015-10-20 20:47:08 -07:00
Krishna Srinivas
a3b49bdd34
Support for "mc rm s3/bucket/dir/... incomplete force"
2015-10-20 19:40:21 -07:00
Harshavardhana
1eb171544f
Implement mc ls incomplete s3/bucketname
2015-10-19 22:28:34 -07:00
Krishna Srinivas
b4c78a33ff
support for "rm" of objects and buckets
2015-10-19 15:11:59 -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
c4b9891c6e
Always make sure to verify argument validation in checkSyntax**.
...
Cleanup share-upload.go to be aware of different argument validation.
2015-10-10 13:05:33 -07:00
Anis Elleuch
45b1351991
Relax too many levels symlink error when traversing folders/files
2015-10-08 22:56:59 +01:00
Krishna Srinivas
7ec74a33ce
Implement mc share upload and mc share download
2015-10-08 13:20:29 -07:00
Harshavardhana
53f83dfe57
Add some comments for migration
2015-09-28 10:40:19 -07:00
Harshavardhana
abbfa4b13f
Avoid shadowing by using unique variables as necessary
2015-09-08 23:28:56 -07:00
Harshavardhana
2549415a87
Add junction and symlink handling for windows only
2015-09-04 23:01:51 -07:00
Harshavardhana
2bca24e0fa
golang filepath.EvalSymlinks doesn't handle juntion files handle them - fixes #1076
2015-09-04 13:32:00 -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
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
f65c87730f
Define error for windows, minor fix pushing in
2015-08-25 00:42:24 -07:00
Harshavardhana
492340b3d8
Recursively progress along with errors if possible
2015-08-23 02:30:47 -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
9ba648084e
Fix more scoping issues with new probe.Error v/s error
2015-08-03 11:19:22 -07:00
Harshavardhana
e7dab5f1cf
Migrating from iodine to probe
2015-08-03 11:04:34 -07:00
Harshavardhana
1afc92cb49
Add cast syntax check logic
...
-- TypeA for both cast and copy targetURL check shouldn't fail it it doesn't exist
such is a common occurrence of not having a target, instead we verify if it exists
is it a directory?
-- Rename all 'directory' references to folder
2015-07-24 14:43:47 -07:00
Harshavardhana
38149f5ba1
Allow copy for virtual files
2015-07-18 16:30:36 -07:00
Harshavardhana
f717e9b560
Migrate to upstream gopkg.in/check.v1
2015-07-18 15:52:17 -07:00
Harshavardhana
9971d4964c
mc session related changes
2015-06-29 23:12:28 -07:00