Project

General

Profile

User story #14357

Add a generic method that displays selected lines from a file in reports

Added by Alexis MOUSSET 5 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods - File Management
Target version:
Suggestion strength:
User visibility:
Effort required:

Description

Add a file_report_content that allows reporting lines from a files.

Parameters will be:

  • Target file
  • Regex to match (all file if empty)
  • Lines of context around regex (grep -C)

Subtasks

User story #14360: Add generic methods that allow to get head and tail of files in reportsReleasedNicolas CHARLESActions
Bug #14378: Fix normal ordering in file report ReleasedFélix DALLIDETActions

Associated revisions

Revision 9bde9727 (diff)
Added by Alexis MOUSSET 5 months ago

Fixes #14357: Add a method that allows reporting lines from a file

History

#1

Updated by Alexis MOUSSET 5 months ago

  • Status changed from New to In progress
#2

Updated by Alexis MOUSSET 5 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/925
#3

Updated by Alexis MOUSSET 5 months ago

  • Status changed from Pending technical review to Pending release
#4

Updated by Alexis MOUSSET 5 months ago

  • Description updated (diff)
#5

Updated by Alexis MOUSSET 5 months ago

  • Description updated (diff)
#6

Updated by François ARMAND 5 months ago

  • Subject changed from Add a method that allows reporting lines from a file to Add a generic method that displays selected lines from a file in reports
#7

Updated by François ARMAND 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.10 and 5.0.7 which were released today.

Also available in: Atom PDF