Harshavardhana
61db086b10
run gofumpt as part of golang-ci
2022-01-06 13:21:58 -08:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Harshavardhana
c319567430
do not print config values in base64 ( #3757 )
...
fixes #3696
2021-07-19 08:29:20 -07:00
Anis Elleuch
e216394765
Better autocompletion msg ( #3481 )
...
This commit also removes checking for msgp generated files since snap
command is not merged yet.
msgp check will be added in snap change.
2020-11-12 16:27:05 -08:00
Anis Elleuch
4b34df590a
Makefile should check for possible changes in the generated code ( #3427 )
...
We should not release mc while the code is not according to the
generated code, like when we forgot to run go generate command.
2020-10-01 08:13:52 -07:00
Harshavardhana
fa520cbd1a
enable golang-lint CI run and -race tests ( #3247 )
2020-06-08 05:55:10 -07:00
Harshavardhana
e05f02d9f4
add build trimpaths to remove gopath ( #3137 )
2020-04-01 15:09:42 -07:00
Harshavardhana
d92d2f0d4f
Upgrade to new Listen bucket API ( #3008 )
2019-12-14 08:53:55 -08:00
Vivian Kong
5afb0a3aa7
Build staticcheck as pre-built binaries are not available on s390x ( #2890 )
2019-09-12 23:59:34 +05:30
Harshavardhana
54ee3a2800
Migrate to go1.13 ( #2888 )
2019-09-09 02:54:43 +05:30
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
19e14db50a
Avoid ListBuckets to keep Stat() ops on bucket simpler ( #2699 )
...
Due to multi-user feature on Minio and mc adoption in
many different restrictive environments, most users disable
access to ListBuckets() calls. We can avoid such network
operations as they only add marginal value.
2019-02-28 14:23:47 -08:00
Harshavardhana
3a22044471
Vendorize all the latest dependencies with go mod ( #2674 )
2019-02-08 18:32:17 -08:00
Harshavardhana
57faed2725
Add go mod support and update dependencies ( #2668 )
2019-01-31 20:37:08 -08:00
Harshavardhana
bda754d07f
Migrate to go1.11.4 for CI builds ( #2634 )
2018-12-28 16:47:22 -08:00
Anis Elleuch
7bbc81ffa4
Change golint import path ( #2566 )
2018-10-11 15:58:02 -07:00
kannappanr
1a5aab3ff4
Makefile: Create bin directory if it doesn't exist ( #2466 )
2018-06-18 07:42:13 -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
Bala FA
b1812ebe5a
add functional tests ( #2253 )
...
Functional tests are automatically run when `make test` is executed.
2017-09-19 12:31:00 -07:00
Minio Trusted
c32b1ea48b
Add -s -w for gen-ldflags.go
2017-06-14 20:34:56 -07:00
Anis Elleuch
2d44e8c85e
Fix travis and some code formatting ( #2181 )
2017-06-13 14:51:20 -07:00
Harshavardhana
9bdb7affb1
build: Fix add macOS source work-around for Go bug. ( #2138 )
...
Upstream bug https://github.com/golang/go/issues/19734
Fixes #2137
2017-04-20 22:42:10 +01:00
Harshavardhana
a2f25c2f3b
Remove references for GO15VENDOREXPERIMENT=1
2017-01-06 18:59:55 -08:00
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