Commit Graph
17 Commits
Author SHA1 Message Date
Anis Elleuch 7370e6bfd3 Print 'Cancel upon user request' when the global context is cancelled (#4406) 2022-12-16 23:26:04 -08:00
adfost fd7142e223 update license headers to 2022 (#4360) 2022-11-14 18:38:39 -08:00
Harshavardhana 69c0129cc7 remove sysinfo from errorIf with globalDebug (#4178)
remove sysinfo from errorIf without globalDebug

Bonus remove unused error BucketNameTopLevel and
fixes #4177
2022-08-02 17:00:08 -07:00
Harshavardhana 95e6947f9c remove sysinfo from --json mode without --debug (#4159) 2022-07-23 18:57:57 -07:00
Harshavardhana 91efd0c066 migrate mc to minio/pkg (#3731)
remove all dependency for minio/minio
2021-05-29 09:30:33 -07:00
Harshavardhana 1402987ccb change license to AGPLv3 2021-05-11 17:45:08 -07:00
Anis Elleuch 0289d32164 errorIf(): Convert context canceled to canceling upon request (#3463) 2020-11-06 09:37:59 -08:00
Anis Elleuch bb2bfdc918 Show a better err msg when Control-C is hit (#3446)
Currently the error message is "context canceled" which is cryptic
2020-10-08 11:46:11 -07:00
Harshavardhana 9663319e9e Update mc dependencies to recent dep change on MinIO (#3026) 2019-12-31 11:27:59 -08:00
ebozduman 83a9d8b91d Adds missing codebase MinIO and min.io changes (#2745) 2019-04-16 22:31:54 -07:00
Sidhartha Mani c75abbb3f9 use colorjson for all other mc outputs (#2683)
- Update to MarshalIndent instead of Marshal
- Allow unmarshalling
2019-02-28 14:33:13 -08:00
Anis Elleuch 8964876217 error msgs: Add punctuations when needed (#2628)
This commit will automatically add ':' or '.' after scanning
the generic and the detail error messages. This will simplify
maintaining error messages.
2018-12-18 23:18:28 -08:00
Anis Elleuch 0dd32c1b26 Add admin profiling command (#2557)
Implement profiling command to start & download profiling data of
a standalone or all nodes of a cluster.

```
1. Start CPU profiling
   $ mc admin profiling start --type "cpu" myminio/

2. Download latest profiling data under save under profiling.zip
   $ mc admin profiling stop myminio/
```
2018-10-17 17:06:12 -07:00
Harshavardhana 29f2dbca6b Fix 'mc mb' to guide the user when bucket is not passed (#2476)
Additionally this PR also allows for creating
prefixes on S3 compatible object storage backends
in the following form

```
mc mb s3/harshavardhana/object/prefix/
```
2018-06-29 14:56:07 -07:00
Aditya Manthramurthy ca96cfc6e6 Move pkg/probe from vendor dir to package dir (#2236)
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.

This is a maintenance fix.
2017-08-14 11:13:38 -07:00
Harshavardhana df395786bd mc: Consistent exit codes across all commands. (#1895)
Also brings in much needed CLI changes from
upstream and backporting our custom changes on
top of those changes.

Fixes #1880
2016-11-27 12:35:59 +05:30
Harshavardhana 2ea2ec90d2 Rename mc --> cmd 2016-08-17 18:26:18 -07:00