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

560 Commits

Author SHA1 Message Date
Marcel Robitaille
170df39c60 Move link from bool to enum 2019-01-20 15:02:09 -04:00
Marcel Robitaille
08addde1d9 Support templating 2019-01-20 13:34:56 -04:00
Marcel Robitaille
e119b8829e Fail if source isn't a directory 2019-01-20 13:34:26 -04:00
deadc0de6
0162412d4c implement upignore for #79 2019-01-17 21:22:12 +01:00
deadc0de6
f78e3126f5 handle empty file as text file 2019-01-17 20:15:24 +01:00
deadc0de6
7ba8ed32b8 adding profile specific (dyn)variables for #81 2019-01-17 19:07:28 +01:00
deadc0de6
91b1b7f7fe -l inverts the value of link_by_default 2019-01-17 17:42:23 +01:00
deadc0de6
6d4526f57e update compare output 2019-01-17 15:54:46 +01:00
deadc0de6
7f6ab70b3b fix normpath for #76 2018-12-29 23:32:44 +01:00
Marcel Robitaille
0cc5ec9e13 Conform to PEP8
Though [it is generally recommended to have a trailing
newline](https://stackoverflow.com/questions/2287967/why-is-it-recommended-to-have-empty-line-in-the-end-of-file)
2018-12-29 15:50:06 -04:00
Marcel Robitaille
67be049407 Import only used functions 2018-12-29 15:35:29 -04:00
Marcel Robitaille
fffe55ecd9 Add option to symlink only child files 2018-12-29 15:24:02 -04:00
deadc0de6
86aa261d05 generic os separator 2018-12-29 18:20:51 +01:00
Marcel Robitaille
ff5e55c477 Fix bug with linking to broken symlink
This adjustment fixes the exception thrown when `link()` is called with the destination being a broken symlink and having a trailing `/`. `os.path.lexists(dst)` (called [here](0dd9dea1ff/dotdrop/installer.py (L85))) only returns true for broken symlinks without the trailing `/`.
2018-12-29 10:36:29 -04:00
deadc0de6
d9b4a6bbd5 bump version 2018-12-27 16:10:05 +01:00
deadc0de6
b8786a3fa8 fix pivot strip home 2018-12-27 15:51:31 +01:00
deadc0de6
cf96584f7b add more debugs 2018-12-27 15:40:06 +01:00
deadc0de6
a268811ceb comments 2018-12-27 15:39:49 +01:00
deadc0de6
7e42ccbee5 fix bug when importing with the -l flag 2018-12-27 15:31:00 +01:00
deadc0de6
84ffdb6a86 fix duplicate key bug and add more verbosity 2018-12-27 15:20:32 +01:00
deadc0de6
90d60798c0 dump config file with verbose flag 2018-12-27 11:04:19 +01:00
deadc0de6
8feb417ff6 allow relative workdir and fix lstrip for home 2018-12-27 09:32:08 +01:00
raochsinai
7b9c0b6378 enable relative path when update dotfiles. 2018-12-12 15:48:18 +08:00
deadc0de6
3c2c493f0e bump version 2018-12-06 18:14:01 +01:00
deadc0de6
c96597f2cb add link for trans error 2018-12-06 13:49:45 +01:00
deadc0de6
37db5cd68c - add ability to use "write transformation"
- only allow a single transformation per dotfile
- refactoring and bug fixes
2018-12-06 13:19:57 +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
513a7eff94 bump version 2018-11-16 09:20:13 +01:00
deadc0de6
4d0a1a798a adding dynamic/interpreted template variables 2018-11-15 23:25:42 +01:00
deadc0de6
3af31cc5f2 remove unused import 2018-11-15 23:05:37 +01:00
deadc0de6
1543762a5b add ability to not deploy empty template 2018-11-15 19:34:49 +01:00
deadc0de6
ba31a9ad93 cleaning 2018-11-15 18:45:48 +01:00
deadc0de6
4415d2f81d adding command to list dotfiles details (#65) 2018-11-15 18:27:07 +01:00
deadc0de6
29f6e89bf5 adding decorator 2018-11-15 16:04:45 +01:00
belugame
f43ebf9278 Print OS error message when link failed
Be more verbose by printing OSError exception message
2018-11-11 15:13:37 +01:00
deadc0de6
5f76d0a9c0 bump version 2018-10-23 08:08:12 +02:00
deadc0de6
f795f200aa fix update directory for #63 2018-10-23 08:05:44 +02:00
deadc0de6
89d01b36b5 bump version 2018-10-08 22:05:11 +02:00
deadc0de6
2b901d5608 adding ability to update by key or on all keys of a specific profile 2018-10-08 21:36:12 +02:00
deadc0de6
b71cbefa10 refactor usage 2018-10-08 18:17:08 +02:00
deadc0de6
f6db3d3866 refactoring 2018-10-08 18:13:13 +02:00
deadc0de6
c0cb08c226 fix update usage (adding profile switch) 2018-10-08 18:03:39 +02:00
deadc0de6
35fc17d2a7 correctly handle showdiff with templates 2018-10-08 16:10:43 +02:00
deadc0de6
0bb8fe71c6 bump version 2018-09-29 16:19:32 +02:00
deadc0de6
a3cb1f9428 clean temporary directory used for comparing 2018-09-29 16:15:44 +02:00
deadc0de6
b089463337 rename --files to --file and refactor usage option for compare 2018-09-29 16:12:07 +02:00
deadc0de6
a375876438 add option to show diff before asking to overwrite 2018-09-29 16:04:03 +02:00
deadc0de6
c2c8186c22 bump version 2018-09-28 14:10:34 +02:00
deadc0de6
8aabf57204 improve error check on external commands 2018-09-28 14:08:33 +02:00