Project

General

Profile

User story #12761

Add the possibility to customize filters and tests for jinja2 templating

Added by Ilan COSTA 6 months ago. Updated 5 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 MOUSSET
User story #12768: Fix tests after parent ticketRejectedBenoît PECCATTE
User story #12769: Improve documentation on adding tests & filters for Jinja2ReleasedNicolas CHARLES

Associated revisions

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

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

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

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

History

#1 Updated by Nicolas CHARLES 6 months ago

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

#2 Updated by Nicolas CHARLES 6 months ago

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

#3 Updated by Nicolas CHARLES 6 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 6 months ago

  • Target version changed from 4.1.13 to 5.0.0~beta1

#5 Updated by Nicolas CHARLES 6 months ago

I'm taking over this issue!

#6 Updated by Nicolas CHARLES 6 months ago

  • Target version changed from 5.0.0~beta1 to 4.1.13

#7 Updated by Nicolas CHARLES 6 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 6 months ago

  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE

#9 Updated by Normation Quality Assistant 6 months ago

  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES

#10 Updated by Anonymous 6 months ago

  • Status changed from Pending technical review to Pending release

#12 Updated by Vincent MEMBRÉ 5 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.

Also available in: Atom PDF