Commit Graph
59 Commits
Author SHA1 Message Date
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 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 e7dab5f1cf Migrating from iodine to probe 2015-08-03 11:04:34 -07:00
Harshavardhana 01b10bd4b1 Simplify target2Client and sourc2Client usage - use url2Stat() 2015-06-23 16:49:23 -07:00
Harshavardhana f34742b539 Add URL() method 2015-06-09 10:37:20 -07:00
Harshavardhana 112adec910 Move everything from uint64 to int64 2015-06-03 22:22:03 -07:00
Harshavardhana dcccafacbe Simplify listing recursively into one function, diff now supports <filename> <directory> style 2015-05-20 02:44:15 -07:00
Harshavardhana fc660f1350 Simplify GetObject, PutObject to not use md5sum for now. 2015-05-19 12:29:52 -07:00
Harshavardhana ff3d9fa815 Convert writers to Blocking readers 2015-05-17 02:30:19 -07:00
Anand Babu (AB) Periasamy 90d4b452a9 Copy rewrite 2015-05-15 23:08:39 -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 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 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 26c09aeba7 Simplifying further and couple of bugs fixed 2015-05-02 16:01:52 -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 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 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 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
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
Harshavardhana 4e53814cc3 Add bucket ACL support 2015-04-23 12:10:51 -07:00
Harshavardhana dc200a62fc Disallow `bucket` creation with uppercase letters 2015-04-22 01:22:22 -07:00
Harshavardhana e3c1b8eabc Fix ListCmd() MakeBucketCmd() for multi target 2015-04-21 16:29:33 -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
Frederick F. Kautz IV 1daee3e076 Adding more mocks 2015-04-17 20:04:54 -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 97511ca6b8 Enhance GetObjectMetadata() to return ETag as well, precursor to "recursive" cp 2015-04-16 00:51:53 -07:00
Frederick F. Kautz IV c9b01650fd Renaming StatObject to GetObjectMetadata 2015-04-13 11:44:39 -07:00
Frederick F. Kautz IV 5528ebdf71 Minor cleanup from refactoring 2015-04-11 21:32:25 -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 3914036db4 All commands now work with fs client - fixes #290 2015-04-11 20:53:53 -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
Frederick F. Kautz IV 3fa6695142 Fix build break 2015-04-09 23:38:28 -07:00
Frederick F. Kautz IV a7b082a676 Minor cleanup of pkg/client code 2015-04-09 23:34:20 -07:00
Harshavardhana 6e9fe6dc56 mc client interface now provides typed errors 2015-04-08 22:21:01 -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