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
Fixes #24637: Improvements on score: F score, rework tooltip, improve messages #5558
Conversation
@@ -57,6 +57,7 @@ object ScoreValue extends Enum[ScoreValue] { | |||
case object C extends ScoreValue { val value = "C" } | |||
case object D extends ScoreValue { val value = "D" } | |||
case object E extends ScoreValue { val value = "E" } | |||
case object F extends ScoreValue { val value = "F" } |
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.
indent
eead7eb
to
dffb75a
Compare
Commit modified |
dffb75a
to
fd2422c
Compare
@@ -456,7 +456,7 @@ CREATE TABLE NodeFacts ( | |||
); | |||
|
|||
|
|||
CREATE TYPE score AS enum ('A', 'B', 'C', 'D', 'E'); | |||
CREATE TYPE score AS enum ('A', 'B', 'C', 'D', 'E', 'F', 'X'); |
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.
This leads to SQL errors for people with the beta2 since there is no migration. Pondering if it's important, not sure, but we should at least add in release notes:
"if you upgrade from a beta version, you need to do:
rudder=> ALTER TYPE score ADD VALUE 'F';
ALTER TYPE
rudder=> ALTER TYPE score ADD VALUE 'X';
ALTER TYPE
rudder=>
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.
We don't support update between beta, we never did nor we want to support it
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 👍
...p/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/score/ComplianceScore.scala
Outdated
Show resolved
Hide resolved
…/rudder/score/ComplianceScore.scala Co-authored-by: Clark Andrianasolo <65616064+clarktsiory@users.noreply.github.com>
OK, merging this PR |
152a4a6
into
Normation:branches/rudder/8.1
https://issues.rudder.io/issues/24637