Actions
Architecture #16858
closedArchitecture #16856: Don't replace RudderUniqueId in generated policies with a replace, but with StringTemplate
create a migration script to replace all RudderUniqueID by & RudderUniqueID& in techniques
Fix check:
To do
Regression:
Description
see parent ticket
Updated by Nicolas CHARLES over 4 years ago
regex
sed "s/\([^&]\)RudderUniqueID\([^&]\)/\1\&RudderUniqueID\&\2/g"
seems to do the trick, except when a line starts or finished by RudderUniqueID
Updated by Nicolas CHARLES over 4 years ago
4 seds work but seems a bit overkill
sed "s/\([^&]\)RudderUniqueID\([^&]\)/\1\&RudderUniqueID\&\2/g" test.st | sed "s/^RudderUniqueID\([^&]\)/\&RudderUniqueID\&\1/g" | sed "s/\([^&]\)RudderUniqueID$/\1\&RudderUniqueID\&/g" | sed "s/^RudderUniqueID$/\&RudderUniqueID\&/g"
Updated by Nicolas CHARLES over 4 years ago
sed "s/\([^&]\|^\)RudderUniqueID\([^&]\|$\)/\1\&RudderUniqueID\&\2/g"
Updated by Nicolas CHARLES over 4 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 4 years ago
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2214
Updated by Nicolas CHARLES over 4 years ago
- Status changed from In progress to Pending release
Applied in changeset rudder-packages|340ff7e6a48cf498613be83014ea1d88b2c04c32.
Updated by François ARMAND over 4 years ago
- Tracker changed from Bug to Architecture
- Priority deleted (
0)
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.0~beta1 which was released today.
Actions