summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-03 18:31:49 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-03 18:31:49 (GMT)
commit6cd3079ce8072203a71f9dc8d3f0b578f9ad063c (patch)
treee1459137f8ada2365abec5899722461364280b3a
parent75da91ab952ad770c2d1fe9a96aa630a4d02738e (diff)
downloadCMake-6cd3079ce8072203a71f9dc8d3f0b578f9ad063c.zip
CMake-6cd3079ce8072203a71f9dc8d3f0b578f9ad063c.tar.gz
CMake-6cd3079ce8072203a71f9dc8d3f0b578f9ad063c.tar.bz2
SetupForDevelopment: Drop cmake.org remote repo configuration
We no longer push directly to cmake.org repositories. Changes now go through https://gitlab.kitware.com/cmake/cmake for integration.
-rw-r--r--Utilities/GitSetup/config9
-rwxr-xr-xUtilities/SetupForDevelopment.sh5
2 files changed, 2 insertions, 12 deletions
diff --git a/Utilities/GitSetup/config b/Utilities/GitSetup/config
index d69a679..2b4f037 100644
--- a/Utilities/GitSetup/config
+++ b/Utilities/GitSetup/config
@@ -1,9 +1,2 @@
[hooks]
- url = https://cmake.org/cmake.git
-[ssh]
- host = cmake.org
- key = id_git_cmake
- request-url = https://www.kitware.com/Admin/SendPassword.cgi
-[stage]
- url = git://cmake.org/stage/cmake.git
- pushurl = git@cmake.org:stage/cmake.git
+ url = https://gitlab.kitware.com/utils/gitsetup.git
diff --git a/Utilities/SetupForDevelopment.sh b/Utilities/SetupForDevelopment.sh
index 39152bc..ff64a84 100755
--- a/Utilities/SetupForDevelopment.sh
+++ b/Utilities/SetupForDevelopment.sh
@@ -3,9 +3,6 @@
cd "${BASH_SOURCE%/*}/.." &&
Utilities/GitSetup/setup-user && echo &&
Utilities/GitSetup/setup-hooks && echo &&
-Utilities/GitSetup/setup-stage && echo &&
-(Utilities/GitSetup/setup-ssh ||
- echo 'Failed to setup SSH. Run this again to retry.') && echo &&
Utilities/GitSetup/tips
# Rebase master by default
@@ -13,5 +10,5 @@ git config rebase.stat true
git config branch.master.rebase true
# Record the version of this setup so Git/pre-commit can check it.
-SetupForDevelopment_VERSION=1
+SetupForDevelopment_VERSION=2
git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION}