Commit Graph
43 Commits
Author SHA1 Message Date
Anis Elleuch 92d1e226d3 Fix checking go version under OSX (#1757) 2016-07-10 11:09:50 -07:00
Anis Elleuch fc448e49d5 Add support of golang tip (#1756) 2016-07-09 07:36:22 -07:00
Harshavardhana b30bbc0e74 release: Remove zip, tar.gz release builds. 2016-04-13 23:48:58 -07:00
Anis Elleuch 8cdf71b539 realpath() doesn't really work under linux and freebsd, use a simpler and more portable method 2016-04-01 19:21:01 +01:00
Harshavardhana e7f4b63212 docs: Update readme.md with new links. 2016-03-31 17:53:35 -07:00
Harshavardhana 087516a783 release: Release binaries will have now .tar.gz and .zip extension.
The reasoning behind is to preserve permissions of binaries.
2016-03-31 17:04:45 -07:00
Harshavardhana 2623eeb82e session: Remove session backup file if any.
Fixes #1623
2016-02-29 02:06:25 -08:00
Anis Elleuch cac451c83e Add needed changes to make mc buildable using make under FreeBSD 2016-02-24 20:54:34 +01:00
Harshavardhana 9805c4d907 build: Check for gopath and multiple source build locations. 2016-02-18 18:26:47 -08:00
Harshavardhana fb70ef7b1c build: Default to Golang 1.6 2016-02-18 16:08:07 -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
Anis Elleuch 664f982833 Trivial fix of cmd error message, the same for missing dependencies in checkdeps.sh 2016-01-07 22:49:47 +01:00
Harshavardhana 56ccca29f9 build: Evaluate ldflags properly 2015-11-08 03:50:29 -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
Harshavardhana 9ccd387bc6 Add arm support for build scripts 2015-10-20 11:48:36 -07:00
Harshavardhana 6295a1910e Fix mcVersion and keep it in http.TimeFormat by default 2015-09-22 14:34:53 -07:00
Harshavardhana b8bd40e685 Disable JSON based testing, reduce ls tests to its context only 2015-09-19 19:42:25 -07:00
Harshavardhana c312d1f871 bump checkdeps GO_VERSION to 1.5.1 2015-09-16 13:06:25 -07:00
Anis ELLEUCH 03bc6bd6ec Show correct needed dependencies versions in checkdeps 2015-08-23 11:42:12 +01:00
Harshavardhana a0e66ce640 Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled 2015-08-22 19:04:17 -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 ebcc4bf8d3 Fix deps scripts, add a working osx support 2015-07-27 19:15:14 -07:00
Harshavardhana 5956dd6855 update packages for avoiding a possible windows bug in go-humanize 2015-07-25 22:08:35 -07:00
Harshavardhana 3118ed0c64 Put dependency updates into a shell script 2015-07-15 14:24:17 -07:00
Harshavardhana 6b48655fee Fixup checkdep.sh 2015-06-16 02:32:26 -07:00
Harshavardhana ec23d22584 Remove redundant date.go script 2015-06-06 02:09:12 -07:00
Harshavardhana b5a940e739 Implement custom date command for cross platform portability 2015-06-04 12:02:49 -07:00
Anis Elleuch 4f783ce840 Add FreeBSD support 2015-05-14 21:11:06 +00:00
Harshavardhana 9c0ff1749c More code moving from Minio-io to minio 2015-05-11 16:44:19 -07:00
Harshavardhana 744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Anand Babu (AB) Periasamy e359d125a5 Version is now based on MD5SUM of its binary 2015-04-24 20:46:42 -07:00
Anand Babu (AB) Periasamy c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Anand Babu (AB) Periasamy 90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Harshavardhana f6463dec1f Implement GetPartial() for fsClient, and renamed files _unix.go as we bring in windows specific support 2015-04-16 17:36:42 -07:00
Frederick F. Kautz IV 450b99f2b9 Removing unneeded deps from checkdeps 2015-04-13 11:49:59 -07:00
Harshavardhana a47bf39849 Remove yasm dependency for mc 2015-04-11 16:08:01 -07:00
Harshavardhana 253bcab416 Remove mkdocs 2015-04-10 18:35:46 -07:00
Harshavardhana 45d32b6238 Add extra information into mc with --debug
~~~
MEM:
   Used: 143.48 KB | Allocated: 192.23 KB | Used-Heap: 143.48 KB | Allocated-Heap: 816.00 KB

PLATFORM:
   Host: command | OS: linux | Arch: amd64

RUNTIME:
   Version: go1.4 | CPUs: 4
~~~
2015-04-01 22:25:19 -07:00
Harshavardhana 4497de7f1d git commit hash generator 2015-03-25 23:07:33 -07:00
Harshavardhana bcf41c53c2 Move From codegangsta/cli to minio-io/cli fork 2015-03-24 20:24:51 -07:00
Harshavardhana ac8a0e109f Move checkdeps to buildscripts/, additionally add patch.sh
patch.sh patches any source codepath with the patch provided,
for now the patch file included is a way to Hide flags for
codegangsta until it is merged upstream.

Not part of the build yet.
2015-03-18 11:20:26 -07:00