summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2018-05-24 10:30:24 -0400
committerAnish Athalye <me@anishathalye.com>2018-05-24 19:07:11 -0400
commit7a19cd219abcea59880f65512264e81c182832ce (patch)
tree1769211b98003cd2ccd0fb7075f96fe84c4e2a4b /tools
parent2f4cc0d9cb70235e7c5820dc4e7dd89b1d375fb5 (diff)
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.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git-submodule/install1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/git-submodule/install b/tools/git-submodule/install
index b1baa33..f11b48b 100755
--- a/tools/git-submodule/install
+++ b/tools/git-submodule/install
@@ -9,6 +9,7 @@ DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
+git -C "${DOTBOT_DIR}" submodule sync --recursive
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"