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.pull/158/head
parent
2f4cc0d9cb
commit
7a19cd219a
@ -1,4 +1,4 @@ |
||||
[submodule "lib/pyyaml"] |
||||
path = lib/pyyaml |
||||
url = https://github.com/anishathalye/pyyaml |
||||
url = https://github.com/yaml/pyyaml |
||||
ignore = dirty |
||||
|
@ -1 +1 @@ |
||||
Subproject commit f30c956c11aa6b5e7827fe5840cc9ed40b938d17 |
||||
Subproject commit 7e026bfee9cc0bddeb1bbca0c4a0bcd826c2bfdf |
@ -0,0 +1,29 @@ |
||||
test_description='install shim works' |
||||
. '../test-lib.bash' |
||||
|
||||
test_expect_success 'setup' ' |
||||
cd ${DOTFILES} |
||||
git init |
||||
if ${USE_VAGRANT}; then |
||||
git submodule add /dotbot dotbot |
||||
else |
||||
git submodule add ${BASEDIR} dotbot |
||||
fi |
||||
cp ./dotbot/tools/git-submodule/install . |
||||
echo "pear" > ${DOTFILES}/foo |
||||
' |
||||
|
||||
test_expect_success 'run' ' |
||||
cat > ${DOTFILES}/install.conf.yaml <<EOF |
||||
- link: |
||||
~/.foo: foo |
||||
EOF |
||||
if ! ${USE_VAGRANT}; then |
||||
sed -i "" "1 s/sh$/python/" ${DOTFILES}/dotbot/bin/dotbot |
||||
fi |
||||
${DOTFILES}/install |
||||
' |
||||
|
||||
test_expect_success 'test' ' |
||||
grep "pear" ~/.foo |
||||
' |
Loading…
Reference in new issue