diff options
author | Till Maas <opensource@till.name> | 2017-08-04 12:56:27 +0200 |
---|---|---|
committer | Sitaram Chamarty <sitaram@atc.tcs.com> | 2017-08-04 17:34:24 +0530 |
commit | 0b0d5f3bdd1e310eb2cb1cc667b1677e00b9b85c (patch) | |
tree | 2dc2cdac5446281f68a321e6493ee64cbd6ce805 | |
parent | v3.6.7 (diff) | |
download | gitolite-gentoo-0b0d5f3bdd1e310eb2cb1cc667b1677e00b9b85c.tar.gz gitolite-gentoo-0b0d5f3bdd1e310eb2cb1cc667b1677e00b9b85c.tar.bz2 gitolite-gentoo-0b0d5f3bdd1e310eb2cb1cc667b1677e00b9b85c.zip |
Use https:// instead of insecure git:// protocol
Signed-off-by: Till Maas <opensource@till.name>
(with minor whitespace changes by sitaramc@gmail.com)
-rw-r--r-- | README.markdown | 2 | ||||
-rwxr-xr-x | contrib/utils/gitolite-local | 2 | ||||
-rwxr-xr-x | contrib/utils/testconf | 2 | ||||
-rwxr-xr-x | install | 2 | ||||
-rwxr-xr-x | src/triggers/upstream | 8 | ||||
-rwxr-xr-x | t/smart-http.root-setup | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/README.markdown b/README.markdown index 411b0bb..d821a1d 100644 --- a/README.markdown +++ b/README.markdown @@ -65,7 +65,7 @@ First, prepare the ssh key: Next, install gitolite by running these commands: - git clone git://github.com/sitaramc/gitolite + git clone https://github.com/sitaramc/gitolite mkdir -p $HOME/bin gitolite/install -to $HOME/bin diff --git a/contrib/utils/gitolite-local b/contrib/utils/gitolite-local index 5faf0c7..903b868 100755 --- a/contrib/utils/gitolite-local +++ b/contrib/utils/gitolite-local @@ -3,7 +3,7 @@ # ---------------------------------------------------------------------- # change these lines to suit testconf=$HOME/GITOLITE-TESTCONF -gitolite_url=git://github.com/sitaramc/gitolite +gitolite_url=https://github.com/sitaramc/gitolite # change it to something local for frequent use # gitolite_url=file:///tmp/gitolite.git diff --git a/contrib/utils/testconf b/contrib/utils/testconf index fda7e79..5fa9194 100755 --- a/contrib/utils/testconf +++ b/contrib/utils/testconf @@ -19,7 +19,7 @@ # a semi-permanent area to play in (please delete it manually if you want to start afresh). testconf=$HOME/GITOLITE-TESTCONF # the gitolite source code - gitolite_url=git://github.com/sitaramc/gitolite + gitolite_url=https://github.com/sitaramc/gitolite # 3. go to your gitolite-admin clone and make suitable changes; see example # below. No need to push to the server, yet. @@ -36,7 +36,7 @@ Usage (from gitolite clone directory): Simplest use, if $HOME/bin exists and is in $PATH, is: - git clone git://github.com/sitaramc/gitolite + git clone https://github.com/sitaramc/gitolite gitolite/install -ln # now run setup diff --git a/src/triggers/upstream b/src/triggers/upstream index c64e2f2..611e11e 100755 --- a/src/triggers/upstream +++ b/src/triggers/upstream @@ -32,7 +32,7 @@ git fetch -q "$url" '+refs/*:refs/*' # R = @all # RW+ my-company/ = @developers # -# option upstream.url = git://git.kernel.org/pub/scm/git/git.git +# option upstream.url = https://git.kernel.org/pub/scm/git/git.git # option upstream.nice = 120 # # * to force a fetch on the server shell (or via cron), run this command: @@ -55,9 +55,9 @@ git fetch -q "$url" '+refs/*:refs/*' # repo github/CREATOR/..* # C = @all # R = @all -# option upstream.url = git://github.com/%GL_REPO.git -# option upstream.nice = 120 -# config url.git://github.com/.insteadOf = git://github.com/github/ +# option upstream.url = https://github.com/%GL_REPO.git +# option upstream.nice = 120 +# config url.https://github.com/.insteadOf = https://github.com/github/ # # Now you can make local, read-only, clones of all your github repos with # diff --git a/t/smart-http.root-setup b/t/smart-http.root-setup index 7a46dda..f22dcb5 100755 --- a/t/smart-http.root-setup +++ b/t/smart-http.root-setup @@ -51,7 +51,7 @@ export GITOLITE_HTTP_HOME=$PWD/gitolite-home cd gitolite-home git clone /tmp/gitolite.git gitolite-source # NOTE: I use a bare repo in /tmp for convenience; you'd use -# 'git://github.com/sitaramc/gitolite' +# 'https://github.com/sitaramc/gitolite' # make the bin directory, and add it to PATH cd gitolite-source |