mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
d2cd138f32
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 %} Possible breaking change: An error will be issued if a non-existent yadm or env variable is referenced in an if statement or in a variable substitution. |
||
---|---|---|
.. | ||
conftest.py | ||
Dockerfile | ||
ownertrust.txt | ||
pinentry-mock | ||
requirements.txt | ||
test_alt_copy.py | ||
test_alt.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_family.py | ||
test_unit_query_distro.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 |