Project

General

Profile

User story #12761

Add the possibility to customize filters and tests for jinja2 templating

Added by Ilan COSTA 12 months ago. Updated 10 months 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

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

Associated revisions

Revision 7886caeb (diff)
Added by Ilan Costa 12 months ago

Fixes #12761: Load custom jinja2 filters and tests for jinja2 templating

Revision 784269fe (diff)
Added by Nicolas CHARLES 12 months ago

Fixes #12761: Add the possibility to customize filters and tests for jinja2 templating

History

#1

Updated by Nicolas CHARLES 12 months ago

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

Updated by Nicolas CHARLES 12 months ago

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

Updated by Nicolas CHARLES 12 months ago

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

I'm taking over this issue!

#4

Updated by Nicolas CHARLES 12 months ago

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

Updated by Nicolas CHARLES 12 months ago

I'm taking over this issue!

#6

Updated by Nicolas CHARLES 12 months ago

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

Updated by Nicolas CHARLES 12 months 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
#8

Updated by Nicolas CHARLES 12 months ago

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

Updated by Rudder Quality Assistant 12 months ago

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

Updated by Anonymous 12 months ago

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

Updated by Vincent MEMBRÉ 10 months 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.

#13

Updated by Alexis MOUSSET 12 days ago

Also available in: Atom PDF