Morgan Courbet
8c781ae3a3
Add missing step for test requirements
2017-06-12 21:57:01 +02:00
Morgan Courbet
c6407984d8
Change test/README.md to suit @anishathalye's recommendations
2017-06-11 21:21:18 +02:00
Morgan Courbet
4efc74d572
Add 'virtualbox' as test dependency on Debian
2017-06-01 20:18:09 +02:00
Morgan Courbet
9c617d4c6d
Add instructions for installing test env on Debian
2017-05-31 22:19:57 +02:00
Anish Athalye
0b01d56d81
Merge branch '4U6U57/patch-1'
2017-04-19 14:10:08 -04:00
August Valera
e2948b1a34
Fix README link to list of users after wiki reorg
...
wiki:List-of-Dotbot-Users -> wiki:Users
2017-04-19 10:59:30 -07:00
Anish Athalye
096035dd98
Add note
2017-04-19 08:46:45 -04:00
Anish Athalye
53eb3851d1
Make launcher find python binary
2017-04-19 08:40:15 -04:00
Anish Athalye
32aa475903
Number repeated names for easier identification
2017-04-18 22:50:28 -04:00
Anish Athalye
c29ba8d722
Add documentation on force option for clean plugin
2017-03-26 11:50:57 -04:00
Anish Athalye
bf2a9330da
Merge branch 'dein0s/feature/clean_plugin_add...'
2017-03-26 11:50:41 -04:00
Anish Athalye
190c800272
Fix tests for Travis CI
...
This patch makes it so the `travis_cleanup` function removes broken
symlinks properly.
2017-03-26 11:50:01 -04:00
dein0s
a2a9e1fb91
Add force option to clean plugin
2017-03-26 11:19:26 -04:00
Anish Athalye
ef558f85d9
Update dates
2017-03-06 15:20:35 -05:00
Anish Athalye
2abfa7fd91
Add tests for more Python versions
2017-03-06 15:20:27 -05:00
Anish Athalye
847cb101d4
Merge branch 'casey/empty-source'
2016-11-23 14:13:00 -05:00
Casey Rodarmor
d2e20c77db
Allow empty link sources
...
If the source for a link is null, use the basename of the destination
with a single leading '.' removed, if present.
2016-11-23 14:11:45 -05:00
Anish Athalye
4468fff67a
Merge branch 'ael-code/skip_nonexisting'
2016-11-19 10:27:21 -06:00
ael-code
58c8b98277
Fix error reporting in link plugin
2016-11-19 10:27:13 -06:00
Anish Athalye
295f8e3160
Merge branch 'casey/tilde-warning'
2016-11-18 23:28:22 -06:00
Casey Rodarmor
54346fa942
Mention in readme that ~ is null in YAML
...
This is a weird YAML gotcha, and it seems worth mentioning in the readme
since Dotbot users are likely to run into it.
2016-11-18 23:27:54 -06:00
Anish Athalye
b482cbda58
Make force only delete files when target exists
2016-11-17 14:12:22 -05:00
Anish Athalye
913d5484ca
Merge branch 'bixel/master'
2016-11-17 13:50:32 -05:00
Kevin Heinicke
7593d8c134
Use current $SHELL for shell plugin
2016-11-17 13:50:12 -05:00
Anish Athalye
28959a3f31
Fix user expansion in link source
...
Previous to this patch, having a config like the following would not
work properly:
- link:
~/a: ~/b
This was because the '~' was expanded on the left hand side (the link
target), but not the right hand side (the link source). It was necessary
to use a workaround like this:
- link:
~/a: $HOME/b
This was because variable expansion was being done, but user expansion
was not being done.
This commit adds support for using '~' in the link source.
2016-08-17 18:27:47 -07:00
Anish Athalye
f04b94d4ae
Add info about initializing repo during setup
...
This change was suggested by Brian Jacobowski
<bjacobowski.dev@gmail.com>.
2016-08-15 17:44:30 -07:00
Anish Athalye
a836261d02
Fix variable expansion in extended syntax
2016-08-02 10:15:27 -07:00
Anish Athalye
0618bc70cc
Change inspiration link to point to wiki
2016-04-10 02:17:21 -04:00
Anish Athalye
191559601a
Fix linking when using both relink and relative
...
Prior to this patch, the following config led to incorrect behavior:
- link:
~/.folder/file:
path: file
create: true
relative: true
relink: true
Prior to the change, running the config the first time would result in
expected behavior. However, running the config for the second time would
result in deletion and re-creation of the link (even when the link is
correct).
This patch improves the interaction of relink and relative, taking
relative paths into account when checking the validity of existing links
in the `_delete()` method.
2016-04-07 14:45:46 -04:00
Anish Athalye
3d9b3ae2a8
Fix link
2016-03-26 09:16:41 -04:00
Anish Athalye
1374416362
Add link to wiki
2016-03-20 08:34:29 -04:00
Anish Athalye
56aeffa387
Switch to Debian for testing in Vagrant
2016-03-05 02:07:01 -05:00
Anish Athalye
f52bbd1eec
Add default options
...
This feature was implemented with feedback from Aleks Kamko
<aykamko@gmail.com> and Casey Rodarmor <casey@rodarmor.com>.
2016-03-03 09:42:50 -05:00
Anish Athalye
daf8d82e02
Add functionality to create relative links
...
This commit adds an option to the extended configuration syntax for
linking files and directories. Enabling the relative option makes it so
that symbolic links are created with relative paths instead of absolute
paths.
2016-02-14 23:06:52 -05:00
Anish Athalye
c402396c58
Add documentation and tests for plugins
2016-02-06 15:23:39 -05:00
Anish Athalye
aaf093b124
Merge branch 'casey/directive-plugins'
2016-02-06 15:17:47 -05:00
Casey Rodarmor
eeb4c284fb
Add plugin loader
2016-02-06 15:14:35 -05:00
Anish Athalye
ba9e9cbe70
Update dates
2016-01-31 08:03:06 -05:00
Anish Athalye
38666c8937
Merge branch 'bchretien/master'
2016-01-18 04:16:04 -05:00
Benjamin Chrétien
c536f5fa3f
Travis: use container-based infrastructure
2016-01-18 13:14:58 +09:00
Benjamin Chrétien
9670a7b6fa
Travis: add guard to test_travis
2016-01-18 13:14:56 +09:00
Anish Athalye
80c2d83855
Move Travis CI test script
2016-01-16 16:43:58 -05:00
Anish Athalye
2e64388b20
Merge branch 'bchretien/topic/travis-ci'
2016-01-16 15:43:47 -05:00
Benjamin Chrétien
07a26a843e
Add Travis CI support
...
The test suite has been slightly modified to allow running tests without
Vagrant on Travis.
2016-01-16 17:34:52 +09:00
Anish Athalye
582edd6bd3
Fix compatibility with Python 3
...
This patch removes a stray print statement that was causing problems
with Python 3.
2016-01-15 01:21:16 -05:00
Anish Athalye
47ad7f4d3b
Use file extension to select config file parser
...
This patch makes Dotbot provide better error messages when parsing JSON
files.
2016-01-13 13:46:41 -05:00
Anish Athalye
c48d16cbce
Use standard library JSON parser for JSON files
...
This patch reverts the changes to the README made in
57265f78b4
and makes it so that Dotbot
supports JSON files with tab characters.
2016-01-13 11:29:12 -05:00
Anish Athalye
9250bef422
Add hook showing usage to README
2016-01-11 14:02:16 -05:00
Anish Athalye
57265f78b4
Add note to README about JSON parsing
...
Casey Rodarmor <casey@rodarmor.com> pointed out that Dotbot parses JSON
files as YAML. The YAML format doesn't allow tab characters, which are
normally allowed in JSON. This patch adds a note about this to the
README.
2016-01-11 13:36:16 -05:00
Anish Athalye
5babc8f562
Add ability to test with specific Python versions
2015-10-22 22:08:35 -04:00