Harshavardhana
8876275c07
list versions including DEL marker when figuring out Stat() ( #4951 )
...
this is needed to avoid an inconsistent behavior when an
object exists v/s DEL marker or FreeVersion exists.
2024-06-19 22:57:53 -07:00
Aditya Manthramurthy
d4b7b00d73
Bump up minio/pkg to v3 ( #4940 )
2024-05-23 00:59:47 -07:00
Aditya Manthramurthy
e2056fb057
Update to minio/pkg v2 ( #4674 )
2023-09-02 14:28:03 -07:00
Klaus Post
36aa65b791
Add metadata and tags to mc find ( #4531 )
2023-04-08 09:43:27 -07:00
Harshavardhana
252421354c
update functional tests for admin_users with 'policy commands' ( #4508 )
2023-03-19 20:49:16 -07:00
adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
Anis Elleuch
b3e1ac34c7
ls: Fix ls exit code related to some errors in FS ( #4233 )
...
The code that is being modified is from 2016. Currently, it does not set
an exit code status in the following cases, all of them are returned by
the FS layer:
BrokenSymlink
TooManyLevelsSymlink
PathNotFound
PathInsufficientPermission
There is no reason to avoid setting an exit code in this case. The only
functional change of this PR is by setting an exit code
2022-09-06 09:54:46 -07:00
Klaus Post
2f42260f98
Add remote zip support to mc ls/cp/cat ( #3977 )
...
--zip flag is hidden for now
2022-02-15 03:09:39 -08:00
Villena Guillaume
9914c8187e
Allow storageclass to be specified on mc ls ( #3915 )
2022-01-28 14:42:21 -08:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
ebozduman
7fd441ec6c
Removes Windows path adjustment for prefixes ( #3614 )
2021-11-14 21:21:00 -08: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
Chengyou Liu and Harshavardhana
74fc02e5eb
Add --summarize for ls ( #3517 )
...
Co-authored-by: Harshavardhana <harsha@minio.io >
2020-12-09 15:26:29 -08:00
Harshavardhana
3792e9f906
multiple bug fixes for mirror, ls, rm ( #3491 )
...
- fixes errant top level directory creation, regression introduced in #3313
- fixes `mc ls -r` regression introduced in #3476
- fixes other bugs such as `mc mirror` would perpetually hang if the
destination bucket doesn't exist, create and proceed instead.
- removes DirOpt style implementations for List, ListIncompleteUploads
these are not useful anymore.
2020-11-15 13:24:00 -08:00
Harshavardhana
470ae1ee5f
allow empty buckets listed with mc ls -r ( #3476 )
2020-11-02 15:49:07 -08:00
Cesar N
7f2df96e48
Change ListOptions' fields to public ( #3433 )
2020-10-01 09:50:56 -07:00
Anis Elleuch
a5d03c51e2
ls: New output format when versioning is enabled ( #3392 )
2020-09-19 21:56:37 -07:00
Harshavardhana
1dde65d9c0
fix: display objects endpoint with / properly ( #3408 )
2020-09-17 15:34:47 -07:00
Anis Elleuch
fede0756d4
Implement undo command ( #3394 )
2020-09-16 18:59:28 -07:00
Harshavardhana
ce7ffc38df
fix: alignment in help for multiple commands ( #3371 )
2020-08-19 15:44:12 -07:00
Anis Elleuch
24e58fce38
ls: --rewind without --versions shows correct version number ( #3360 )
2020-08-14 15:46:12 -07:00
Anis Elleuch
7e52c104be
ls: New printing format for versions ( #3341 )
2020-08-07 17:56:14 -07:00
Anis Elleuch
442facedd1
Implement rewind flag in ls and cp commands ( #3304 )
...
--rewind will go back in time and select specific object versions that are
the latest at the specified time.
--versions will display all the versions
cp will just ignore if the latest version is a delete marker
ls will print delete markers with a (deleted) at the end
2020-07-23 11:18:38 -07:00
ebozduman
d5b6931a1e
Apply global context for all apis ( #3240 )
2020-06-16 16:55:31 -07:00
Chloe Kudryavtsev
32d8ef24ef
feat: allow fetching arbitrary object puburls ( #3043 )
...
This fix should be backward-compatible, since strings do not need
to be initialized by default, and JSON explicitly allows it to be omitted
when empty.
2020-04-22 18:36:41 -07:00
Harshavardhana
8cae137525
fix all the build errors
2020-04-03 22:22:20 -07:00
Harshavardhana
9663319e9e
Update mc dependencies to recent dep change on MinIO ( #3026 )
2019-12-31 11:27:59 -08:00
Harshavardhana
69bea2eb96
Continue listing upon error during diff and mirror ( #2988 )
2019-12-08 14:34:52 -08:00
Harshavardhana
6cfbc809cf
Add mirror command to compare metadata and copy ( #2965 )
...
mirror now uses the newly introduced
ListObjectsV2WithMetadata API in minio-go
2019-11-21 22:25:46 -08: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
kannappanr
2ad65c0799
ls: Remove space between size and unit ( #2735 )
...
With the move to go.mod, the latest humanize package is being used.
This introduces a space between size and the unit. Manually removing the space
to make it consistent with the older mc releases.
2019-03-29 15:02:26 -07:00
Harshavardhana
ba92305de0
Migrate to go1.12, deprecate vendor directory ( #2727 )
2019-03-27 10:08:19 -07:00
poornas
0a790a1a2e
ls: consistent output while listing directories on file system ( #2723 )
2019-03-21 19:19:11 -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
c0b89a7aec
Add support of empty directories in ls/rm/find commands ( #2452 )
2018-06-04 17:20:07 -07:00
poornas
ab6b2a83ac
Add new stat sub command ( #2275 )
2017-10-31 13:56:40 -07:00
poornas
26c7c3e500
ls: show ETag in json formatted output ( #2285 )
2017-10-13 18:23:13 -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
Bala FA
6de2b4559e
Refactor rm command. ( #1855 )
...
This patch makes rm command to use minio-go.RemoveObjects() to removeobjects recursively.
2016-10-17 20:24:09 -07:00
Harshavardhana
2ea2ec90d2
Rename mc --> cmd
2016-08-17 18:26:18 -07:00