8ba9823407
The awk script now performs all processing in the BEGIN block using an implementation that is capable of handling if statements which contain nested if statments (fixes #436). To make nested ifs look better, if, else and endif lines can now have optional whitespace before {%. Includes are now handled in the same way as the main file which means that included files can both include other files and have if statements in addition to variables (fixes #406). Include lines can now also have optional whitespace before {%. All variables are handled in the same way now so it's now possible to use env variables in if statements (fixes #488). Also add support for != in addition to == (fixes #358). Thus it's now e.g. possible to check if a variable is set (#477) by doing: {% if yadm.class != ""%} Class is set to {{ yadm.class }} {% endif %} A non-existing yadm or env variable is now replaced with the empty string. |
||
---|---|---|
.. | ||
conftest.py | ||
Dockerfile | ||
ownertrust.txt | ||
pinentry-mock | ||
requirements.txt | ||
test_alt.py | ||
test_alt_copy.py | ||
test_assert_private_dirs.py | ||
test_bootstrap.py | ||
test_clean.py | ||
test_clone.py | ||
test_config.py | ||
test_encryption.py | ||
test_enter.py | ||
test_ext_crypt.py | ||
test_git.py | ||
test_help.py | ||
test_hooks.py | ||
test_init.py | ||
test_introspect.py | ||
test_key | ||
test_list.py | ||
test_perms.py | ||
test_syntax.py | ||
test_unit_bootstrap_available.py | ||
test_unit_choose_template_cmd.py | ||
test_unit_configure_paths.py | ||
test_unit_copy_perms.py | ||
test_unit_encryption.py | ||
test_unit_exclude_encrypted.py | ||
test_unit_issue_legacy_path_warning.py | ||
test_unit_parse_encrypt.py | ||
test_unit_private_dirs.py | ||
test_unit_query_distro.py | ||
test_unit_query_distro_family.py | ||
test_unit_record_score.py | ||
test_unit_record_template.py | ||
test_unit_relative_path.py | ||
test_unit_remove_stale_links.py | ||
test_unit_report_invalid_alts.py | ||
test_unit_score_file.py | ||
test_unit_set_local_alt_values.py | ||
test_unit_set_os.py | ||
test_unit_set_yadm_dir.py | ||
test_unit_template_default.py | ||
test_unit_template_esh.py | ||
test_unit_template_j2.py | ||
test_unit_upgrade.py | ||
test_unit_x_program.py | ||
test_upgrade.py | ||
test_version.py | ||
utils.py |