-
Notifications
You must be signed in to change notification settings - Fork 898
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 Report: Projects by Quota Items #15776
Conversation
@miq-bot add_label providers/containers, reporting |
@zakiva @zeari also WRT to the OOTB report, can we have the name of the quota object as well as a column? |
we can probably get
It doesnt unionize. I think we should show each quota item with the name of the |
8d0246b
to
b722468
Compare
@@ -1,5 +1,5 @@ | |||
describe MiqReport do | |||
context "Seeding" do | |||
include_examples(".seed called multiple times", 144) | |||
include_examples(".seed called multiple times", 145) | |||
end | |||
end |
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.
Ugh, again with these counting specs...
where does it end
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.
You 👏 can 👏 never 👏 stop 👏 counting!!
@zakiva Can investigate what happens on the OSE side when you define several quotas that restrict the same resource? (does it take the minimum? ignore one of them?) |
Ok so i dont think we should unionize or change the data in any way. This should reflect exactly whats happening on the provider side. A good change here would be to sort by project and then by resource. |
b722468
to
955762b
Compare
@zeari good idea 👍 done |
955762b
to
b569efc
Compare
This pull request is not mergeable. Please rebase and repush. |
b569efc
to
9777adb
Compare
@miq-bot assign blomquisg |
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.
Can you check on whether there's an extra commit or something in this PR? There's a change in this PR that's already in master. And, yet, I don't see that it's a merge conflict.
app/models/container_quota_item.rb
Outdated
|
||
def quota_display(quota) | ||
(quota % 1).zero? ? quota.to_i.to_s : quota.to_s | ||
end |
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.
I think these changes were part of another PR? These changes are already in master.
I can't figure out why this is not giving a merge conflict...
9777adb
to
a74ac6e
Compare
Checked commit zakiva@a74ac6e with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0 |
@blomquisg Rebased, PTAL |
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1416510
Depends on: #15639