Project

General

Profile

Actions

Bug #5243

closed

Error in parsing of bundle names causing ncf to use technique names like "ntp {"

Bug #5243: Error in parsing of bundle names causing ncf to use technique names like "ntp {"

Added by Jonathan CLARKE over 11 years ago. Updated over 3 years ago.

Status:
Released
Priority:
4
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

This has an impact on the ncf Python lib, the ncf-api and therefore ncf-builder.

The culprit is a badly formed regex in ncf.py:

match = re.match("[^#]*bundle\s+agent\s+([^(]+)\(?([^)]*)\)?.*$", line)

This matches " }" as part of the name.


Subtasks 1 (0 open1 closed)

Bug #5245: simplify regexp to parse bundle nameReleasedFrançois ARMANDActions

Updated by Jonathan CLARKE over 11 years ago Actions #1

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/ncf/pull/84

Updated by François ARMAND over 11 years ago Actions #2

  • Assignee changed from Vincent MEMBRÉ to François ARMAND

Taking it.

Tested with online regex tester, seems ok.

Updated by Jonathan CLARKE over 11 years ago Actions #3

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Benoît PECCATTE over 10 years ago Actions #5

  • Target version set to 0.x

Updated by Vincent MEMBRÉ about 9 years ago Actions #6

  • Status changed from Pending release to Released

Updated by Alexis Mousset over 3 years ago Actions #7

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0

Updated by Alexis Mousset over 3 years ago Actions #8

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

Also available in: PDF Atom