Commit Graph
94 Commits
Author SHA1 Message Date
Harshavardhana 2ea2ec90d2 Rename mc --> cmd 2016-08-17 18:26:18 -07:00
Anis Elleuch 0b4d52a141 Add events and watch commands (#1800) 2016-08-17 17:59:05 -07:00
Remco Verhoef 3603766f1c changed package command to mc (#1796)
* changed package command to mc

* changed package from command to mc
2016-08-15 09:05:52 -07:00
Harshavardhana 951429fe67 Add code coverage and cleanup CI configs. (#1795) 2016-08-13 14:00:57 -07:00
Harshavardhana f5ff7e15cf mc: Fix release build flags after recent refactor. (#1794) 2016-08-13 13:49:18 -07:00
Remco Verhoef b51fb32054 Refacture structure proposal. (#1793) 2016-08-11 15:29:04 -07:00
Anis Elleuch 589c821f9b progress: Switch to chegga pb (#1764) 2016-07-13 14:44:23 -07:00
Anis Elleuch ba088b8fc0 Move ioutils pkg from minio to mc and fix a sorting list bug (#1688)
* Move ioutils pkg from minio to mc

* Fix an important bug in sorting fs list in recursive mode
2016-04-17 12:20:48 -07:00
Harshavardhana 3e8f7684f2 build: cmd/vet is deprecated fix the url. 2016-04-06 20:07:57 -07:00
Harshavardhana 49851c8795 vendor: Vendorize with new changes to minio-go 2016-03-13 03:22:39 -07:00
Harshavardhana 9805c4d907 build: Check for gopath and multiple source build locations. 2016-02-18 18:26:47 -08:00
Super-User 5219fd59e8 porting: mc now properly works on solaris.
Fixes #1603
2016-02-15 15:03:40 -08:00
Harshavardhana 4ef3dcffc4 build: Now builds for all platforms and builds into 'release/experimental' directory.
Two Makefile options are

- make release
- make experimental

Currently supported OS and arch -

- linux/386
- linux/amd64
- linux/arm
- windows/386
- windows/amd64
- darwin/amd64
2016-02-09 14:18:35 -08:00
Harshavardhana a769ce6439 mc: Vendorize to new API changes.
This vendorization uses the new set of API changes which
we are brought in.

With this new change Bucket regions are handled transparently
without any region lookup or local map. This makes overall code
seamless and easy to use.

Fixes - #1541 (cp corruption while uploading large files to s3)
Fixes - #1542 (cp checkCopySyntax failed)
Fixes - #1537 (regions will be handled seamelessly now for all buckets)
Fixes - #1538 (fixes access control policy for google cloud storage)
Fixes - #1547 (session resume completes without copying all the files)
Fixes - #1559 (poor network connectivity, causes timing out)
2016-01-23 23:53:27 -08:00
Harshavardhana 278701db48 tests: Merge minio-tests into 'mc'
From now on 'make all-tests' to run our integration tests.
2015-12-02 16:32:48 -08:00
Harshavardhana 18d0df16bc makefile: Add release make tag. 2015-12-02 11:26:08 -08:00
Harshavardhana 9219e1a320 mirror/pipe: Enable mirror and pipe back now they do not work for multiple targets. 2015-11-29 14:43:11 -08:00
Harshavardhana 1badfc8a04 :mc: resumable downloads and support incomplete files on file system. 2015-11-28 18:00:53 -08:00
Harshavardhana d08392ba40 release: Add release scripts. 2015-11-19 21:04:57 -08:00
Harshavardhana de9380dd9d doc: Improve examples. 2015-11-19 19:24:25 -08:00
Harshavardhana 56ccca29f9 build: Evaluate ldflags properly 2015-11-08 03:50:29 -08:00
Harshavardhana 234c3906d4 build: Remove ldflags 2015-11-06 17:41:15 -08:00
Harshavardhana 503e746778 build: Make by default static builds for mc 2015-11-05 22:39:05 -08:00
Harshavardhana 123e44d8c5 build: Populate mcVersion through ldflags
By default binary built through 'go get github.com/minio/mc'. Will be
considered UNOFFICIAL.GOGET with not versioning, 'go get' binaries
cannot use 'mc update' functionality.

First reasoning towards this is - go build tools have no way to specifying
versions and releases unlike `npm`. For this reason alone we have to
differentiate OFFICIAL and UNOFFICIAL.

Now a 'make' will build appropriate binaries, while 'go get' becomes UNOFFICIAL.
2015-11-02 12:42:17 -08:00
Anand Babu (AB) Periasamy 86edabd264 added pkg-update to update a vendorized package 2015-10-23 17:44:17 -07:00
Harshavardhana 6295a1910e Fix mcVersion and keep it in http.TimeFormat by default 2015-09-22 14:34:53 -07:00
Harshavardhana c9d145c40f Merge pull request #1109 from harshavardhana/tests-travis
Add tests only in travis-ci
2015-09-17 22:54:07 -07:00
Harshavardhana 12fa13ef0f Add tests only in travis-ci 2015-09-17 22:52:58 -07:00
Harshavardhana c60d2ac8d7 Fix golint complaints 2015-09-17 18:58:19 -07:00
Harshavardhana 1f63bb2dfe Add go tool vet checks and also enable detecting invalid shadow variables 2015-09-09 15:58:59 -07:00
Harshavardhana c08b44e419 Add pkg-add and pkg-remove Makefile options for easily removing and adding new packages 2015-08-22 21:25:12 -07:00
Harshavardhana a0e66ce640 Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled 2015-08-22 19:04:17 -07:00
Harshavardhana 192518d679 Add new version command 2015-08-13 20:50:32 -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
Anand Babu (AB) Periasamy 1c35f28f75 handle grepping stdout and stderr of go tools properly 2015-08-09 19:34:37 -07:00
Harshavardhana 4aa908f392 deprecate make.go; fall back to Makefile 2015-07-31 17:23:55 -07:00
Harshavardhana 6ed78e32d9 Add tests reported by go coverage 2015-07-23 16:34:21 -07:00
Anand Babu (AB) Periasamy 7af254f500 cleaner syntax checker 2015-07-18 20:26:38 -07:00
Harshavardhana 3118ed0c64 Put dependency updates into a shell script 2015-07-15 14:24:17 -07:00
Harshavardhana cb5c7c49f3 Remove minio/cli dependency for make.go 2015-07-13 11:45:56 -07:00
Anand Babu (AB) Periasamy 6dcd73551c Session V2 implementation for copy and sync 2015-07-12 20:47:49 -07:00
Harshavardhana 7b1ed5b824 Fix data race reported by golang 1.5 2015-07-10 21:04:35 -07:00
Harshavardhana 20b99021cc Cp sessions now work properly 2015-06-20 18:17:18 -07:00
Harshavardhana 9a06671ac7 Make channels bufferred upto 10000 for cp and sync to fill in during prepareURLs stage 2015-06-10 17:26:58 -07:00
Harshavardhana 58d832bcd0 Update all dependencies 2015-06-08 01:44:57 -07:00
Harshavardhana dd7673e4dd Add version to repo, to make a new release just do "make release" to build the binary 2015-06-06 19:51:39 -07:00
Harshavardhana d320b5c0ec Moving to 'go run make.go', all builds are release builds for now 2015-06-06 01:20:39 -07:00
Harshavardhana c8bf76e9e4 Do not attempt to restor while saving new deps 2015-06-04 16:28:36 -07:00
Harshavardhana b5a940e739 Implement custom date command for cross platform portability 2015-06-04 12:02:49 -07:00
Harshavardhana dcccafacbe Simplify listing recursively into one function, diff now supports <filename> <directory> style 2015-05-20 02:44:15 -07:00