summaryrefslogtreecommitdiff
path: root/test/tests
Commit message (Collapse)AuthorAge
* Fix handling of base directoryAnish Athalye2018-05-24
| | | | | | | | Prior to this patch, Dotbot was relying on running with the base directory being the current working directory. In practice, it was relying on the install shim to set up this context. It makes more sense sense to actually execute `chdir()` within Dotbot itself, rather than relying on the install shim to do so.
* Fix tests on Travis CIAnish Athalye2018-04-13
| | | | | | The tests were failing due to the '~/bin' directory already existing on the machine. This patch changes the tests to use the directory name 'foo'.
* Add tests for globbingAnish Athalye2018-04-13
|
* Fix bug in test harnessAnish Athalye2018-03-27
| | | | | | | | | | | | Because 'bin/dotbot' is a hybrid sh/Python script that finds the appropriate Python binary and then runs, the test code should not invoke it as an sh script when sh does not source the pyenv initialization script. The fix implemented in this patch is to directly run 'bin/dotbot' as a Python script using 'python', which when called from bash, will run with the correct Python version (because bash is set up to source the pyenv initialization script).
* Fix bug with shell defaultsAnish Athalye2017-06-27
|
* Make launcher find python binaryAnish Athalye2017-04-19
|
* Number repeated names for easier identificationAnish Athalye2017-04-18
|
* Add force option to clean plugindein0s2017-03-26
|
* Allow empty link sourcesCasey Rodarmor2016-11-23
| | | | | If the source for a link is null, use the basename of the destination with a single leading '.' removed, if present.
* Make force only delete files when target existsAnish Athalye2016-11-17
|
* Fix user expansion in link sourceAnish Athalye2016-08-17
| | | | | | | | | | | | | | | | | | | | 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.
* Fix variable expansion in extended syntaxAnish Athalye2016-08-02
|
* Fix linking when using both relink and relativeAnish Athalye2016-04-07
| | | | | | | | | | | | | | | | | | | | 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.
* Add default optionsAnish Athalye2016-03-03
| | | | | This feature was implemented with feedback from Aleks Kamko <aykamko@gmail.com> and Casey Rodarmor <casey@rodarmor.com>.
* Add functionality to create relative linksAnish Athalye2016-02-14
| | | | | | | 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.
* Add documentation and tests for pluginsAnish Athalye2016-02-06
|
* Use standard library JSON parser for JSON filesAnish Athalye2016-01-13
| | | | | | This patch reverts the changes to the README made in 57265f78b4e4f6ca67393f55b2b08f6f45a02ff1 and makes it so that Dotbot supports JSON files with tab characters.
* Add environment variable expansion in link pathsAnish Athalye2015-05-12
| | | | This feature was proposed by Brian Knobbs <brian@redlattice.com>.
* Add testing framework and testsAnish Athalye2015-05-05