1
0
mirror of https://github.com/minio/mc.git synced 2025-12-07 08:22:15 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
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
Harshavardhana
c652022dab upgrade golang-lint to v2 (#5178) 2025-03-28 01:05:40 -07:00
Aditya Manthramurthy
d4b7b00d73 Bump up minio/pkg to v3 (#4940) 2024-05-23 00:59:47 -07:00
Shireesh Anjal
206d017878 Expose health diagnostics related functions (#4885)
So that dependent projects (e.g. console) can make use of them instead
of duplicating the logic.
2024-03-30 08:28:09 -07:00
Shireesh Anjal
daf5b18e18 Add command for uploading file to SUBNET issue (#4854)
mc support upload --issue <issueNum> --comment <msg> <alias> </path/to/file>

Will upload the given file to the given SUBNET issue
2024-03-06 16:29:26 -08:00
Shireesh Anjal
66daa906eb mc support commands: allow --json in online mode (#4859)
There was a validation that said `--json` is supported only when
`--airgap` is also passed for SUBNET related `mc support` commands.

Remove this validation to allow `--json` to be passed even in online
mode. In this scenario, print a status JSON after upload to SUBNET.
2024-03-02 11:55:14 -08:00
Aditya Manthramurthy
e2056fb057 Update to minio/pkg v2 (#4674) 2023-09-02 14:28:03 -07:00
Harshavardhana
1fbd97aa04 run gofumpt -extra on all source files (#4634) 2023-07-17 13:10:20 -07:00
Shireesh Anjal
e8f049cbb1 Ensure --airgap is available on all support commands (#4633)
- remove deprecated and unused flags from `support diag`
- add missing registration check-in
  - call home status
  - proxy set|show|remove
2023-07-17 09:02:50 -07:00
Aditya Manthramurthy
5f39522e69 Add response details for policy attach/detach cmd (#4602)
For internal IDP.

Also updates madmin-go to v3 as part of this change

- Temporarily disable test_admin_users until minio side fix is merged
2023-06-19 12:31:19 -07:00
Harshavardhana
252421354c update functional tests for admin_users with 'policy commands' (#4508) 2023-03-19 20:49:16 -07:00
Aditya Manthramurthy
854b4f123f Bump up madmin-go to v2 (#4382) 2022-12-01 10:41:14 -08:00
Shireesh Anjal
024656ba05 Move support logs to admin logs (#4381) 2022-11-30 19:34:01 -08:00
Shireesh Anjal
c64833c018 Add commands to set, show and remove proxy (#4375) 2022-11-22 16:07:43 -08:00
Harshavardhana
cf7e0ae050 generalize input for ctx.Command.Name (#4338) 2022-11-01 08:04:26 -07:00
Shireesh Anjal
e917b9513d error out from support commands if not registered (#4271) 2022-09-28 14:52:11 -07:00
Anis Elleuch
f85086b153 Use a pager for help output (#4245) 2022-09-28 11:28:02 -07:00
Aditya Manthramurthy
1529bb83bf Move config parsing logic to madmin (#4212) 2022-08-17 17:07:58 -07:00
Ashish Kumar Sinha
c12f6e46c3 rename mc admin top to mc support top (#4191) 2022-08-10 13:02:42 -07:00
Shireesh Anjal
7b20dc2958 Move support register to license register (#4150)
Also, introduce a new command `license info` to print information 
from the license (when the license is available)
2022-07-13 18:25:30 -07:00
Shireesh Anjal
5afc2bdfad Add support status command (#4140)
Will print following information:

- Is the cluster registered
- Is pushing logs to SUBNET enabled
- Is pushing callhome info to SUBNET enabled
2022-07-01 11:20:35 -07:00
Shireesh Anjal
80ae287b02 Add commands to enable/disable callhome and logs (#4107)
- Remove the get/set options under `callhome`
- Move logs settings to a separate command (`mc support logs`)
- Provide toggle options (`enable, disable, status`) for both the
commands

In case of logs (`mc support logs enable|disable|status`),

`enable` configures minio to push logs to SUBNET in real-time by
configuring the webhook `logger_webhook:subnet`
`disable` disables the webhook
`status` displays whether it is enabled or disabled

In the case of call home (`mc support callhome enable|disable|status`),

`enable` configures minio to automatically push callhome info to SUBNET
every 24hrs by setting the config `callhome enable=on`
`disable` disables callhome by setting `enable=off`
`status` displays whether it is enabled or disabled
2022-06-15 09:14:52 -07:00
Shireesh Anjal
f65871e305 Move admin speedtest to support perf (#3966)
related to drives and objects sub-commands
2022-02-13 22:13:06 -08:00
Shireesh Anjal
ab2bce93ea Move admin profile to support profile (#3972)
As part of reorganization of support related commands
2022-02-13 16:08:52 -08:00
Shireesh Anjal
7b93343803 Move admin inspect to support inspect (#3971) 2022-02-13 15:38:06 -08:00
Harshavardhana
c595efe440 fix: some inconsistencies in 'mc support' command 2022-02-13 15:21:46 -08:00
Shireesh Anjal
5960c628f3 Move admin-subnet commands to support (#3949) 2022-02-08 10:05:36 -08:00
Shireesh Anjal
af7c550f26 Add command to configure callhome options (#3940) 2022-02-01 15:50:39 -08:00