1
0
Fork 0
mirror of synced 2024-12-21 13:41:07 -05:00
Commit graph

174 commits

Author SHA1 Message Date
ronalabraham
017c70b5b0
Change target to source for consistency with docs 2019-06-04 15:20:00 -04:00
ronalabraham
c97472bc27
Fix path parameter's docs for linking feature 2019-06-04 14:42:21 -04:00
Anish Athalye
b062aeaf15 Simplify README
This patch removes JSON examples from the README.
2019-02-06 09:30:49 -05:00
Anish Athalye
cd04d886fe Update dates 2019-01-09 20:46:21 -05:00
Anish Athalye
fa33cda9e6 Add Python 3.7 to Travis CI tests 2019-01-09 20:45:31 -05:00
Anish Athalye
5d74f29001 Release 1.15.0 2018-11-21 19:52:03 -05:00
Anish Athalye
5e2d40939e Merge branch 'thtliife/suppress-shell-cmd' 2018-11-21 19:50:46 -05:00
Anish Athalye
dc05786693 Add test 2018-11-21 19:50:32 -05:00
Vito Giarrusso
3bda18ed9c Add quiet option to shell plugin 2018-11-21 19:50:32 -05:00
Anish Athalye
8558a5dca0 Release 1.14.1 2018-11-19 20:39:19 -05:00
Anish Athalye
b35462ab95 Merge branch 'qubidt/default-link-conditional' 2018-11-19 20:38:59 -05:00
Anish Athalye
1be9f7532b Add test 2018-11-19 20:38:29 -05:00
Bao Trinh
7add866215
Support defining default conditional option for links 2018-11-17 15:00:18 -06:00
Anish Athalye
e35b0794fd Release 1.14.0 2018-10-16 20:52:09 -04:00
Anish Athalye
1b17e8e613 Merge branch 'linkif' 2018-10-16 20:50:59 -04:00
Anish Athalye
b0ce63904c Add test for conditional linking 2018-10-16 20:22:50 -04:00
Ben Klein
a9cf9fffe4 Implement conditional linking 2018-10-16 20:22:40 -04:00
Anish Athalye
b442b9bdce Merge branch 'phallstrom/option-no-color' 2018-10-08 21:02:41 -07:00
Philip Hallstrom
a22d980cdf Add option --no-color to suppress colorization of output
By default, if output is a TTY, dotbot will colorize the output. This
patch adds the option to pass `--no-color` to dotbot to have it suppress
this colorization.
2018-10-06 16:08:26 -07:00
Anish Athalye
f197ededb1 Merge branch 'dsifford/fix-clean' 2018-08-06 20:56:11 -04:00
Anish Athalye
9332cde5ad Add test for environment variable expansion 2018-08-06 20:53:17 -04:00
Derek P Sifford
cf55ca5188 Fix clean path expansion to expand env vars 2018-08-06 20:41:42 -04:00
Anish Athalye
f95cbe2705 Release 1.12.4 2018-06-18 09:30:11 -04:00
Anish Athalye
9d967ad7e8 Include built-in plugins in PyPI distribution 2018-06-11 21:14:10 -04:00
Anish Athalye
f7a8bf10ba Fix script
It is only legal to `return` from a function or sourced script. The
right builtin to use here is `exit`.
2018-06-07 13:04:19 -04:00
Anish Athalye
e72e3b47a0 Make install script less noisy
Before this patch, the `git submodule sync` line would always print to
stdout.
2018-06-05 11:42:16 -04:00
Anish Athalye
a22838db76 Release 1.12.3 2018-06-03 15:46:52 -04:00
Anish Athalye
4ab58f6d16 Merge branch 'fix-pypi' 2018-06-03 15:46:33 -04:00
Anish Athalye
7b23188602 Fix missing packages in PyPI distribution 2018-06-01 23:08:12 -04:00
Anish Athalye
49b29da8e7 Release 1.12.2 2018-06-01 08:00:50 -04:00
Anish Athalye
1dc80c77a7 Add setup_requires
Both setuptools and wheel need to be at some minimum version to be able
to upload Markdown READMEs.
2018-06-01 07:57:23 -04:00
Anish Athalye
02923042a8 Merge branch 'pypi' 2018-06-01 07:42:12 -04:00
Anish Athalye
30caaf2780 Add PyPI package
This patch also makes the '-d' argument optional, with the base
directory defaulting to the directory of the configuration file.
2018-05-30 10:23:53 -04:00
Anish Athalye
8afca63f65 Update dates 2018-05-30 09:37:36 -04:00
Anish Athalye
b5ab016986 Merge branches 'yaml' and 'basedir' 2018-05-29 21:50:08 -04:00
Anish Athalye
7a19cd219a Point PyYAML dependency to official repository
Previously, PyYAML was hosted on BitBucket, so we had a mirror of the
repo on GitHub. Now, official hosting has moved to GitHub, so we can
point to the official repository instead. Thanks to Marco A. Feliu
<marco.feliu@nianet.org> for pointing this out.

This patch also updates the install shim to update submodule URLs. To
preserve the functionality of earlier Dotbot versions, we will need to
maintain 'https://github.com/anishathalye/pyyaml'. Because old versions
of the install shim used with new Dotbot versions will not update
submodule URLs, we will need to keep the old repository in sync with the
upstream repository as we upgrade PyYAML versions.

This patch also upgrades the dependency to PyYAML 3.12.
2018-05-24 19:07:11 -04:00
Anish Athalye
c3f271481a Fix handling of base directory
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.
2018-05-24 12:57:49 -04:00
Anish Athalye
2f4cc0d9cb Merge branch 'glob' 2018-04-13 08:49:09 -04:00
Anish Athalye
972e80f188 Fix tests on Travis CI
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'.
2018-04-13 08:49:02 -04:00
Anish Athalye
ee480d931b Fix bug 2018-04-13 08:49:02 -04:00
Anish Athalye
8d08e4b1ad Add tests for globbing 2018-04-13 08:49:02 -04:00
Anish Athalye
7d069b4ac8 Rename 'use_glob' to 'glob' 2018-04-13 08:49:02 -04:00
Ben Klein
7ebb601a10 Add use_globs to readme 2018-04-13 08:49:02 -04:00
Ben Klein
564d16fcd5 Allow force and relink on glob items 2018-04-13 08:49:02 -04:00
Ben Klein
dece710399 Implement globbing support 2018-04-13 08:49:02 -04:00
Anish Athalye
a517c4c5d0 Fix bug in test harness
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).
2018-03-27 21:50:31 -04:00
Anish Athalye
b7022f4abb Speed up Vagrant tests
This patch removes the snapshot/rollback system for the tests and
replaces it with a simple cleanup script that removes the appropriate
files from the VM's $HOME before every test. A side benefit is that
there is no more dependency on the Sahara plugin.

The cleanup script may not provide as good isolation between independent
tests as the previous setup, but it is orders of magnitude faster to run
without a VM rollback for every single test, and it does not break any
of the current tests.
2018-03-27 20:56:55 -04:00
Anish Athalye
9ff1db1672 Change default Python version in tests to 3.6.4 2018-03-27 18:16:55 -04:00
Anish Athalye
04fb8adbd9 Add instructions for installing test env on macOS 2018-03-27 17:42:42 -04:00
Anish Athalye
f8f46960f4 Merge branch 'nagromc/tests-instructions' 2018-03-27 17:41:14 -04:00