Marcel Robitaille
7b5ea5917d
Forbid setting both link and link_children
2019-01-29 17:19:43 -04:00
Marcel Robitaille
881071ff45
Update where args parsed to conform to upstream
2019-01-28 18:44:28 -04:00
Marcel Robitaille
5aa7ac5878
Merge upstream
2019-01-28 18:30:23 -04:00
deadc0de6
004fcf4007
fix bug in key update
2019-01-28 20:16:17 +01:00
deadc0de6
d60ec61237
ensuire the link flag is set from the start
2019-01-27 21:35:11 +01:00
Marcel Robitaille
96870ac297
Save LinkType enum in opts
2019-01-27 12:58:20 -04:00
Marcel Robitaille
f8802ea1ac
Invert link with --link flag ( #80 )
2019-01-26 20:25:08 -04:00
Marcel Robitaille
a4ebc180b6
Merge branch 'master' of https://github.com/deadc0de6/dotdrop into feature_link_children
2019-01-25 16:27:24 -04:00
Marcel Robitaille
2be573ab99
Add debug logs
2019-01-25 16:27:18 -04:00
Marcel Robitaille
eac9509c75
install() to return single dotfile not flat list
2019-01-25 16:27:02 -04:00
deadc0de6
46e659a138
pep8 fix
2019-01-24 15:39:00 +01:00
deadc0de6
c8bfeb2fa3
do not execute actions when installing to temp
2019-01-24 14:19:59 +01:00
Marcel Robitaille
83bd88a02f
Merge upstream
2019-01-20 16:16:12 -04:00
Marcel Robitaille
6d8afa484c
Add unit tests
2019-01-20 16:03:15 -04:00
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