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
b90e016892
Add command context testing
2015-07-24 12:42:33 -07:00
Harshavardhana
304254863f
Return back object already exists for methodnotallowed
2015-07-21 19:15:43 -07:00
Anand Babu (AB) Periasamy
f2434591d9
fix error strings
2015-07-19 15:27:30 -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
5cb7d510e5
Some gocoverage fixes
2015-07-16 19:38:40 -07:00
Harshavardhana
97f693ce1f
Use console.JSON to print in API style for session, ls, cp and sync
2015-07-15 23:18:08 -07:00
Harshavardhana
0bdb5bdc5f
Remove atomic package, not needed anymore
2015-07-14 16:50:16 -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
Harshavardhana
931a788c54
Remove yielder not needed anymore
2015-07-13 21:49:48 -07:00
Harshavardhana
f8940d2832
Add Close() methods for proxy readers
2015-07-13 16:45:33 -07:00
Harshavardhana
940fa484a8
Remove countlock not needed anymore
2015-07-13 09:20:21 -07:00
Anand Babu (AB) Periasamy
6dcd73551c
Session V2 implementation for copy and sync
2015-07-12 20:47:49 -07:00
Harshavardhana
694cc7bb8e
Simplify console removing lot of custom json unmarshal code
2015-07-12 09:18:20 -07:00
Harshavardhana
f368e89d9c
Add atomic package for atomic file writes, use that in quick config
2015-07-07 12:16:56 -07:00
Anis Elleuch
c8662c67c2
Avoid corrupted data when saving with quick
2015-07-07 16:40:38 +01:00
Anis Elleuch
3550b85cc7
Protect progress bar printing by the mutex
2015-07-01 17:40:45 +01:00
Harshavardhana
9971d4964c
mc session related changes
2015-06-29 23:12:28 -07:00
Harshavardhana
01b10bd4b1
Simplify target2Client and sourc2Client usage - use url2Stat()
2015-06-23 16:49:23 -07:00
Harshavardhana
4b88ad7786
Move to structure printing everywhere, fix incorrect iodine usage at few places
2015-06-22 15:29:36 -07:00
Harshavardhana
7ee4692ceb
Print sessions just like ls
2015-06-22 14:57:06 -07:00
Harshavardhana
1dbb2e2b96
Add more structured informational messages
2015-06-22 11:33:14 -07:00
Harshavardhana
dc4067314a
Do not reply back ISBrokenSymlink{} for ENOENT, return only if its a Symlink
...
Make a new release
2015-06-17 18:29:20 -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
Harshavardhana
112f4ec56c
Handle broken symlinks
2015-06-13 20:30:47 -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
a6163f603e
Add missing var error for windows, minor change pushing in
2015-06-12 18:44:05 -07:00
Harshavardhana
f9d8fd5128
Add windows specific path normalizer
2015-06-12 18:40:45 -07:00
Harshavardhana
d6a651e334
Windows fix for directory crawling
2015-06-12 12:16:09 -07:00
Harshavardhana
1516549e66
Handle windows path and do not perform translation for url type of filesystem
2015-06-11 21:10:49 -07:00
Harshavardhana
08d38fb7da
Use url.Separator everywhere that is needed
2015-06-10 21:54:05 -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
Harshavardhana
1fdb689f16
Use yielder inside cmd cp and sync
2015-06-10 19:54:42 -07:00
Anand Babu (AB) Periasamy
465973f360
yielding reader
2015-06-10 19:29:01 -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
6997a953ee
Do not exit on ls error
2015-06-09 19:17:34 -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
e95c3bd3e8
Now fs behaves similar to s3 style delimited output
2015-06-06 21:23:33 -07:00
Harshavardhana
bdff69f7b4
Now alias:... provides consistent list output
2015-06-06 19:29:02 -07:00
Harshavardhana
33f4c65349
Delimit fs output similar to s3, no special handling needed
2015-06-06 12:29:12 -07:00
Anand Babu (AB) Periasamy
396cb83db0
portable path separator
2015-06-06 12:04:21 -07:00
Harshavardhana
b999e08610
Make fs also consistent with s3 output
2015-06-06 11:58:52 -07:00