Project

General

Profile

Actions

User story #12761

closed

Add the possibility to customize filters and tests for jinja2 templating

Added by I C over 4 years ago. Updated 8 months ago.

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

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 1 (0 open1 closed)

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

Updated by Nicolas CHARLES over 4 years ago

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

Updated by Nicolas CHARLES over 4 years ago

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

Updated by Nicolas CHARLES over 4 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 over 4 years ago

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

Updated by Nicolas CHARLES over 4 years ago

I'm taking over this issue!

Actions #6

Updated by Nicolas CHARLES over 4 years ago

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

Updated by Nicolas CHARLES over 4 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 over 4 years ago

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

Updated by Rudder Quality Assistant over 4 years ago

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

Updated by Anonymous over 4 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:7886caeb0c27267b7174c110158b9412bef5086a.

Actions #11

Updated by Nicolas CHARLES over 4 years ago

Applied in changeset commit:784269fe651f0f4ce786e240ddbf02487961ae2c.

Actions #12

Updated by Vincent MEMBRÉ over 4 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 over 3 years ago

Actions #14

Updated by Alexis Mousset 8 months ago

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

Also available in: Atom PDF