1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 16:24:16 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
deadc0de6
20b673be2a adding debug to templategen 2018-06-06 07:37:44 +02:00
deadc0de6
0052571d2e headers refactoring 2018-06-02 14:50:05 +02:00
deadc0de6
48c465f5f3 pep257 refactoring 2018-06-02 14:46:44 +02:00
deadc0de6
24ef632f4c fix for #29 2018-05-02 17:36:29 +02:00
deadc0de6
8add242882 first attempt to update dotfiles 2018-01-13 15:47:57 +01:00
deadc0de6
cf501c21aa strip os.sep 2018-01-05 08:55:33 +01:00
Pedro Algarvio
06ef339d1b Don't blindly sum 1 to get a relative path 2018-01-04 15:31:01 +00:00
deadc0de6
ae102749ed update for pypi 2017-12-23 17:52:53 +01:00
Fabio
675aab4712 Make environment variables available in templates 2017-10-17 20:50:35 +02:00
deadc0de6
bc75bf8117 adding checks for #5 2017-05-20 08:48:59 +02:00
deadc0de6
d25ad19ec2 keep dotpath as a relative path when importing 2017-04-18 12:32:58 +02:00
deadc0de6
d5b132f57c adding copyright in header 2017-03-14 21:06:30 +01:00
deadc0de6
6ea90ee1d6 dirty fix for text files with bad char 2017-03-09 15:11:06 +01:00