1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 06:19:17 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
deadc0de6
89aa981944 linting 2021-09-22 11:19:55 +02:00
deadc0de6
5c886ba2b0 fix R0402 2021-07-01 22:19:41 +02:00
deadc0de6
cb71bf299f linting 2021-04-30 20:01:02 +02:00
deadc0de6
8021a0e137 refactor debug logging 2021-04-29 14:51:44 +02:00
Marcel Robitaille
071d74fb38 Make is_template respect ignores
A (false positive) "template" that should be ignored
should not make `is_template` become true.
2020-12-11 01:38:03 -05:00
deadc0de
675c820606 Merge pull request #292 from deadc0de6/chmod
Chmod
2020-11-21 13:52:03 +01:00
deadc0de6
578fb86466 speed up template detection 2020-11-18 15:23:28 +01:00
deadc0de6
3fc635495d clean run 2020-11-16 13:50:38 +01:00
deadc0de6
85f572cbd1 update doc for #290 2020-11-15 16:49:23 +01:00
deadc0de6
68b901e667 mime type for file -b 2020-11-07 14:40:42 +01:00
deadc0de6
e5f46dc4c6 fix is text 2020-11-07 13:17:50 +01:00
deadc0de6
2c1041307d fix json detected as bin for #277 2020-11-06 15:18:26 +01:00
deadc0de6
8bc6519a25 use magic for determining file types and remove mkdir dependency 2020-11-05 22:17:26 +01:00
deadc0de6
69cf14e302 fix compare bug 2020-09-04 07:10:41 +02:00
deadc0de6
c36854f250 propagate undefined variable exception 2020-07-14 20:32:05 +02:00
deadc0de6
e3b7359b95 better handle variables and raise exception when an used variable is undefined 2020-07-13 21:07:13 +02:00
deadc0de6
e8f4d9afe8 debug log improvements 2020-06-23 10:25:30 +02:00
deadc0de6
aab4492556 fix bug for #225 2020-05-03 17:58:29 +02:00
deadc0de6
9f27c6bc48 fix templatenotfound for #226 2020-05-03 14:40:37 +02:00
deadc0de6
f02327c6e4 adding ability to add custom functions and filters for #200 2020-01-12 12:01:03 +01:00
deadc0de6
d5d5e30b92 dynamically load jinja2 custom functions 2020-01-12 10:43:51 +01:00
deadc0de6
5c6db63aa7 fix bug #160 2019-06-15 21:10:33 +02:00
deadc0de6
6e6c5fb2e3 refactor the parsing 2019-05-31 18:30:19 +02:00
deadc0de6
34a8947fc1 add more tests and add jhelper methods 2019-05-04 17:52:40 +02:00
deadc0de6
ad10adef5d adding dotfile specific variables for templating 2019-05-02 11:23:52 +02:00
deadc0de6
44a26a261d adding default_actions and dotfile src/dst paths to template these (for #125) 2019-05-01 15:55:51 +02:00
Lucas Schwiderski
725b265651 Add exists_in_path jinja helper function
The function is a wrapper around `shutil.which` that allows to check for
an executable in the OS's PATH within templates.
2019-03-24 14:37:15 +01:00
deadc0de6
a4fa4df920 fix template for json (#87) 2019-02-17 19:24:30 +01:00
deadc0de6
f9be717ff3 docstring 2019-02-07 21:54:31 +01:00
deadc0de6
48df932ae4 refactoring 2019-02-07 15:59:05 +01:00
deadc0de6
8e9f1b2468 implement recursive variables for #83 2019-02-02 20:16:44 +01:00
deadc0de6
45f29679b2 add profile to all other variables 2019-02-02 19:20:33 +01:00
deadc0de6
f78e3126f5 handle empty file as text file 2019-01-17 20:15:24 +01:00
deadc0de6
a268811ceb comments 2018-12-27 15:39:49 +01:00
deadc0de6
c45c17184e adding ability to use dynamic variables in dotfile src/dst 2018-11-27 13:15:35 +01:00
deadc0de6
d569201b0b add ability to have more methods available from within the templates 2018-11-19 18:16:35 +01:00
deadc0de6
29f6e89bf5 adding decorator 2018-11-15 16:04:45 +01:00
deadc0de6
35fc17d2a7 correctly handle showdiff with templates 2018-10-08 16:10:43 +02:00
deadc0de6
8aabf57204 improve error check on external commands 2018-09-28 14:08:33 +02:00
deadc0de6
12e875a305 ensure is_template handles tild properly 2018-09-26 17:31:29 +02:00
deadc0de6
5527f61b66 properly handle binary when checking for template #58 2018-09-24 22:12:55 +02:00
deadc0de6
d36e525ca4 ensure source dotfile exists 2018-09-24 22:02:36 +02:00
deadc0de6
44dc7affc6 recursively check for template files for #58 2018-09-24 13:22:20 +02:00
deadc0de6
f404888fb2 ensure is file 2018-09-01 19:46:10 +02:00
deadc0de6
0065595237 better identify templates 2018-09-01 19:00:54 +02:00
deadc0de6
89198eddb6 better provide template variables as global in templategen 2018-09-01 18:48:59 +02:00
deadc0de6
8a3e7459f3 adding ability to use variables from the config file in templates 2018-09-01 18:28:53 +02:00
deadc0de6
33361ddea6 add ability to add auto-generated dotdrop header in dotfiles 2018-09-01 17:28:02 +02:00
deadc0de6
c8a37c1302 better log for debugging 2018-07-17 08:37:37 +02:00
deadc0de6
2243ddfc64 create directory hierarchy even when not containing files 2018-07-16 20:40:33 +02:00