-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add bucket tagging support #3182
add bucket tagging support #3182
Conversation
9bf3a5c
to
e9af20d
Compare
This comment has been minimized.
This comment has been minimized.
No wonder of failure unless respective base PRs are fixed and merged. I would recommend to test base PRs than higher level PRs |
e5ebde0
to
2f5a0f1
Compare
@balamurugana Can you PTAL at the build failure? Does this PR depend on minio/minio-go#1273 as minio/minio-go#1279 has been merged and included in go.mod? |
The PR depends on minio/minio-go#1273 |
1a128db
to
b541906
Compare
|
b541906
to
9cf1eb1
Compare
I removed |
6ef1f81
to
7f15b33
Compare
Fixed. Also note that the difference in output.
Two different behaviour in AWS S3. For buckets, it returns below error, but objects it returns success with no tags. <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchTagSet</Code><Message>The TagSet does not exist</Message><BucketName>bala-test-bucket1</BucketName><RequestId>35834BE42705186B</RequestId><HostId>VzUofcmRRhYyjQkmWc7X5tRsgZWgui57S0HocPyKayydaLR4f9Ya0cRmVVfKNwO+XktqBvMi4go=</HostId></Error> I have introduced to print an error message returned like S3, but
[bala@localhost mc]$ ./mc -C ~/.mc tag remove s3/bala-test-bucket1
Tags removed for s3/bala-test-bucket1.
[bala@localhost mc]$ ./mc -C ~/.mc tag remove s3/bala-test-bucket1
Tags removed for s3/bala-test-bucket1.
[bala@localhost mc]$ ./mc -C ~/.mc tag remove s3/bala-test-bucket1/zero
Tags removed for s3/bala-test-bucket1/zero.
[bala@localhost mc]$ ./mc -C ~/.mc tag remove s3/bala-test-bucket1/zero
Tags removed for s3/bala-test-bucket1/zero.
[bala@localhost mc]$ |
7f15b33
to
b821f20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b821f20
to
0d59c77
Compare
Output currently is
with this PR it is
it is missing the name of the object being displayed. Can that be added back with the same color? |
I removed it on purpose because the command fetches only one entity at once and Another interesting case is an user can have tag key as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@balamurugana We followed the
The one in the top is in different color and you will not see that in |
@balamurugana #3212 please take some changes from this PR including fixes for
|
0d59c77
to
191caf9
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
depends on minio/minio-go#1281 #3212