Project

General

Profile

Actions

User story #12761

closed

Add the possibility to customize filters and tests for jinja2 templating

Added by I C almost 3 years ago. Updated almost 3 years ago.

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

Description

Hello,

It would be nice if we can add custom jinja2 filters and jinja2 tests to the jinja2 templating in ncf.

The idea is to load a module call "jinja2_custom" containing custom filters and tests from the outside of the ncf tree to prevent overwriting during updates.

Thanks


Subtasks 3 (0 open3 closed)

Architecture #12767: Add a test for custom jinja filters and tests and merge different modules foldersReleasedAlexis MOUSSETActions
User story #12768: Fix tests after parent ticketRejectedBenoît PECCATTEActions
User story #12769: Improve documentation on adding tests & filters for Jinja2ReleasedNicolas CHARLESActions

Related issues

Related to ncf - User story #11607: Add jinja filters for file templatingRejectedActions
Actions #1

Updated by Nicolas CHARLES almost 3 years ago

  • Category set to Generic methods
  • Target version set to 4.1.13
Actions #2

Updated by Nicolas CHARLES almost 3 years ago

  • Pull Request set to https://github.com/Normation/ncf/pull/769
Actions #3

Updated by Nicolas CHARLES almost 3 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

I'm taking over this issue!

Actions #4

Updated by Nicolas CHARLES almost 3 years ago

  • Target version changed from 4.1.13 to 5.0.0~beta1
Actions #5

Updated by Nicolas CHARLES almost 3 years ago

I'm taking over this issue!

Actions #6

Updated by Nicolas CHARLES almost 3 years ago

  • Target version changed from 5.0.0~beta1 to 4.1.13
Actions #7

Updated by Nicolas CHARLES almost 3 years ago

  • Status changed from In progress to Pending technical review
  • Pull Request changed from https://github.com/Normation/ncf/pull/769 to https://github.com/Normation/ncf/pull/770
Actions #8

Updated by Nicolas CHARLES almost 3 years ago

  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
Actions #9

Updated by Rudder Quality Assistant almost 3 years ago

  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
Actions #10

Updated by Anonymous almost 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #12

Updated by Vincent MEMBRÉ almost 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.13, 4.2.7 and 4.3.3 which were released today.

Actions #13

Updated by Alexis MOUSSET about 2 years ago

Actions

Also available in: Atom PDF