Project

General

Profile

Actions

User story #20342

closed

Add a worst-case, weighted sum for block compliance mode

Added by François ARMAND almost 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

We need a worst case by weighted with the sum of sub components for compliance mode, not only one with weight == 1.


Subtasks 1 (0 open1 closed)

User story #20343: Add a worst-case, weighted sum for block compliance mode - ruddercReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND almost 3 years ago

  • Target version set to 7.0.0~rc2
Actions #2

Updated by François ARMAND almost 3 years ago

  • Status changed from New to In progress
Actions #3

Updated by François ARMAND almost 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/4031
Actions #4

Updated by François ARMAND almost 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by François ARMAND almost 3 years ago

Migration notice: technique generated between 7.0.0-beta1 and 7.0.0-rc1 will need to have their component mode name updated:

focus  -> focus
sum    -> weighted
worst  -> worst-case-weighted-sum

You can achieve that by executing sed in technique repo:

cd /var/rudder/configuration-repository/techniques
for i in $(find . -name "metadata.xml"); do 
  sed -i -e s'/reporting="sum"/reporting="weighted"/' $i
  sed -i -e s'/reporting="worst"/reporting="worst-case-weighted-sum"/' $i
done
for i in $(find . -name "technique.json"); do 
  sed -i -e s'/"type":"focus"/"type":"weighted"/' $i
  sed -i -e s'/"type":"worst"/"type:""worst-case-weighted-sum"/' $i
done
# check that the changes are OK, then: 
git add -u 
git commit -m "migration from 7.0.0-rc1 to rc2 block compliance format" 
Actions #7

Updated by Vincent MEMBRÉ almost 3 years ago

I corrected some typo in your previous message François: worst-case-weighter-sum -> worst-case-weighted-sum

Actions #8

Updated by Vincent MEMBRÉ almost 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~rc2 which was released today.

Actions

Also available in: Atom PDF