Project

General

Profile

Actions

User story #11346

closed

Create a new generic method to set key/value with option to define if it is strict or not

Added by Nicolas CHARLES over 6 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

As needed in parent ticket, we need to create a new generic method, file_ensure_key_value_option , that will also allow a new parameter, option, which can have either
strict : it is exactly key=value
or
lax : any amount of space is authorized either on lhs or rhs

in the future, new option may be added


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11087: File content (key/value format) technique allows white space before separator but not after itReleasedAlexis MoussetActions
Actions #1

Updated by Nicolas CHARLES over 6 years ago

  • Project changed from Rudder to 41
  • Parent task deleted (#11087)
Actions #2

Updated by Nicolas CHARLES over 6 years ago

  • Related to Bug #11087: File content (key/value format) technique allows white space before separator but not after it added
Actions #3

Updated by Nicolas CHARLES over 6 years ago

  • Category set to Generic methods
  • Target version set to 0.x
Actions #4

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from New to In progress
Actions #5

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/638
Actions #6

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:140d9f1bc69c20d3831853ec24f56b29d5e62ef4.

Actions #7

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from Pending release to Released
Actions #8

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 0.x to ncf-0.x
Actions #9

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF