1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00
Commit Graph

43 Commits

Author SHA1 Message Date
Harshavardhana
78a78c072a Full cleanup of s3 client for mc 2015-05-02 11:28:31 -07:00
Harshavardhana
7fe1c4af97 Relax the requirement for AccessKey for listbuckets() for non amazonaws requests 2015-04-30 16:39:10 -07:00
Harshavardhana
c4d954b614 Access validation only for ListBuckets(), all others do not explicitly require Auth verification 2015-04-30 14:05:50 -07:00
Harshavardhana
9833697e0a Add more fixes and helpful messaging
- check for config file for each command, prior to error out properly
  - hostconfig doesn't do any key verification, let client s3 verify it as needed
  - mc update change URL pointed to dl.minio.io minio server, still not functional yet
2015-04-30 14:03:06 -07:00
Harshavardhana
744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Harshavardhana
31ddab431e Add license and create a new file LICENSE.GOOGLE 2015-04-24 21:17:01 -07:00
Harshavardhana
b4c70f1a95 Do not attempt Stat() for destination fixes copy to objectstorage bug 2015-04-24 14:02:29 -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
Harshavardhana
518fa8a2cf Add buckets to have same coloring as directories 2015-04-23 22:44:05 -07:00
Anand Babu (AB) Periasamy
c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Harshavardhana
e6fea12bc2 Cleanup s3 API further 2015-04-23 18:57:30 -07:00
Harshavardhana
c120a5853d Now bucket creation requires a simple CannedACLs to start with
$ ./mc mb <acl_type> <target>
2015-04-23 14:22:48 -07:00
Harshavardhana
4e53814cc3 Add bucket ACL support 2015-04-23 12:10:51 -07:00
Harshavardhana
0eaf7ec5b4 Handle errors properly, also remove need for normalizing path on windows 2015-04-22 00:17:01 -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
Frederick F. Kautz IV
33869c524a Renaming StatBucket to Stat 2015-04-20 12:47:11 -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
1f230fb2ce Now newReq() doesn't panic inside, returns err properly - use iodine 2015-04-16 20:17:18 -07:00
Anand Babu (AB) Periasamy
90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Harshavardhana
97511ca6b8 Enhance GetObjectMetadata() to return ETag as well, precursor to "recursive" cp 2015-04-16 00:51:53 -07:00
Frederick F. Kautz IV
33c939f8b4 Merge pull request #356 from fkautz/pr_out_renaming_statobject_to_getobjectmetadata 2015-04-13 11:44:46 -07:00
Frederick F. Kautz IV
c9b01650fd Renaming StatObject to GetObjectMetadata 2015-04-13 11:44:39 -07:00
Harshavardhana
539b073147 StatBucket() should honor http.StatusMovedPermanently returned by S3 2015-04-13 04:13:39 -07:00
Frederick F. Kautz IV
7550571ece Refactoring copy and put to work with writers instead of readers 2015-04-11 21:30:24 -07:00
Harshavardhana
aa0c4ac256 Merge pull request #336 from harshavardhana/pr_out_all_commands_now_work_with_fs_client_fixes_290
All commands now work with fs client - fixes #290
2015-04-11 20:55:41 -07:00
Harshavardhana
3914036db4 All commands now work with fs client - fixes #290 2015-04-11 20:53:53 -07:00
Anand Babu (AB) Periasamy
e49cb08c5e rfc compliant user-agent 2015-04-11 20:38:46 -07:00
Anand Babu (AB) Periasamy
e7a2699ab2 minio client becomes modern copy 2015-04-11 17:11:38 -07:00
Harshavardhana
51bb8f199b Add file client 2015-04-10 17:06:41 -07:00
Harshavardhana
6e9fe6dc56 mc client interface now provides typed errors 2015-04-08 22:21:01 -07:00
Frederick F. Kautz IV
bf3182ac6b Running goimports 2015-04-08 21:01:18 -07:00
Harshavardhana
8ea467294f iodine deps now coming in from minio-io/pkg/iodine 2015-04-08 18:19:51 -07:00
Harshavardhana
bb1324148f Revert "Get rid of client interface and move s3 back into a struct"
This reverts commit 4a2facfa7b.
2015-04-08 16:18:20 -07:00
Harshavardhana
4a2facfa7b Get rid of client interface and move s3 back into a struct 2015-04-08 16:06:25 -07:00
Harshavardhana
e279da678f Cleanup s3 client, iodize it as well 2015-04-08 13:56:20 -07:00
Harshavardhana
f2c6faec66 Length of items to be zero in ListObjects is a valid case 2015-04-05 23:46:17 -07:00
Anand Babu (AB) Periasamy
d7a12dcef4 Simplify ListObject API 2015-04-05 01:29:13 -07:00
Anand Babu (AB) Periasamy
ba233bab60 move all global variables to globals 2015-04-01 20:08:21 -07:00
Harshavardhana
7e6c1cc705 Use single place for Maxkeys at client interface 2015-03-30 19:07:23 -07:00
Harshavardhana
936fda7eac Add gocyclo and fix all its complaints use 15 as cyclomatic threshold 2015-03-25 18:39:42 -07:00
Harshavardhana
3ea3256d87 Implement donut client to be used with mc now supports creating bucket, cp of objects in and out 2015-03-25 12:57:33 -07:00