Commit Graph
114 Commits
Author SHA1 Message Date
Harshavardhana abbfa4b13f Avoid shadowing by using unique variables as necessary 2015-09-08 23:28:56 -07:00
Harshavardhana 2549415a87 Add junction and symlink handling for windows only 2015-09-04 23:01:51 -07:00
Harshavardhana 2bca24e0fa golang filepath.EvalSymlinks doesn't handle juntion files handle them - fixes #1076 2015-09-04 13:32:00 -07:00
Harshavardhana 53fc1c7b38 Disable ACL's for filesystem as it doesn't bring any direct meaning 2015-09-01 10:47:52 -07:00
Anand Babu (AB) Periasamy 91100b72ed alias support with colon requirement 2015-08-29 18:02:32 -07:00
Harshavardhana f831d94d3f Revert "Change ACL to Access"
This reverts commit 68b3b0aac2.

Revert "Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support"

This reverts commit 6816542c7a.
2015-08-28 22:37:10 -07:00
Harshavardhana 6816542c7a Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support 2015-08-28 21:20:41 -07:00
Harshavardhana f65c87730f Define error for windows, minor fix pushing in 2015-08-25 00:42:24 -07:00
Harshavardhana 492340b3d8 Recursively progress along with errors if possible 2015-08-23 02:30:47 -07:00
Harshavardhana a0e66ce640 Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled 2015-08-22 19:04:17 -07:00
Harshavardhana c992bb682f Migrate to PresignedGetObject from PresignedGetPartialObject() as the latter was of no real use 2015-08-21 20:39:22 -07:00
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 c97c2a77b5 Move testing into its own <package>_test, add probe.NewError() new changes 2015-08-08 11:16:36 -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 9ba648084e Fix more scoping issues with new probe.Error v/s error 2015-08-03 11:19:22 -07:00
Harshavardhana e7dab5f1cf Migrating from iodine to probe 2015-08-03 11:04:34 -07:00
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 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 9971d4964c mc session related changes 2015-06-29 23:12:28 -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
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 08d38fb7da Use url.Separator everywhere that is needed 2015-06-10 21:54:05 -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 e95c3bd3e8 Now fs behaves similar to s3 style delimited output 2015-06-06 21:23:33 -07:00
Harshavardhana 33f4c65349 Delimit fs output similar to s3, no special handling needed 2015-06-06 12:29:12 -07:00
Harshavardhana b999e08610 Make fs also consistent with s3 output 2015-06-06 11:58:52 -07:00
Harshavardhana 112adec910 Move everything from uint64 to int64 2015-06-03 22:22:03 -07:00
Harshavardhana 9da87f5113 Handle permission errors for progress bar 2015-05-28 11:07:20 -07:00
Harshavardhana df176c30a8 Fix a nil reference remove erroneous usage of url.Parse() use client.Parse(), unexport progress() method 2015-05-27 15:32:17 -07:00
Harshavardhana 0edf9e2c59 Ignore non regular files after following the file 2015-05-27 13:43:20 -07:00
Harshavardhana 0674ce8085 Command diff now properly supports recursive diff 2015-05-26 19:21:58 -07:00
Harshavardhana a65f431004 Handle symlinks by making them behave like hardlinks 2015-05-26 19:06:29 -07:00
Harshavardhana 31e24bfb29 Complete fs tests for objectRange and List recursive 2015-05-20 11:45:27 -07:00
Harshavardhana dcccafacbe Simplify listing recursively into one function, diff now supports <filename> <directory> style 2015-05-20 02:44:15 -07:00
Anand Babu (AB) Periasamy 726780c79d diff command for mc 2015-05-19 18:57:21 -07:00
Harshavardhana e0e52cfe05 Cleanup fs tests 2015-05-19 12:37:23 -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
Harshavardhana de92f4ef31 Print proper error messages for cp 2015-05-16 18:42:22 -07:00
Harshavardhana 4f8052b67c Merge pull request #619 from harshavardhana/pr_out_fix_consistency_of_ls_output 2015-05-16 12:40:44 -07:00