moban
moban copied to clipboard
General purpose static text generator using Jinja2 and other python template engines
Bumps [jinja2](https://github.com/pallets/jinja) from 2.7.1 to 3.1.3. Release notes Sourced from jinja2's releases. 3.1.3 This is a fix release for the 3.1.x feature branch. Fix for GHSA-h5c8-rqwp-cp95. You are affected if...
``` $ python --version Python 3.11.0 $ pip install moban==0.8.2 ruamel.yaml==0.17.21 $ pip freeze appdirs==1.4.4 certifi==2022.12.7 charset-normalizer==3.1.0 colorama==0.4.6 crayons==0.4.0 fs==2.4.16 gease==0.0.11 idna==3.4 Jinja2==2.11.3 jinja2-fsloader==0.3.0 lml==0.1.0 MarkupSafe==2.1.2 moban==0.8.2 moban-jinja2-github==0.0.4 requests==2.28.2 ruamel.yaml==0.17.21...
as it is splitting moban into different purpose oriented packages, it is required to get them back again. https://github.com/moremoban/moban/pull/404
one feature missing wrt https://github.com/PGower/templateer/blob/master/templateer.py is option to skip empty results which contain only whitespace.
The docs give an intro to the command line and then immediately talk about inheritance of yamls without introducing them or the most important keys first, I think that'd help...
Not all moban users will need it but advanced users may experience problems if a lot of intermediate files were generated and they have inter-dependencies. To support it, current templating...
jinja is a horrible language to transform data *structures* _before_ they are used by a block in another template. I tried to fill `extra_dependencies` using jinja `set`. `{% set extra_dependencies...
An interesting problem encountered, the following is considered valid yaml by the currently yaml loader. ```yaml configuration: configuration: .moban.yaml template_dir: - ../docker-mobans/.moban.dt/' ``` The result is the trailing `'` causes...
The modeline on the output file should appear only once at the top of the file, and any subsequent modelines should be removed. https://www.python.org/dev/peps/pep-0263/ https://wiki.python.org/moin/Vim When templates include another template...
With a mobanfile containing ```yaml requires: - https://github.com/django-mobans/docker-mobans - configuration: configuration: .moban.yaml template_dir: - 'docker-mobans:.moban.dt/' ``` If I want to test an un-merged change to `docker-mobans`, I need to edit...