summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Olsson <andreas@arrakis.se>2017-10-03 21:16:25 +0200
committerToshio Kuratomi <a.badger@gmail.com>2017-10-03 12:16:25 -0700
commitba0b91b51b942f8504995317914e6441a824a62c (patch)
treedad42f101f0488cfa01096da928578f96e7d59fd
parent2d70dc7f21e88ab9049479bc08c7e559aa10753f (diff)
downloadansible-ba0b91b51b942f8504995317914e6441a824a62c.tar.gz
Remove git:// urls from docsite and from packaging (#30459)
It's almost always preferable to clone by way of https:// rather than using the bare git:// protocol. Not only does https:// provide stronger guarantees it also plays nicer with corporate proxies, etc.
-rw-r--r--docs/docsite/rst/intro_adhoc.rst2
-rw-r--r--docs/docsite/rst/intro_installation.rst6
-rw-r--r--packaging/arch/PKGBUILD2
-rw-r--r--packaging/debian/README.md4
4 files changed, 7 insertions, 7 deletions
diff --git a/docs/docsite/rst/intro_adhoc.rst b/docs/docsite/rst/intro_adhoc.rst
index 9c6e0ded4d..1b500623a4 100644
--- a/docs/docsite/rst/intro_adhoc.rst
+++ b/docs/docsite/rst/intro_adhoc.rst
@@ -193,7 +193,7 @@ Deploying From Source Control
Deploy your webapp straight from git::
- $ ansible webservers -m git -a "repo=git://foo.example.org/repo.git dest=/srv/myapp version=HEAD"
+ $ ansible webservers -m git -a "repo=https://foo.example.org/repo.git dest=/srv/myapp version=HEAD"
Since Ansible modules can notify change handlers it is possible to
tell Ansible to run specific tasks when the code is updated, such as
diff --git a/docs/docsite/rst/intro_installation.rst b/docs/docsite/rst/intro_installation.rst
index 9584ed6e09..15deed88e7 100644
--- a/docs/docsite/rst/intro_installation.rst
+++ b/docs/docsite/rst/intro_installation.rst
@@ -124,7 +124,7 @@ You can also build an RPM yourself. From the root of a checkout or tarball, use
.. code-block:: bash
- $ git clone git://github.com/ansible/ansible.git
+ $ git clone https://github.com/ansible/ansible.git
$ cd ./ansible
$ make rpm
$ sudo rpm -Uvh ./rpm-build/ansible-*.noarch.rpm
@@ -263,7 +263,7 @@ Then install Ansible with [1]_::
Or if you are looking for the latest development version::
- pip install git+git://github.com/ansible/ansible.git@devel
+ pip install git+https://github.com/ansible/ansible.git@devel
If you are installing on OS X Mavericks, you may encounter some noise from your compiler. A workaround is to do the following::
@@ -305,7 +305,7 @@ To install from source, clone the Ansible git repository:
.. code-block:: bash
- $ git clone git://github.com/ansible/ansible.git --recursive
+ $ git clone https://github.com/ansible/ansible.git --recursive
$ cd ./ansible
Once git has cloned the Ansible repository, setup the Ansible environment:
diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD
index 9f90775d04..c8314b6119 100644
--- a/packaging/arch/PKGBUILD
+++ b/packaging/arch/PKGBUILD
@@ -24,7 +24,7 @@ optdepends=('python2-pyasn1: needed for accelerated mode'
conflicts=('ansible')
provides=('ansible')
backup=('etc/ansible/ansible.cfg')
-source=($pkgname::git://github.com/ansible/ansible.git)
+source=($pkgname::git+https://github.com/ansible/ansible.git)
md5sums=('SKIP')
pkgver() {
diff --git a/packaging/debian/README.md b/packaging/debian/README.md
index cf2a689fc7..6e735fb3c5 100644
--- a/packaging/debian/README.md
+++ b/packaging/debian/README.md
@@ -7,7 +7,7 @@ __Note__: You must run this target as root or set `PBUILDER_BIN='sudo pbuilder'`
```
apt-get install asciidoc cdbs debootstrap devscripts make pbuilder python-setuptools
-git clone git://github.com/ansible/ansible.git
+git clone https://github.com/ansible/ansible.git
cd ansible
git submodule update --init
DEB_DIST='xenial trusty precise' make deb
@@ -16,7 +16,7 @@ DEB_DIST='xenial trusty precise' make deb
Building in Docker:
```
-git clone git://github.com/ansible/ansible.git
+git clone https://github.com/ansible/ansible.git
cd ansible
git submodule update --init
docker build -t ansible-deb-builder -f packaging/debian/Dockerfile .