Commit Graph
59 Commits
Author SHA1 Message Date
Harshavardhana e4f9152bcd If Object size is 0, treat it like a directory for object storage 2015-05-13 19:36:54 -07:00
Harshavardhana cd93bfd251 Migrate mc s3 client code to objecstorage-go library, now all requests from mc are signature v4 authenticated 2015-05-13 19:05:31 -07:00
Harshavardhana e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana 1c4351979a Combine Get() and GetPartial to be GetObject() with offset and length parameters
- GetObject(0, 0) does a full download on the object
 - GetObject(n, m) does a partial download on the object at offset n upto length m
2015-05-11 15:02:45 -07:00
Harshavardhana e57e6de098 Add new option for bucket ACL named `authenticated-read`
This provides read access to all users who are part of AuthenticatedUsers group

~~~
  $ mc access authenticated https://s3.amazonaws.com/bucketname
~~~
2015-05-08 21:12:32 -07:00
Harshavardhana 78a9f175e5 Revert "Remove MD5 requirement for ETag" - apparently we need it :(
This reverts commit 7103a9433b.
2015-05-08 15:00:41 -07:00
Harshavardhana 7103a9433b Remove MD5 requirement for ETag 2015-05-08 13:28:31 -07:00
Harshavardhana f4f691f2af Remove deps on aws-sdk we use our own 2015-05-02 12:00:07 -07:00
Harshavardhana 78a78c072a Full cleanup of s3 client for mc 2015-05-02 11:28:31 -07:00
Harshavardhana 5ca4280ea0 Handle symlink appropriately with mc ls for filesystem 2015-04-28 23:26:17 -07:00
Harshavardhana 8ffd8d0f26 User folder instead of directories in documentation 2015-04-28 12:15:09 -07:00
Harshavardhana 744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Harshavardhana 41637a2155 Review comments, part of #451 2015-04-28 02:35:46 -07:00
Harshavardhana bb065502dd Update ls docs and fix a bug 2015-04-27 21:20:21 -07:00
Harshavardhana f24a42a32b Non recursive ls - fixes #479 2015-04-27 20:57:17 -07:00
Harshavardhana 5468c97f0e Implement multipart upload library functions 2015-04-27 14:41:13 -07:00
Harshavardhana 93cb35e847 Merge fs from unix and windows, there are no further differences 2015-04-25 00:45:23 -07:00
Harshavardhana 9fb94c72a1 Filesystem now calculates md5sum and returns 2015-04-24 20:15:57 -07:00
Harshavardhana f8ac1b96d1 Move blockingwriter to client interface 2015-04-24 19:38:14 -07:00
Harshavardhana 04fc519ce2 Merge GetObjectMetadata() into Stat(), now Stat() returns properly using FileType
FileType is going to be used to differentiate between directory, file/bucket, object respectively
2015-04-24 11:16:27 -07:00
Harshavardhana 4e05b59298 Implement access command 2015-04-24 02:09:27 -07:00
Anand Babu (AB) Periasamy c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Harshavardhana 9f97409362 Migrate fully to List() with channel everywhere, deprecate old List() API 2015-04-23 20:36:44 -07:00
Harshavardhana 972c476e36 Add ListOnChannel() for fs{unix,windows} and cmd-ls 2015-04-23 20:02:48 -07:00
Harshavardhana 527b1ca96d ListOnChannel() - now listbuckets and objects through channel replies.
Still doesn't do full recursive of all objects based on marker, that is the next step.
2015-04-23 18:01:12 -07:00
Anand Babu (AB) Periasamy 1a83cf3c5c do find style listing on windows as well 2015-04-23 16:02:16 -07:00
Anand Babu (AB) Periasamy 0a50606cbd fix dir listing bug and find style output 2015-04-23 12:50:31 -07:00
Harshavardhana 4e53814cc3 Add bucket ACL support 2015-04-23 12:10:51 -07:00
Harshavardhana 7ec954a78b Fix a crash on windows when source is malformed 2015-04-22 13:20:02 -07:00
Harshavardhana 957ab79328 Fix a typo, pushing it in 2015-04-22 11:59:56 -07:00
Harshavardhana 3af75c8aba Make default client type as Filesystem 2015-04-22 11:53:27 -07:00
Harshavardhana 60ec7d2713 Fix error path variable on Windows 2015-04-22 11:24:36 -07:00
Harshavardhana 0eaf7ec5b4 Handle errors properly, also remove need for normalizing path on windows 2015-04-22 00:17:01 -07:00
Anand Babu (AB) Periasamy 5a7b8da98d replace net/url parser with simple filepath parsing 2015-04-21 16:05:16 -07:00
Harshavardhana 6adb5e5217 Move getHostConfig() outside of getNewClient(), waiting on new qConfig to simplify this further 2015-04-21 01:14:28 -07:00
Harshavardhana d7e4be17b0 Windows fixes for Get(), GetObjectMetadata() and List() 2015-04-20 18:04:17 -07:00
Harshavardhana ccd63ab302 Add filesystem Windows support, also cannot reproduce #281 anymore - fixes #281 2015-04-20 16:15:21 -07:00
Frederick F. Kautz IV 33869c524a Renaming StatBucket to Stat 2015-04-20 12:47:11 -07:00
Harshavardhana a4c1d26ccb Implement fsClient tests - fixes #433 2015-04-20 02:34:06 -07:00
Harshavardhana 51032e9773 Fix incomplete progressBar problem, we should proactively .Finish() progressbar - fixes #452
Previously wouldn't flush out remaining data, it would work for Object Storage
Get()/Put() due to invariable delays and overhead.
2015-04-19 21:40:48 -07:00
Harshavardhana 8bc587b8cf Now clients only take URLs - fixes #425
- Interface change, takes only minimal arguments
 - Passing URLs all the way down
 - Bucket and Object awareness only at per client level
2015-04-19 19:39:02 -07:00
Harshavardhana 4b50a2bac3 Error messages simplified now with reason - fixes #286 2015-04-18 16:46:26 -07:00
Harshavardhana e58844ead5 Make all lexical paths file:///<path> ../<path> <path>/../../<path - behave similar - fixes #419
./mc ls, ./mc mb, ./mc cp supported and overall code simplification
2015-04-18 14:24:33 -07:00
Harshavardhana 5d1ec28e9d Bring MultiPartUpload interface stubs 2015-04-16 23:44:47 -07:00
Anand Babu (AB) Periasamy 90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Harshavardhana f6463dec1f Implement GetPartial() for fsClient, and renamed files _unix.go as we bring in windows specific support 2015-04-16 17:36:42 -07:00
Harshavardhana 31e873faf6 Implment recursive upload and download - fixes #372 #373
- currently only supports single target
2015-04-16 02:05:00 -07:00
Harshavardhana 97511ca6b8 Enhance GetObjectMetadata() to return ETag as well, precursor to "recursive" cp 2015-04-16 00:51:53 -07:00
Harshavardhana 473013dd17 Support PutBucket() for fsClient to do subdirectories 2015-04-14 22:30:15 -07:00
Frederick F. Kautz IV dbcf66a5e8 Fix for list objects permissions should be in walk itself, not after walk. Fixes #364. 2015-04-14 14:16:49 -07:00