1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00
Commit Graph

33 Commits

Author SHA1 Message Date
Harshavardhana
5fc35b6682 Fix admin help messages and docs (#2884) 2019-09-06 10:07:30 -07:00
Harshavardhana
7c454d8f94 Migrate to new minio/cli, fix all extra spaces across commands (#2825) 2019-07-15 19:59:28 +01:00
Ashish Kumar Sinha
56309a4999 mc command cleanup (#2783) 2019-06-27 14:47:08 +05:30
Anis Elleuch
2d691508c2 Show background heal stats in mc admin heal (#2808) 2019-06-26 15:14:20 -07:00
ebozduman
83a9d8b91d Adds missing codebase MinIO and min.io changes (#2745) 2019-04-16 22:31:54 -07:00
Anis Elleuch
030aa5aba5 Add normal/deep scan flag to admin heal cmd (#2692) 2019-03-15 15:40:51 -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
Harshavardhana
3a22044471 Vendorize all the latest dependencies with go mod (#2674) 2019-02-08 18:32:17 -08:00
Harshavardhana
cb4f46854b Fix command line names and documentation (#2602) 2018-11-19 17:19:53 -08:00
Harshavardhana
4479667d4c Allow resuming and stopping an active heal operation (#2584) 2018-11-04 19:25:14 -08:00
Harshavardhana
6ca902d13a Add additional error message in heal (#2583) 2018-10-27 02:53:24 -07:00
Praveen raj Mani
b2d2e09105 mc heal and mc mirror should respond with proper exit code (#2543)
respond with os.exit(0) incase of errors

Fixes #2534 #2474
2018-09-20 15:23:40 -07:00
Harshavardhana
2d4346bfe1 Add 'mc admin' complete guide (#2456)
Fixes #2428
2018-06-01 09:16:01 +05:30
Harshavardhana
97c7984bca Large bucket support admin API Changes (#2372) 2018-02-15 18:35:05 -08:00
Harshavardhana
55f06077e5 Fix heal admin API to honor json/quiet flags correctly (#2370)
Update the madmin updated package as well

Fixes #2369
Fixes #2368
Fixes #2367
2018-01-27 23:19:52 +05:30
Aditya Manthramurthy
793cda2ca0 New Admin API client-side implementation (#2350) 2018-01-23 12:32:58 -08:00
Aditya Manthramurthy
5f2f82b5f7 Update heal command - remove upload healing (#2355)
This PR is to keep mc in sync with changes introduced in
https://github.com/minio/minio/pull/5390 to remove upload healing
functionality.
2018-01-12 07:50:04 -08: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
Carter McClellan
c1b9079b73 Improved experimental log of mc admin heal to only appear on heal specific mc commands (#2230) 2017-07-30 08:43:42 -07:00
Anis Elleuch
1bf5ac350f madmin: Update and adapt mc to new lib changes (#2131) 2017-04-16 20:42:55 -07:00
Harshavardhana
018bcbf629 cli/docs: Fix all cli docs to be consistent in terms of usage. (#2119)
ALIAS should be called as TARGET for all cli commands.
2017-04-11 12:06:02 +01:00
Anis Elleuch
ad04a6fcc4 heal: Fix help text (#2111) 2017-04-05 13:58:54 -07:00
Krishnan Parthasarathi
7084a4361e Replace admin-heal-list with admin-heal --fake (#2101)
* Replace admin-heal-list with admin-heal --fake

* Improve admin-heal message for partial healing

* Vendorize pkg/madmin changes to include improved messaging for
  partial healing of objects/uploads.

* Modify message strings to include additional heal result information
  like number of disks where heal was successful.
2017-04-03 12:16:21 -07:00
Krishnan Parthasarathi
05468dfc8d Improve admin subcommand structure (#2098)
- Rename password subcommand to credentials
- Make clear-lock require --force flag
- Also, fix lock and heal mc-admin subcommand usage text.
2017-03-31 01:12:00 -07:00
Anis Elleuch
7c7969ed55 admin heal: Support for uploads healing (#2076)
mc admin heal supports --incomplete flag to list and heal uploads.
2017-03-20 13:56:52 -07:00
Harshavardhana
99682ecbdb admin: HealObjectInfo can be nil skip it. (#2059)
Fixes #2058
2017-03-03 20:37:04 -08:00
Harshavardhana
1ef242a5c1 Fix all cli commands to have consistent UI (#2040)
Fixes #2038
2017-02-27 11:44:26 -08:00
Harshavardhana
e7e44b96ee Avoid printing hidden flags and commands with custom help. (#2015)
Always use .VisibleFlags and .VisibleCommands in templates
to avoid printing hidden flags and commands in the help
template.
2017-02-15 02:05:29 -08:00
Anis Elleuch
fb9d10772a help: Use {{.HelpName}} in help/examples template (#2013)
It is easier to use {{.HelpName}} in help text template to print
the mc binary name plus the whole command hierarchy (binary name +
command + subcommand, etc..)
2017-02-12 09:30:00 -08:00
Anis Elleuch
3fefebd05d heal: Don't print info if heal obj returns an err (#1988)
When heal object returns an error, just print an error and continue with the
next objects.
2017-01-25 13:50:45 -08:00
Anis Elleuch
9c81d374b1 heal: Show help when alias is not specified (#1985) 2017-01-25 12:30:22 -08:00
Anis Elleuch
38c3703d08 admin: Heal format in heal command (#1980) 2017-01-24 15:05:32 -08:00
Anis Elleuch
0e1e954768 Add new admin Heal command (#1958)
e.g.: `mc admin heal list myminio/` and `mc admin heal myminio/testbucket`

Also, some heal files that belong madmin package have been added
2017-01-22 15:19:06 -08:00