Commit Graph
70 Commits
Author SHA1 Message Date
Harshavardhana b4c70f1a95 Do not attempt Stat() for destination fixes copy to objectstorage bug 2015-04-24 14:02:29 -07:00
Anand Babu (AB) Periasamy 409309442e fix scrolling progressbar bug 2015-04-24 12:01:28 -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 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 c8ca983373 Just Stat() the bucket on targets, buckets should be created through ./mc mb 2015-04-23 12:27:58 -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 e3c1b8eabc Fix ListCmd() MakeBucketCmd() for multi target 2015-04-21 16:29:33 -07:00
Anand Babu (AB) Periasamy 5a7b8da98d replace net/url parser with simple filepath parsing 2015-04-21 16:05:16 -07:00
Harshavardhana 095ae11caf Migrate to quick Config, qdb takes the high road 2015-04-21 13:47:46 -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 f818440833 Merge pull request #468 from harshavardhana/pr_out_windows_fixes_for_get_getobjectmetadata_and_list_
Windows fixes for Get(), GetObjectMetadata() and List()
2015-04-20 18:07:34 -07:00
Harshavardhana d7e4be17b0 Windows fixes for Get(), GetObjectMetadata() and List() 2015-04-20 18:04:17 -07:00
Frederick F. Kautz IV ca64587c96 Adding tests for cmd-common isValidRetry 2015-04-20 17:01:44 -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 94ca6ffac1 For ./mc cp if target doesn't have a bucket try to create one, just like its recursive version 2015-04-20 02:37:28 -07:00
Harshavardhana e728cd9857 Add 'isValidRetry()' to retry for only network level errors 2015-04-19 22:46:00 -07:00
Harshavardhana a2098d865c Remove redundant config check command, config is validated at mc start anyways 2015-04-19 19:39:03 -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 8606a7db9b Move major url handling into client as part of #425 2015-04-18 17:29:01 -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 5f4d89ccd5 Deprecate bash-completion support 2015-04-17 20:17:27 -07:00
Harshavardhana 27d87fdd8e Migrate config to qdb 2015-04-17 18:28:18 -07:00
Frederick F. Kautz IV d2e68e4ab3 Moving getNewClient to manager 2015-04-17 17:37:25 -07:00
Frederick F. Kautz IV 1f2220e260 Moving client manager to commons 2015-04-17 17:12:42 -07:00
Anand Babu (AB) Periasamy b28541a1b6 replace urltype to string 2015-04-17 16:12:03 -07:00
Anand Babu (AB) Periasamy 90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Anand Babu (AB) Periasamy 2da1d3dd68 get URL type + win support 2015-04-16 19:59:15 -07:00
Frederick F. Kautz IV 5863d7078a First round of copy refactoring to be more testable 2015-04-16 18:13:33 -07:00
Harshavardhana ab812e1055 Contract url parser into urlParser object 2015-04-13 04:12:03 -07:00
Frederick F. Kautz IV 53c534dea9 Reordering getNewClient parameters 2015-04-12 17:47:41 -07:00
Harshavardhana 26b8d6fd62 Fix Auth handling bug - fixes #348, no accesskeyid and secretid as valid case 2015-04-12 15:52:30 -07:00
Frederick F. Kautz IV c479b3833f s3 put writer now blocks on close 2015-04-12 11:26:05 -07:00
Harshavardhana 1464871cbb Merge pull request #343 from harshavardhana/pr_out_improve_errors_strictly_type_them_first_cut_286
Improve errors strictly type them, first cut #286
2015-04-11 21:52:01 -07:00
Harshavardhana 0508022597 Improve errors strictly type them, first cut #286 2015-04-11 21:48:00 -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
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 afca8b620a Move from file to fs and finish ListObjects() - add test stubs 2015-04-11 17:02:35 -07:00
Frederick F. Kautz IV 295020468a Adding test function for getting config file 2015-04-10 18:42:07 -07:00
Frederick F. Kautz IV 44c9c3397b Getting rid of get trace transport method 2015-04-10 18:12:49 -07:00
Frederick F. Kautz IV 84c5c244b9 Removing fatal side effects from get bash completion config 2015-04-10 17:50:44 -07:00
Frederick F. Kautz IV 37741a292a Updating how config files are retrieved 2015-04-10 14:29:12 -07:00
Harshavardhana ad35fe72d0 Move colors to console package, now implement colored
- Fatal, Fatalf, Fatalln
 - Error, Errorln
 - Info, Infof, Infoln
2015-04-10 01:14:47 -07:00
Anand Babu (AB) Periasamy 22187fb0d7 config bug fixes and removed default-host support 2015-04-09 02:44:59 -07:00
Anand Babu (AB) Periasamy 99240bfb2d config bug fixes and removed default-host support 2015-04-09 02:41:59 -07:00
Frederick F. Kautz IV a2d0bfdc62 Simplifying switch case 2015-04-08 23:18:07 -07:00
Frederick F. Kautz IV 9f791493ae Removing unused code 2015-04-08 23:13:03 -07:00