YunoHost-Apps / Experimental_helpers

6 stars 12 forks source link

Add jinja template helper #107

Closed Josue-T closed 3 months ago

Josue-T commented 5 months ago

Problem

In theses following case it's quite complicated to implement with the current templates

And the yunohost implementation is not a standard template system

Solution

Use jinja as already used in the core to bring many feature.

I've implemented this on monitorix cf https://github.com/YunoHost-Apps/monitorix_ynh/pull/55 and synapse cf https://github.com/YunoHost-Apps/synapse_ynh/pull/449 and this bring many code simplifications and it just more clear how it work than without this.

alexAubin commented 3 months ago

(Closing because now available in the core with --jinja on ynh_add_config)