1
0
mirror of https://github.com/minio/mc.git synced 2025-11-10 13:42:32 +03:00
Commit Graph

69 Commits

Author SHA1 Message Date
poornas
f8661fd87e Fix broken link to go installation docs (#2866) 2019-08-15 15:23:12 -07:00
Harshavardhana
0f360131cb Remove runtime checks use go build tag (#2848)
Project can be only built with go1.12 or newer
other build related changes to use new go1.12
features.

Fixes #2815
2019-08-06 15:41:04 -07:00
Harshavardhana
e978c71b7c Add staticcheck based builds (#2788)
Additionally this PR also supports
multi-platform builds to avoid cross
platform build issues.
2019-06-03 11:22:31 -07:00
ebozduman
83a9d8b91d Adds missing codebase MinIO and min.io changes (#2745) 2019-04-16 22:31:54 -07:00
Harshavardhana
ba92305de0 Migrate to go1.12, deprecate vendor directory (#2727) 2019-03-27 10:08:19 -07:00
Harshavardhana
3a22044471 Vendorize all the latest dependencies with go mod (#2674) 2019-02-08 18:32:17 -08:00
Harshavardhana
b7e87b623d Add admin users (#2554) 2018-10-16 14:54:25 -07:00
Durgadas Kamath
22b8ab43bd ISSUE-2507 : Add s390x support for minio-client (#2508) 2018-08-09 14:53:38 -07:00
Rafael Peria de Sene
f48ac0de19 Add support for ppc64le (#2468)
Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com>
2018-06-19 11:23:28 -07:00
Harshavardhana
2dc48e9dd3 Simplified build system and move to go1.10.1 (#2431)
minio server simplified its build system, this
change borrows the same technique to `mc` as well.

This PR fixes build messages and overall behavior
of our builds on travis and appveyor.
2018-04-13 13:57:07 -07:00
Harshavardhana
59685e2d6b Fix macOS cross compilation issue. (#2287) 2017-10-17 08:02:32 +05:30
Harshavardhana
582f99b438 Enable mc build tests on go1.9 (#2276) 2017-10-15 19:11:38 -07:00
Harshavardhana
3b53bbe478 build: Fix release tags of filenames in release. (#2192) 2017-06-23 11:41:30 -07:00
Minio Trusted
c32b1ea48b Add -s -w for gen-ldflags.go 2017-06-14 20:34:56 -07:00
Harshavardhana
694ab27649 build/release: Add sha256sums for minio client releases. (#2171)
Additionally deprecate support for arm6vl platform.

Fixes #2151
2017-06-07 17:09:19 -07:00
Harshavardhana
071c71efbc Fix macOS build (#2041)
Fixes #2039
2017-02-27 00:44:09 -08:00
janv37
04cd5e80ee Add build support for OpenBSD on i386 and amd64 (#2005) 2017-02-08 09:21:24 -08:00
Harshavardhana
9d7529118e Add build support for pine64 (#1987)
Also update notify package with new fixes.
2017-01-25 13:37:06 -08:00
Harshavardhana
d733d68b0c enable static build releases with CGO_ENABLED=0 (#1935)
Also removing darwin build, since we do brew install.

Removing solaris since it doesn't build anymore.

Fixes #1933
2016-12-22 12:54:26 -08:00
Royce Remer
23f0a27acc we removed GOINSTALL.md some time ago, point at new minio docs withe same instructions (#1888) 2016-11-18 18:37:38 -08:00
Royce Remer
447cb7a726 fix regex comparator for GOROOT (#1887) 2016-11-18 18:37:16 -08:00
Anis Elleuch
df7acbcad4 Upgrade go version requirement to 1.7.1 (#1832) 2016-09-25 12:13:35 -07:00
Harshavardhana
a30f0aca85 Add build-constants. 2016-08-17 18:30:01 -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
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