From 9ce39e6333865f3460a047983d763ace797bcff8 Mon Sep 17 00:00:00 2001 From: Albert Paul Date: Mon, 21 Mar 2022 10:59:31 +0100 Subject: [PATCH] Remove git protocol (#2199) * Fix outdated Github url git:// is deprecated from Github starting from Jan. 11th, 2022. * Update git protocols --- docs/source/installation.rst | 9 ++++----- docs/source/installation/linux.rst | 2 +- docs/source/installation/osx.rst | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 6be736d3..8dc42360 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -66,7 +66,7 @@ development version .. code-block:: sh - pip install --user git+git://github.com/powerline/powerline + pip install --user git+https://github.com/powerline/powerline may be used. If powerline was already checked out into some directory @@ -85,10 +85,9 @@ will have to be done (:file:`~/.local/bin` should be replaced with some path present in ``$PATH``). .. note:: - If ISP blocks git protocol for some reason github also provides ``ssh`` - (``git+ssh://git@github.com/powerline/powerline``) and ``https`` - (``git+https://github.com/powerline/powerline``) protocols. ``git`` protocol - should be the fastest, but least secure one though. + We can use either ``https``(``git+ssh://git@github.com/powerline/powerline``) + or ``https``(``git+https://github.com/powerline/powerline``) protocols. + ``git`` protocol is deprecated by Github. Fonts installation ================== diff --git a/docs/source/installation/linux.rst b/docs/source/installation/linux.rst index 95b6636e..e134707c 100644 --- a/docs/source/installation/linux.rst +++ b/docs/source/installation/linux.rst @@ -29,7 +29,7 @@ should be followed: .. code-block:: sh - pip install --user git+git://github.com/powerline/powerline + pip install --user git+https://github.com/powerline/powerline will get the latest development version. diff --git a/docs/source/installation/osx.rst b/docs/source/installation/osx.rst index d625407b..1d6fafc3 100644 --- a/docs/source/installation/osx.rst +++ b/docs/source/installation/osx.rst @@ -34,7 +34,7 @@ Python package .. code-block:: sh - pip install --user git+git://github.com/powerline/powerline + pip install --user git+https://github.com/powerline/powerline will get latest development version.