Anand Babu (AB) Periasamy
0bd1edfd8f
new alias style and numerous cleanups.
2015-12-28 15:31:52 -08:00
Harshavardhana
36e7e42637
contentType: use contentDB package from server.
2015-12-04 16:28:26 -08:00
Harshavardhana
8949e30524
incomplete-upload: Listing should handle incomplete upload prefixes as well.
...
Fixes #1514
2015-12-02 10:36:56 -08:00
Harshavardhana
99cc307a62
cp/mirror: URL syntax needs to know if URL is of virtual style
...
Fixes #1502
2015-11-30 08:16:06 -08:00
Harshavardhana
2a9293b79f
url: prefixExists should be isURLPrefixExists
2015-11-19 15:02:55 -08:00
Harshavardhana
1a85e97050
session: Make session resume more user friendly
2015-11-19 13:08:13 -08:00
Harshavardhana
670fac2afb
Merge pull request #1444 from abperiasamy/cp-recur
...
new recursive cp and session
2015-11-19 12:49:19 -08:00
Anand Babu (AB) Periasamy
123fde256e
new recursive cp and session
2015-11-19 12:41:55 -08:00
Krishna Srinivas
1778d6a448
mc ls fails when there is a broken symlink - fixes #1442
2015-11-19 12:09:20 -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
Anand Babu (AB) Periasamy
2db255c276
recursive and directory based sharing
2015-11-17 20:32:40 -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
f686fc6ef4
ls: handle cases of non-existant directories
2015-11-16 18:49:18 -08:00
Harshavardhana
ff13eb5764
ls: listing bug fixed for prefixes which do not start with .
2015-11-16 10:00:26 -08:00
Harshavardhana
a3522a2962
cp: Fix cp command behavior for s3/bucketname/prefix... operations
2015-11-15 22:42:44 -08:00
Harshavardhana
c68af8451b
url: urlJoinPath should work on trailing slashes now.
2015-11-15 12:49:53 -08:00
Harshavardhana
d4015c454b
ls: if the top-level URL path has a separator return quickly
2015-11-14 14:56:54 -08:00
Harshavardhana
15a0466966
ls: Fix inconsistent ls output
2015-11-14 12:09:28 -08:00
Harshavardhana
75f27fa74c
url: simplify url handling in ls, cp, mirror
2015-11-13 19:38:15 -08:00
Harshavardhana
940fd7c608
error-handling: Add proper typed errors and converged code url2Content.
2015-11-13 00:24:09 -08:00
Harshavardhana
6d86cbc686
copy: Fix copyURLsTypeC style of copying with or without separator.
...
- `mc cp pkg... test` copies all `pkg` including itself
- `mc cp pkg/... test` copies all content inside `pkg` excluding `pkg`
2015-11-08 15:24:38 -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
Krishna Srinivas
1cab0c2c24
recursive ls on object storage was giving incorrect output
...
fix for #1196
2015-10-21 14:55:00 -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
e69b7253df
Fix alias bug
2015-09-05 16:34:04 -07:00
Harshavardhana
c46ea80fff
Move primitives for add, list, remove into their own subcommands as alias,host etc.
2015-09-01 19:58:33 -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
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
Anand Babu (AB) Periasamy
1c313ef773
final update and tiny fixes
2015-08-22 22:31:15 -07:00
Harshavardhana
a0e66ce640
Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled
2015-08-22 19:04:17 -07:00
Harshavardhana
fa0c9e38bb
Add error messages to fatalIf and errorIf
2015-08-19 17:11:34 -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
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
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
dbb35c185a
Code cleanup and readability for mc
2015-06-16 14:17:01 -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
8823cec39d
support string type natively within URLType
2015-05-16 13:01:14 -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
8ba6261e18
Make getURL - getExpandedURL
2015-04-28 12:50:44 -07:00