-
Notifications
You must be signed in to change notification settings - Fork 244
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
rgw:add "ListBucketsWithStat" function #801
Conversation
Hi @thotz, |
Hey @TheMoti The change looks good to me, In go-ceph bindings for adding new apis, there are certain format need to be followed. @phlogistonjohn @anoopcs9 can guide through that |
Hi again, Many thanks |
I think @thotz meant I would suggest that for the scope of these changes are small and tightly related the commits be squashed together in one commit. While you do that it would be good to follow our format for commit messages:
If you're not familiar with the process of squashing patches with git, feel free to ask and we'll try to assist. |
bbfe6dc
to
1978fdc
Compare
Done! |
Branch name should not matter much but there is something I forgot to comment earlier(and I am sorry for the delay). New APIs in go-ceph are supposed to be tagged Thus you can have 2 commits, one which adds the API and another to deal with the API stability process by including the changes(to api-status.json and api-status.md) made as a result of |
053e9da
to
d24789c
Compare
@anoopcs9 Can you check new changes? |
rgw/admin/admin_bucket.go
Outdated
//go:build ceph_preview | ||
// +build ceph_preview | ||
|
||
package admin |
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.
Since all new apis need to be added as separate file, I recommend filename should be similar to API like list_bucket_with.go
than admin_bucket.go
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.
Done.
d24789c
to
8c58124
Compare
381b3c7
to
56004cc
Compare
56004cc
to
174ea01
Compare
@Mergifyio rebase |
To get the future behavior now, you can configure Or you can create a dedicated github account for squash and rebase operations, and use it in different |
✅ Branch has been successfully rebased |
174ea01
to
fd7d17a
Compare
@TheMoti Looks good in general. Just a small nit: We prefer to have |
@phlogistonjohn Mergify needs some attention 😬 |
fd7d17a
to
110bb79
Compare
Indeed. It'd be nice if they provided a link to some documentation. I'll do it for them: https://blog.mergify.com/selecting-your-bot-account/ |
110bb79
to
c0d9603
Compare
@Mergifyio rebase |
To get the future behavior now, you can configure Or you can create a dedicated github account for squash and rebase operations, and use it in different |
✅ Branch has been successfully rebased |
c0d9603
to
bea513b
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.
Thank you for bearing with us in fixing all nitpicks.
lgtm.
Add an rgw api function that combines listing and stat'ing buckets. Signed-off-by: moti <motaharesdq@gmail.com>
Add api stability. Signed-off-by: moti <motaharesdq@gmail.com>
To get the future behavior now, you can configure Or you can create a dedicated github account for squash and rebase operations, and use it in different |
bea513b
to
3c09fe0
Compare
Added new function
ListBucketsWithStat
to get all buckets of all users info (for admin keys only).fixes #800