-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> 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.
- Loading branch information
1 parent
2f4cc0d
commit 7a19cd2
Showing
7 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "lib/pyyaml"] | ||
path = lib/pyyaml | ||
url = https://github.com/anishathalye/pyyaml | ||
url = https://github.com/yaml/pyyaml | ||
ignore = dirty |
Submodule pyyaml
updated
19 files
+0 −10 | .hgtags | |
+1 −1 | README | |
+11 −20 | announcement.msg | |
+11 −11 | ext/_yaml.pxd | |
+2 −2 | ext/_yaml.pyx | |
+1 −1 | lib/yaml/__init__.py | |
+3 −1 | lib/yaml/representer.py | |
+4 −1 | lib/yaml/resolver.py | |
+2 −6 | lib/yaml/scanner.py | |
+1 −1 | lib3/yaml/__init__.py | |
+15 −2 | lib3/yaml/representer.py | |
+4 −1 | lib3/yaml/resolver.py | |
+2 −6 | lib3/yaml/scanner.py | |
+34 −38 | setup.py | |
+0 −1 | tests/data/invalid-python-name-module-2.loader-error | |
+1 −1 | tests/lib/test_all.py | |
+3 −1 | tests/lib/test_appliance.py | |
+1 −1 | tests/lib3/test_all.py | |
+3 −1 | tests/lib3/test_appliance.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters