Project

General

Profile

Actions

User story #14596

closed

Add a GM to verify that a given key-value in a file matches a regex

Added by Félix DALLIDET almost 5 years ago. Updated almost 2 years ago.

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

Description

The key parameter will also support the regex entry.
The method will find all lines corresponding to the value + separator parameters and test the lines to see if their right part match the given regex.
This method will never edit or modify the files.

Actions #1

Updated by Félix DALLIDET almost 5 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET almost 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/952
Actions #3

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.9 to 5.0.10
Actions #4

Updated by Félix DALLIDET almost 5 years ago

  • Status changed from Pending technical review to Rejected

Not relevant anymore. We will split the parsing part and the checking one.

Actions #5

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - File Management to Generic methods
Actions

Also available in: Atom PDF