Klaus Post
ed0b962588
Modernize + Go version bump + Pin linter ( #5256 )
...
* Upgrade go version in CI.
* Add toolchain to pin version.
* Add linter/fumpt as pinned version in tools.
* Run `go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...`
2025-11-05 04:20:36 -08:00
Anis Eleuch
8585339d12
More fixes to custom arch hotfix building ( #5135 )
...
Set TARGET_GOOS and TARGET_GOARCH to specify the target architecture of
the built binary.
2025-02-14 08:49:56 -08:00
Harshavardhana
859c5989a1
make custom ARCH based hotfixes
2025-02-11 15:37:45 -08:00
Harshavardhana
21d3ec0089
improve 'admin service restart' UI ( #4979 )
...
```
mc admin service restart local -w
Service status: ▰▱▱ [DONE]
Summary:
┌───────────────────────┬─────────────────────────────┐
│ Servers: │ 4 online, 0 offline, 0 hung │
│ Restart Time: │ 3.949842ms │
│ Background Init Time: │ 1.503707801s │
└───────────────────────┴─────────────────────────────┘
```
Existing UI didn't scale well for 100+ nodes, this
UI change is also made to provide clear guidance on
how soon the service is available v/s background
initialization time.
2024-07-08 13:59:24 -07:00
Harshavardhana
900235c14b
keep pool display order and also pretty it ( #4931 )
...
```
mc admin info play/
● play.min.io
Uptime: 4 minutes
Version: 2024-05-10T08:24:14Z
Network: 1/1 OK
Drives: 4/4 OK
Pool: 1
┌──────┬───────────────────────┬─────────────────────┬──────────────┐
│ Pool │ Raw Usage │ Erasure stripe size │ Erasure sets │
│ 1st │ 8.5% (total: 120 GiB) │ 4 │ 1 │
└──────┴───────────────────────┴─────────────────────┴──────────────┘
8.4 GiB Used, 479 Buckets, 3,585 Objects, 210 Versions, 27 Delete Markers
4 drives online, 0 drives offline, EC:1
```
2024-05-10 11:56:40 -07:00
Sveinn
fe58afcd39
Large MC Update (new encryption flags, functional test suite, removal of session code, minor cleanup, vuln. updates ) ( #4882 )
2024-04-15 08:10:25 -07:00
Harshavardhana
98af07b69c
bring back the original progress bar ( #4866 )
...
also cleanup 'mc put/get' behavior
2024-03-02 16:13:08 -08:00
Harshavardhana
54e2edd1be
support unix-pipes with bigger buffers for performance ( #4472 )
2023-02-16 11:20:11 -08:00
Anis Elleuch
3aa2b3a755
Add staticheck to make lint ( #4395 )
2022-12-08 07:51:44 -08:00
Harshavardhana
6f414de058
add hotfix build support ( #4240 )
2022-09-09 03:48:56 -07:00
Aditya Manthramurthy
d42880acb1
Bump up linter version ( #4114 )
...
- Add Go 1.18 to CI
- Appears to be needed for Go 1.18
2022-06-10 15:12:05 -07:00
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